View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).
Equivalent in AsciiDoc
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name="$inputline" | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url="$inputline" |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
<key>Roman-Accent-q</key> | |
<dict> | |
<key>Direction</key> | |
<string>right</string> | |
<key>Keycaps</key> | |
<string>q ` ^ ⌥ ⇧ ⌘ ⎋ ⏏ ⌫ ↑ ⇡ ↖ ⇞ ⇥</string> | |
<key>Strings</key> | |
<string>q ` ^ ⌥ ⇧ ⌘ ⎋ ⏏ ⌫ ↑ ⇡ ↖ ⇞ ⇥</string> | |
</dict> |
Copyright (c) 2015 Matthias Esterl | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
xquery version "1.0-ml"; | |
module namespace test = "http://github.com/robwhitby/xray/test"; | |
import module namespace isbn = "http://www.example.org/xquery/functions/isbn" at "/test/modules/isbn.xqy"; | |
import module namespace assert = "http://github.com/robwhitby/xray/assertions" at "/xray/src/assertions.xqy"; | |
declare function isbn-format-isbn13-prepared() { | |
assert:equal( | |
text { isbn:format-isbn("9781234567897") }, |
xquery version "3.0"; | |
declare function local:mapReduce( | |
$list as item()*, | |
$mapper as function(*), | |
$reducer as function(*) | |
) | |
{ | |
let $intermediate := for $l at $pos in $list return $mapper("list" || $pos,$l) | |
return |
View the [source of this content](http://github.github.com/github-flavored-markdown/sample_content.html).
# System and apps settings | |
# Use AirDrop over every interface. | |
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1 | |
# Always open everything in Finder's list view. | |
defaults write com.apple.Finder FXPreferredViewStyle Nlsv | |
# Show the ~/Library folder. | |
chflags nohidden ~/Library |
package main | |
import( | |
"log" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { |
;; This is at: https://gist.github.com/8655399 | |
;; So we want a rhyming dictionary in Clojure. Jack Rusher put up | |
;; this code here: | |
;; | |
;; https://gist.github.com/jackrusher/8640437 | |
;; | |
;; I'm going to study this code and learn as I go. | |
;; | |
;; First I put it in a namespace. |