List moved
Please use https://github.com/bf4/learning to fork and pull changes.
| INCOGNITO=false | |
| LOW_BANDWIDTH=true | |
| PLAY_SOUND="/your/mp3.mp3" | |
| SHOW_ONLY_SERIES="sonyps5c,sonyps5de,xboxss,xboxsx" | |
| STORES="target,walmart,xbox,amazon,antonline,bestbuy,playstation" |
| echo 'hello world' > /dev/udp/0.0.0.0/3000 |
| # Builds a ZLib framework for the iPhone and the iPhone Simulator. | |
| # Creates a set of universal libraries that can be used on an iPhone and in the | |
| # iPhone simulator. Then creates a pseudo-framework to make using libz in Xcode | |
| # less painful. | |
| # | |
| # To configure the script, define: | |
| # IPHONE_SDKVERSION: iPhone SDK version (e.g. 8.1) | |
| # | |
| # Then go get the source tar.bz of the libz you want to build, shove it in the | |
| # same directory as this script, and run "./libz.sh". Grab a cuppa. And voila. |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.util.Objects; |
| extension String { | |
| func md5() -> String! { | |
| let str = self.cStringUsingEncoding(NSUTF8StringEncoding) | |
| let strLen = CUnsignedInt(self.lengthOfBytesUsingEncoding(NSUTF8StringEncoding)) | |
| let digestLen = Int(CC_MD5_DIGEST_LENGTH) | |
| let result = UnsafeMutablePointer<CUnsignedChar>.alloc(digestLen) | |
| CC_MD5(str!, strLen, result) | |
| var hash = NSMutableString() |
| sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
| Application Specific Information: | |
| ProductBuildVersion: 4H127 | |
| ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-3084/Framework/Connections/Interface/IBConnectionPopUpMenu.m:388 | |
| Details: Need a menu. | |
| Function: NSMenuItem *IBPopUpConnectionMenuWithMenuItems(NSArray *, NSMenuItem *, NSEvent *, NSRect, BOOL, NSSet *, CGFloat, NSWindow *, NSColor *, NSColor *, NSColor *, NSColor *, id<IBConnectionPopUpMenuDelegate>) | |
| Thread: <NSThread: 0x40030a1e0>{name = (null), num = 1} | |
| Hints: None | |
| Backtrace: | |
| 0 0x000000010c77b249 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:messageFormat:arguments:] (in IDEKit) | |
| 1 0x000000010ba2ec65 _DVTAssertionHandler (in DVTFoundation) |
| // Paste this into one of the *.js files in the NeuNode project | |
| var net = require('net'); | |
| var client = net.connect({port: 1337, host:'10.24.11.168'}, function() { //'connect' listener | |
| console.log("Client connected"); | |
| }); | |
| client.on('data', function(data) { | |
| console.log(data.toString()); | |
| }); | |
| client.on('end', function() { |
List moved
Please use https://github.com/bf4/learning to fork and pull changes.
| # Tell system when Xcode utilities live: | |
| sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
| # Set "opendiff" as the default mergetool globally: | |
| git config --global merge.tool opendiff |