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
<script id="kzScript" type="text/javascript"> | |
1function killzoneFlashLoaded(){var flashDiv = document.getElementById("killzoneFlash");flashDiv.style.height="100%";}function closeKillzone(){objects = document.getElementsByTagName("object");embeds=document.getElementsByTagName("embed");if(objects.length > 1){for(var i = 0; i<objects.length; i++){objects[i].style.display = "block";}}else if(objects.length == 1){objects[0].style.display="block";}if(embeds.length > 1){for(var i = 0; i<embeds.length; i++){embeds[i].style.display = "block";}}else if(embeds.length == 1){embeds[0].style.display="block";}var killzoneFlash = document.getElementById("killzoneFlash");var killzoneScript = document.getElementById("kzScript");document.body.removeChild(killzoneFlash);document.body.removeChild(killzoneScript);}function getBgPng(){return 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+sAAAH6CAYAAAB/Fd1eAAAgAElEQVR4nOydd1hUV/64SdlkN5vNZje7v91kk292s5vEDtgARRlNNKJGxQYWZKSjREERBURAxIKd2LGh9I70IlKlIxbsiCVEIBYUkCrv74+ZucxQFKMbk82c5 |
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 python | |
# Wikemail.py - import your emails into dokuwiki to create | |
# a searchable, wiki-able archive of you mail - Duncan Gough 23/10/04 | |
import getpass, imaplib, re, rfc822, commands, email, os | |
#from TaskThread import TaskThread | |
import threading | |
class ImapWiki(threading.Thread): |
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
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby | |
# - a browser with WebSocket support | |
# | |
# Usage: | |
# ruby redis_pubsub_demo.rb | |
# |
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
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby | |
# - a browser with WebSocket support | |
# | |
# Usage: | |
# ruby redis_pubsub_demo.rb | |
# |
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
npm install http://github.com/maccman/Socket.IO-node/tarball/master | |
npm info it worked if it ends with ok | |
npm info version 0.2.2 | |
npm info fetch http://github.com/maccman/Socket.IO-node/tarball/master | |
npm ERR! Error installing http://github.com/maccman/Socket.IO-node/tarball/master | |
npm ERR! Error: ENOENT, No such file or directory '/home/suttree/.node_libraries/.npm/.tmp/1285618288536-0.8118845261633396/package.json' | |
npm ERR! at node.js:757:9 | |
npm ERR! try running: 'npm help install' | |
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to <npm-@googlegroups.com> |
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
// If more than one screen is attached to the computer, run the | |
// code at the full dimensions across all of the attached screens | |
int x = 0; | |
void setup() { | |
fullScreen(P2D, SPAN); | |
background(0); | |
noStroke(); | |
fill(102); |
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
from PIL import Image | |
from stegano import lsb | |
# To store a message | |
secret = lsb.hide("./uodh.jpg", "http://tinyurl.com/5j4nng") | |
secret.save("./uodh.png") | |
# To read a message | |
clear_message = lsb.reveal("./uodh.png") | |
print(clear_message) |