Example reference-style link.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var legalDrivingAge = 18; | |
var canIDrive = function (myAge) { | |
if (myAge >= legalDrivingAge) | |
return true;} | |
else{return false;} | |
canIDrive (18) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var yourName = ""; | |
var gender = "MALE"; | |
var result; | |
//Line 10 starts an if statement | |
//Nested in this if statement is an if else statement on lines 11 - 15 | |
//This nested if else statement allows us to check another condition | |
//We close the first if statement at the start of line 16 | |
if (yourName.length > 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS GIST SHOULD BE FILLED WITH BEES. | |
__ __ __ __ __ | |
/ \ / \ / \ / \ / \ | |
/ B \__/ \__/ \__/ B \__/ \ | |
\ / \ B / \ B / \ B / \ / | |
\__/ \__/ \__/ \__/ \B_/ | |
/ \ / \ / \ B / \ B / \ | |
/ \__/ \__/ B \__/ \__/ B \ | |
\ / \ B / \ / \ / \ / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# mkv2m4v inputfile.mkv | |
# | |
# Given an MKV container with H.264 video and AC3 audio, converts | |
# quickly to an iPad-compatible MP4 container without re-encoding the | |
# video (so it must already be in an iPad-compatible resolution); the | |
# audio is downmixed to stereo with Dynamic Range Compression. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
require 'uri' | |
require 'time' | |
class Time | |
def self.gcalschema(tzid) # We may not be handling Time Zones in the best way... | |
tzid =~ /(\d\d\d\d)(\d\d)(\d\d)T(\d\d)(\d\d)(\d\d)Z/ ? # yyyymmddThhmmss | |
# Strange, sometimes it's 4 hours ahead, sometimes 4 hours behind. Need to figure out the timezone piece of ical. | |
# Time.xmlschema("#{$1}-#{$2}-#{$3}T#{$4}:#{$5}:#{$6}") - 4*60*60 : | |
Time.xmlschema("#{$1}-#{$2}-#{$3}T#{$4}:#{$5}:#{$6}") : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TextView | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:text="@string/main_title" /> | |
<Button | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:text="@string/continue_label" /> | |
<Button | |
android:layout_width="fill_parent" |
here is the full compile log: http://gist.github.com/266605
the relevant part is:
check/crc32_x86.S:96:suffix or operands invalid for 'push'
check/crc32_x86.S:97:suffix or operands invalid for 'push'
check/crc32_x86.S:98:suffix or operands invalid for 'push'
check/crc32_x86.S:99:suffix or operands invalid for 'push'
check/crc32_x86.S:265:suffix or operands invalid for 'pop'
check/crc32_x86.S:266:suffix or operands invalid for 'pop'
NewerOlder