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
Category - info | |
Domain - http://slideshare.net | |
http://www.slideshare.net/doina/happy-easter-from-holland-slideshare | |
http://www.slideshare.net/stinson/easter-1284190 | |
http://www.slideshare.net/angelspascual/easter-events | |
http://www.slideshare.net/sirrods/happy-easter-3626014 | |
http://www.slideshare.net/sirrods/happy-easter-wide-screen | |
http://www.slideshare.net/carmen_serbanescu/easter-holiday | |
http://www.slideshare.net/Lithuaniabook/easter-1255880 |
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
var stdin = process.stdin | |
, stdio = process.binding("stdio") | |
stdio.setRawMode() | |
// let the data flow. | |
// stdin is "paused" initially. | |
stdin.resume() | |
var password = "" | |
stdin.on("data", function (c) { |
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
// A Hash is an interable object | |
var Hash = module.exports = Object.create(Object.prototype, { | |
// Make for easy converting objects to hashes. | |
new: {value: function initialize(value) { | |
value.__proto__ = Hash; | |
return value; | |
}}, | |
// Implements a forEach much like the one for Array.prototype.forEach. | |
forEach: {value: function forEach(callback, thisObject) { | |
var keys = Object.keys(this), |
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
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 6) then: | |
// ie === 0 | |
// If you're in IE (>=6) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |
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
#!/usr/bin/env node | |
// requires node v0.3 | |
// telnet.js 80 google.com | |
net = require('net'); | |
a = process.argv.slice(2); | |
if (!a.length) { | |
console.error("telnet.js port [ host=localhost ]"); | |
process.exit(1); | |
} | |
s = require('net').Stream(); |
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
// | |
// main.m | |
// ProtectTest | |
// Demonstrates newer versions of iOS now support PROT_EXEC pages, for just-in-time compilation. | |
// | |
// Must be compiled with Thumb disabled | |
// | |
// Created by Stuart Carnie on 3/4/11. | |
// Copyright 2011 Manomio LLC. All rights reserved. | |
// |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> | |
<script> | |
window.onload = function(){ | |
function View(name) { | |
if (!(this instanceof View)) return new View(name); | |
var html; | |
if (~name.indexOf('<')) html = name; |
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
* | |
!*.m | |
!Makefile |
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
//[[[UIAlertView alloc] initWithTitle:@"Alert title" message:msg delegate:self //cancelButtonTitle:@"Don't remember" otherButtonTitles:@"OK" , @"remember later", nil] //autorelease];[alert show]; | |
var $ = require('./NodObjC'); | |
$.import('Foundation'); | |
$.import('UIKit'); | |
var pool = $.NSAutoreleasePool('alloc')('init'); | |
var alert = $.UIAlertView('alloc'); |
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
#/bin/bash | |
printf "Enter IP of device:" | |
read IP | |
SAVEIFS=$IFS | |
IFS=$(echo -en "\n\b") | |
FILES=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/* | |
for f in $FILES | |
do |
OlderNewer