I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
This file contains hidden or 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 | |
| export NGINX_VERSION="1.31.3" | |
| export PCRE2_VERSION="10.47" | |
| export OPENSSL_VERSION="4.0.1" | |
| export SPNEGO_VERSION="1.1.3" | |
| export GEOIP2_VERSION="3.4" | |
| export VERSION_NGINX="nginx-${NGINX_VERSION}" | |
| export VERSION_PCRE2="pcre2-${PCRE2_VERSION}" | |
| export VERSION_OPENSSL="openssl-${OPENSSL_VERSION}" |
This file contains hidden or 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 | |
| repository=github.com | |
| if [ -z "$GOPATH" ] ; then | |
| echo '$GOPATH not set.' | |
| exit 1 | |
| fi | |
| cd $GOPATH |
This file contains hidden or 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
| // Functions from Go's strings package usable as template actions | |
| // with text/template. | |
| // | |
| // This approach assumes you have some context type as a receiver, | |
| // but if you just need the functions check out the FuncMap variant | |
| // below. | |
| // | |
| // Commented functions are not deemed useful in template actions. | |
| // Haven't actually used this, but this is one possible way of doing it. | |
| // Another option is to fill a FuncMap with most of the strings package. |
This file contains hidden or 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
| { | |
| "Name": "Elvis", | |
| "Location": "Memphis" | |
| } |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>firstLineMatch</key> | |
| <string>^Format:\s*(?i:complete)\s*$</string> | |
| <key>foldingStartMarker</key> | |
| <string>(?x) | |
| (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?> | |
| |<!--(?!.*-->) |
This file contains hidden or 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
| My name is {{.Name}} and I'm {{.Age}} years old!! |
This file contains hidden or 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
| -- TextExpander snippet to add recipient's name to email | |
| -- based on http://macsparky.com/blog/2015/6/automatically-add-recipients-name-to-email-with-textexapnder [sic] | |
| -- updated to handle hyphenated first names properly | |
| -- ( Original version would return Young for Young-Hee . This version returns Young-Hee. ) | |
| set theResult to "" | |
| tell application "System Events" | |
| tell process "Mail" | |
| tell text field "To:" of window 1 |
This file contains hidden or 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
| # Free Will Problem # | |
| Under this heading I mean to separate off those issues of | |
| [[Freedom]] that have to do with the *metaphysical* problem of free | |
| will and determinism. As opposed to political or theological | |
| freedom. This is also distinct from the problem of the compatibility | |
| of free will and divine foreknowledge. | |
| According to [[Peter van Inwagen]]'s proposal we should understand | |
| the "problem of free will" as (I am glossing): |
This file contains hidden or 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 | |
| # Copyright (c) 2015, James Swineson <jamesswineson@gmail.com> | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
| # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
