cURL - Tutorial cURL Docs Tutorial HTTP Scripting 1.1 Background1.2 The HTTP Protocol1.3 See the Protocol1.4 See the Timing1.5 See the Response 2.1 Spec2.2 Host2.3 Port number2.4 User name and password2.5 Path part Fetch a page HTML forms 4.1 Forms explained4.2 GET4.3 POST4.4 File Upload POST4.5 Hidden Fields4.6 Figure Out What A POST Looks Like HTTP upload HTTP Authentication 6.1 Basic Authentication6.2 Other Authentication6.3 Proxy Authentication6.4 Hiding credentials More HTTP Headers 7.1 Referer7.2 User Agent Redirects 8.1 Location header8.2 Other redirects Cookies 9.1 Cookie Basics9.2 Cookie options 10.1 HTTPS is HTTP secure10.2 Certificates Custom Request Elements 11.1 Modify method and headers11.2 More on changed methods Web Login 12.1 Some login tricks Debug 13.1 Some debug tricks References 14.1 Standards14.2 Sites 1. 1.1 Background This document assumes that you're familiar with HTML and general networking. Curl is not written to do everything for you. 1.2 The HTTP Protocol The client, curl, sends a HTTP request. or 3.
BASH Programming - Introduction HOW-TO: Conditionals NextPreviousContents 6. Conditionals Conditionals let you decide whether to perform an action or not, this decision is taken by evaluating an expression. 6.1 Dry Theory Conditionals have many forms. Conditionals have other forms such as: if expression then statement1 else statement2. Yet another form of conditionals is: if expression1 then statement1 else if expression2 then statement2 else statement3. A word about syntax: The base for the 'if' constructions in bash is this: if [expression]; then code if 'expression' is true. fi 6.2 Sample: Basic conditional example if .. then #! The code to be executed if the expression within braces is true can be found after the 'then' word and before 'fi' which indicates the end of the conditionally executed code. 6.3 Sample: Basic conditional example if .. then ... else #! 6.4 Sample: Conditionals with variables #!
Open learning initiative At Harvard Extension School, free and open learning is hardly a new concept. In fact, the Extension School was founded with this mission in mind: to create an affordable way for any motivated student to take courses at Harvard. We stay true to this mission today, offering several free courses and nearly 800 for-credit courses at reasonable tuition rates. Explore our series of free or low-cost courses below. Video accessibility. Abstract Algebra In these free videotaped lectures, Professor Gross presents an array of algebraic concepts. The Ancient Greek Hero A long-time offering at Harvard College and Harvard Extension School, Gregory Nagy's popular exploration of the hero motif in classic literature is offered as a course for credit at Harvard Extension School, as a course on edX, and as a series of free video lectures. American Poetry from the Mayflower through Emerson Discover how the United States developed its own national literature with Elisa New, Powell M. Bits China Terms of Use
Bash by example, Part 2 Let's start with a brief tip on handling command-line arguments, and then look at bash's basic programming constructs. Accepting arguments In the sample program in the introductory article, we used the environment variable "$1", which referred to the first command-line argument. Similarly, you can use "$2", "$3", etc. to refer to the second and third arguments passed to your script. Here's an example: #! The example is self explanatory except for three small details. Sometimes, it's helpful to refer to all command-line arguments at once. Back to top Bash programming constructs If you've programmed in a procedural language like C, Pascal, Python, or Perl, then you're familiar with standard programming constructs like "if" statements, "for" loops, and the like. Conditional love If you've ever programmed any file-related code in C, you know that it requires a significant amount of effort to see if a particular file is newer than another. if [ -z "$myvar" ] then echo "myvar is not defined" fi #! #!
Typechart – Browse Web Type, Grab CSS. Bash Bash is the GNU Project's shell. Bash is the Bourne Again SHell. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. The improvements offered by Bash include: Command line editingUnlimited size command historyJob ControlShell Functions and AliasesIndexed arrays of unlimited sizeInteger arithmetic in any base from two to sixty-four The maintainer also has a bash page which includes Frequently-Asked-Questions. Downloading Bash Bash can be found on the main GNU ftp server: (via HTTP) and (via FTP). Documentation Documentation for Bash is available online, as is documentation for most GNU software. Mailing lists To ask for help about bash, bash programming or bash shell scripting please use the <help-bash@gnu.org> mailing list. Getting involved Development Translating Bash Maintainer Licensing
Starkers HTML5 « Nathan Staines Update: Unfortunately I'm no longer able to maintain and/or update Starkers HTML5 although you can still get a copy from GitHub and use it in its current state. Alternatively I'd suggest downloading the original Starkers recently updated by Viewport Industries or the underscores theme by Automattic. It's been roughly 2½ years since Elliot Jay Stocks first released Starkers, a completely naked Wordpress theme for designers and developers to build on. Like so many others I found Elliot's theme invaluable, and so about 7 months ago I decided to create an HTML5 version that others would be able to use. Starkers is a bare bones WordPress theme created to act as a starting point for the theme designer... With the introduction of Wordpress 3.0 I'm pleased to unveil the new version of Starkers HTML5, just like the previous version this one has been based on Elliot's Starkers, which in turn was based on the new default theme known as Twenty Ten. So what's new? Final notes
Bash by example, Part 1 Fundamental programming in the Bourne again shell (bash) Daniel RobbinsPublished on March 01, 2000 You might wonder why you ought to learn Bash programming. Well, here are a couple of compelling reasons: You're already running it If you check, you'll probably find that you are running bash right now. You're already using it Not only are you already running bash, but you're actually interacting with bash on a daily basis. Bash confusion Learning bash the wrong way can be a very confusing process. While this may be somewhat disappointing to novices, the standard bash documentation can't be all things to all people, and caters towards those already familiar with shell programming in general. That's where this series comes in. Environment variables Under bash and almost all other shells, the user can define environment variables, which are stored internally as ASCII strings. The standard way to define an environment variable under bash is: Quoting specifics dirname and basename Command substitution
70 New, Useful AJAX And JavaScript Techniques | Developer's Advertisement As the Web grows and becomes more dynamic, more and more websites have user-generated content and tools that greatly improve the user experience in terms of usability and accessibility. Interactive solutions for lightboxes, form validation, navigation, upload, auto-complete, image cropping, slideshows, tool tips, sliders and tables are being developed that use nifty JavaScript and AJAX scripts. When using these, developers have to carefully consider many subtle techniques to help users get things done. jQuery, MooTools, Prototype and script.aculo.us are used in these examples, so every taste gets its due. 1. Timeframe A click-and-drag timeframe, with a function for defining ranges. Create astonishing iCal-like calendars with jQuery Similar to the iPhone Calendar application, with event description that shows up on mouse hover. Dateslider This element enables you to pick dates with a simple slider bar. 2. 3. 4. 5. 6. noobSlide Another slider plug-in created using MooTools. 7.
Bash Reference Manual Table of Contents This text is a brief description of the features that are present in the Bash shell (version 4.4, 7 September 2016). The Bash home page is This is Edition 4.4, last updated 7 September 2016, of The GNU Bash Reference Manual, for Bash, Version 4.4. Bash contains features that appear in other popular shells, and some features that only appear in Bash. This manual is meant as a brief introduction to features found in Bash. 1 Introduction 1.1 What is Bash? Bash is the shell, or command language interpreter, for the GNU operating system. Bash is largely compatible with sh and incorporates useful features from the Korn shell ksh and the C shell csh. While the GNU operating system provides other shells, including a version of csh, Bash is the default shell. 1.2 What is a shell? At its base, a shell is simply a macro processor that executes commands. A Unix shell is both a command interpreter and a programming language. 2 Definitions blank builtin \a