.mixin (...) { // matches 0-N arguments
.mixin () { // matches exactly 0 arguments
.mixin (@a: 1) { // matches 0-1 arguments
.mixin (@a: 1, ...) { // matches 0-N arguments
.mixin (@a, ...) { // matches 1-N arguments
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
| #!/usr/bin/env php | |
| <?php | |
| /* | |
| * This file is part of Composer. | |
| * | |
| * (c) Nils Adermann <naderman@naderman.de> | |
| * Jordi Boggiano <j.boggiano@seld.be> | |
| * | |
| * For the full copyright and license information, please view the LICENSE |
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
| (function(d) { | |
| var dl = d.createElement('a'); | |
| dl.innerText = 'Download MP3'; | |
| dl.href = "http://media.soundcloud.com/stream/"+d.querySelector('#main-content-inner img[class=waveform]').src.match(/\.com\/(.+)\_/)[1]; | |
| dl.download = d.querySelector('em').innerText+".mp3"; | |
| d.querySelector('.primary').appendChild(dl); | |
| dl.style.marginLeft = '10px'; | |
| dl.style.color = 'red'; | |
| dl.style.fontWeight = 700; | |
| })(document); |
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
| { "inline": | |
| { "unicode-support-in-js-today":"💩" | |
| , "unicode-support-in-js-someday":"😁" } | |
| , "surrogates": | |
| { "unicode-support-in-js-today":"\uf09f\u92a9" | |
| , "unicode-support-in-js-someday":"\uf09f\u9881" } | |
| } |
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
| WM3MBP:5.3.10 wilmoore$ pwd && ls etc{,.d} | |
| /Users/wilmoore/local/php/versions/5.3.10 | |
| etc: | |
| total 192 | |
| drwxr-xr-x 5 wilmoore staff 170B Feb 11 22:32 . | |
| drwxr-xr-x 11 wilmoore staff 374B Feb 11 20:42 .. | |
| -rw-r--r-- 1 wilmoore staff 1.5K Feb 11 20:43 pear.conf | |
| -rw-r--r-- 1 wilmoore staff 21K Feb 11 20:42 php-fpm.conf.default | |
| -rw-r--r-- 1 wilmoore staff 68K Feb 11 22:32 php.ini |
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
| # Apart from the basic niceties of being able to leave off | |
| # parens in clear calls... | |
| print 10 | |
| alert "Hello #{name}" | |
| # ... the reason why they're important to have in CoffeeScript | |
| # is because it allows our "block" syntax (single function body |
This will provide a much faster and favorable experience VS RDC over network (or worse, the internet). It also gives you free reign to do whatever else you might want to do on windows (which for me isn't much, but a nice-to-have none-the-less).
The following list of commands will get you a free (microsoft sponsored) Windows XP VM environment with IE6 installed. The password is "Password1". When you first login, you will be asked to activate the OS. Do this immediately over the internet. You will get 90 days of activation. Once this runs out, activate the snapshot called "The initial VM state" to go back in time.
% mkdir -p ~/.vm/hdds/windows/winxp-ie6/
% cd !$
% wget http://download.microsoft.com/download/B/7/2/B72085AE-0F04-4C6F-9182-BF1EE90F5273/Windows_XP_IE6.exe
% unrar e Windows_XP_IE6.exe
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
| {"expiration": "2015-01-01T00:00:00Z", | |
| "conditions": [ | |
| {"bucket": "filemanager-curl"}, | |
| ["starts-with", "$key", ""], | |
| {"acl": "public-read"}, | |
| ["starts-with", "$Content-Type", ""], | |
| ["content-length-range", 0, 1048576] | |
| ] | |
| } |
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
| Copyright (C) 2012 Mark Bennett, Paul Irish, Aicke Schulz | |
| 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: | |
| The above copyright notice and this permission notice shall be included in all |