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
<?php | |
/** | |
* sfWidgetFormChoiceAutocomplete represents a multiple select displayed as an autocomplete input and a list of checkboxes. | |
* | |
* | |
* @package symfony | |
* @subpackage widget | |
* @author Gerald Estadieu <gestadieu@usj.edu.mo> | |
* @version | |
*/ |
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
// Console arguments testing | |
var apc = [].slice; | |
(function(){ | |
console.log( apc.call(arguments) ); | |
})( "false", 1, undefined, null, ["foo","bar","baz"], {a:1,b:2}, false ); | |
(function(){ | |
console.log.call( console, apc.call(arguments) ); |
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
<?php | |
/** | |
* ncMAilLogger send mail logs messages. | |
* | |
* @package symfony | |
* @subpackage log | |
* @author alessandro cinelli a.k.a cirpo <alessandro.cinelli@gmail.com> | |
* @version SVN: $Id: sfFileLogger.class.php 10964 2008-08-19 18:33:50Z fabien $ | |
*/ | |
class cMailLogger extends sfLogger |
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
dev: | |
mailer: | |
class: sfMailer | |
param: | |
logging: %SF_LOGGING_ENABLED% | |
charset: %SF_CHARSET% | |
delivery_strategy: realtime | |
transport: | |
class: Swift_SmtpTransport | |
param: |
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
brew update | |
brew versions FORMULA | |
cd `brew --prefix` | |
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
brew install FORMULA | |
brew switch FORMULA VERSION | |
git checkout -- Library/Formula/FORMULA.rb # reset formula | |
## Example: Using Subversion 1.6.17 | |
# |
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 script automatically `cd`s to the directory of the current document. | |
-- You can use $f to represent the file for the current document. | |
-- This is nowhere near perfect, just a quick and dirty script. | |
-- NOTE: you need to have "Enable access for assistive devices" checked... | |
-- in the Accessibility preference pane. | |
-- Example: select a file in Finder, and type: echo The filename is $f | |
on getCurrentDocument() |
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
git diff -p \ | |
| grep -E '^(diff|old mode|new mode)' \ | |
| sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' \ | |
| git apply |
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
IMPORTANT | |
Please duplicate this radar for a Safari fix! | |
This will clean up a 50-line workaround. | |
rdar://22376037 (https://openradar.appspot.com/radar?id=4965070979203072) | |
////////////////////////////////////////////////////////////////////////////// | |
(Now available as a standalone repo.) |
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
ProductID Database | |
106 GeoIP.dat | |
111 GeoIPOrg.dat | |
112/115 GeoIPRegion.dat | |
117 GeoIPASNum.dat | |
119 GeoIPUserType.dat | |
121/122 GeoIPISP.dat | |
132/133 GeoIPCity.dat | |
135 GeoIPAreaCode.dat | |
137 GeoIPDMACode.dat |
OlderNewer