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
| --- | |
| - name: Install docker | |
| hosts: all | |
| sudo: yes | |
| tasks: | |
| - name: add docker apt key | |
| apt_key: > | |
| id=2C52609D | |
| url=https://apt.dockerproject.org/gpg | |
| state=present |
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
| ``` | |
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _________ | |
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ./ It’s a trap! \ | |
| . . . . . . . . . . . . . . . . _,,,--~~~~~~~~--,_ . . . .\ ._________/ | |
| . . . . . . . . . . . . . . ,-‘ : : : :::: :::: :: : : : : :º ‘-, . . \/. . . . . . . . . . | |
| . . . . . . . . . . . . .,-‘ :: : : :::: :::: :::: :::: : : :o : ‘-, . . . . . . . . . . | |
| . . . . . . . . . . . ,-‘ :: ::: :: : : :: :::: :::: :: : : : : :O ‘-, . . . . . . . . . | |
| . . . . . . . . . .,-‘ : :: :: :: :: :: : : : : : , : : :º :::: :::: ::’; . . . . . . . . | |
| . . . . . . . . .,-‘ / / : :: :: :: :: : : :::: :::-, ;; ;; ;; ;; ;; ;; ;\ . . . . . . . . | |
| . . . . . . . . /,-‘,’ :: : : : : : : : : :: :: :: : ‘-, ;; ;; ;; ;; ;; ;;| . . . . . . . |
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
| #!/usr/bin/env python | |
| # Quick and dirty demonstration of CVE-2014-0160 by | |
| # Jared Stafford (jspenguin@jspenguin.org) | |
| # Modified so that it finds cookies | |
| import sys | |
| import struct | |
| import socket | |
| import time | |
| import select |
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
| javascript:(function(){if(document.__hasHiddenVideo==undefined){document.__hasHiddenVideo=false;}if(!document.__hasHiddenVideo){document.__hasHiddenVideo=true;console.log("hiding video");$("%23playback").slideUp();}else{document.__hasHiddenVideo=false;console.log("showing video");$("%23playback").slideDown();}})(); |
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 html5_audio(){ | |
| var a = document.createElement('audio'); | |
| return !!(a.canPlayType && a.canPlayType('audio/mpeg;').replace(/no/, '')); | |
| } | |
| var play_html5_audio = false; | |
| if(html5_audio()) play_html5_audio = true; | |
| function play_sound(url){ | |
| if(play_html5_audio){ |
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
| var engine = require("node-core-audio").createNewAudioEngine(); | |
| engine.addAudioCallback( function(inputBuffer) { | |
| var outputBuffer = inputBuffer; | |
| for( var iSample=0; iSample<outputBuffer[0].length; ++iSample ) { | |
| outputBuffer[0][iSample] = iSample / outputBuffer[0].length; | |
| } | |
| return outputBuffer; |
NewerOlder