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
| forfiles /P C:\path\to\files /M *.* /S /D +"01/01/2012" /C "cmd /c if @fsize gtr 200200200 echo @path @fsize @fdate @ftime" |
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
| MacBook-Pro:~ emjayess$ crontab -l | |
| 42 08-18 * * 1-6 osascript -e "beep 5"; say -v Victoria -r 200 are you working on your most important item? | |
| // see also: multiple ways to make a mac go 'beep'... | |
| // http://stackoverflow.com/questions/3127977/how-to-make-the-hardware-beep-sound-in-mac-os-x-10-6 |
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
| public function parentFn($argVar) { | |
| $decVar = 0.00; | |
| $callback = function ($anonVar) use ($argVar, &$decVar) { | |
| $result += ($decVar * $anonVar) * ($argVar); | |
| }; | |
| return round($result, 2); | |
| } |
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
| // IMAP access must first be enabled on the account you want to check | |
| function mail_googleapps() | |
| { | |
| try { | |
| return new Zend_Mail_Storage_Imap( | |
| array( | |
| 'ssl' => 'SSL', | |
| 'host' => 'imap.gmail.com', | |
| 'port' => '993', | |
| 'user' => '________@gmail.com', // or 'user.name@apps-domain.tld' |
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
| /** | |
| * @file: unlayout.js | |
| */ | |
| jQuery(function(){ | |
| (function($,w) { | |
| var unlayout = {} | |
| , $w = $(w) | |
| , $pagehdr = $('#page-header') | |
| , $sidebar = $('#sidebar') | |
| , shrinkage = 12; // very arbitrary amount of default shrinkage |
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
| repo init -u git://android.git.kernel.org/platform/manifest.git ; repo sync ; make |
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 gimmeh_funcs(myfunc, callback) { | |
| if (myfunc && typeof myfunc === 'function') { | |
| /* myfunc is safe to use */ | |
| } | |
| if (callback && typeof callback === "function") { | |
| /* callback is safe to use */ | |
| } | |
| } |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | |
| "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Conforming XHTML 1.1 Template</title> | |
| </head> |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Conforming XHTML 1.0 Frameset Template with accessibility</title> | |
| </head> |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Conforming XHTML 1.0 Strict Template</title> | |
| </head> |