brian wickman - @wickman
[TOC]
Pants makes the manipulation and distribution of hermetically sealed Python environments
// It is important to declare your variables. | |
(function() { | |
var foo = 'Hello, world!'; | |
print(foo); //=> Hello, world! | |
})(); | |
// Because if you don't, the become global variables. | |
(function() { |
# A stupid script that actually makes a handy system service | |
# Use it to right click files and extract their text content to the clipboard | |
# Brett Terpstra 2013, no rights reserved | |
txtcount=`file "$@"|grep -c text` | |
response=0 | |
msg="" | |
if [ $txtcount -eq $# ]; then | |
cat "$@"|pbcopy | |
if [ "$?" -ne "0" ]; then | |
msg="Error running command" |
http://www.scribd.com/doc/123614643/Grade-8-Music-Theory-Sample |
// 34567890123456789012345678901234567890123456789012345678901234567890123456789 | |
// JSHint: 22 March 2015 08:56 GMT | |
// Unit Tests: 22 March 2015 08:50 GMT | |
/* | |
* Copyright (C) 2015-2017 Andrew Roberts (andrew@roberts.net) | |
* | |
* This program is free software: you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License as published by the Free Software |
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
* AddonUtilities.gs | |
* | |
* A collection of general Google-Apps-Script utilities that are useful for | |
* development of Add-ons. | |
* | |
* From: gist.github.com/mogsdad/39db2995989110537868 | |
* | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: