Skip to content

Instantly share code, notes, and snippets.

View ZECTBynmo's full-sized avatar
💻
must go faster

Mike Vegeto ZECTBynmo

💻
must go faster
View GitHub Profile
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;
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){
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();}})();
#!/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
```
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _________
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ./ It’s a trap! \
. . . . . . . . . . . . . . . . _,,,--~~~~~~~~--,_ . . . .\ ._________/
. . . . . . . . . . . . . . ,-‘ : : : :::: :::: :: : : : : :º ‘-, . . \/. . . . . . . . . .
. . . . . . . . . . . . .,-‘ :: : : :::: :::: :::: :::: : : :o : ‘-, . . . . . . . . . .
. . . . . . . . . . . ,-‘ :: ::: :: : : :: :::: :::: :: : : : : :O ‘-, . . . . . . . . .
. . . . . . . . . .,-‘ : :: :: :: :: :: : : : : : , : : :º :::: :::: ::’; . . . . . . . .
. . . . . . . . .,-‘ / / : :: :: :: :: : : :::: :::-, ;; ;; ;; ;; ;; ;; ;\ . . . . . . . .
. . . . . . . . /,-‘,’ :: : : : : : : : : :: :: :: : ‘-, ;; ;; ;; ;; ;; ;;| . . . . . . .
@ZECTBynmo
ZECTBynmo / install_docker_playlist.yml
Last active October 31, 2015 20:29
Ansible playlist to install docker and set things up
---
- 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
var Util = require('util');
var Https = require('https');
var Tls = require('tls');
/**
* HTTPS Agent for node.js HTTPS requests via a proxy.
* blog.vanamco.com/connecting-via-proxy-node-js/
*/
function HttpsProxyAgent(options)
{
2/29/16 12:09:55.000 AM kernel[0]: rtsIsoWriteCompleteStatic called with status:E000400E
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion status:E00002ED mTransferedBytes:00001A00
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion Transfer aborted, giving up
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkAudioInCompletion Transfer aborted, giving up
2/29/16 12:09:55.000 AM kernel[0]: PGDevice::bulkInpEvent: STC_STREAM_BROKEN
2/29/16 12:09:55.000 AM kernel[0]: before m_pUSBDevice->ResetDevice()
2/29/16 12:09:55.476 AM coreaudiod[47278]: PtASPlugInDevice received STC_STREAM_BROKEN
2/29/16 12:09:55.000 AM kernel[0]: USBF: 661380.652 AppleUSBEHCI::DeleteIsochEP- after abort there are STILL 1 active TDs
2/29/16 12:09:55.480 AM coreaudiod[47278]: DoIO In: UNDERRUN Attempt to read 512 frames at 53828710 with 2 available (diff 510), cumul err=1
2/29/16 12:09:55.480 AM coreaudiod[47278]: DoIO in: @ 1219796 Missed 510
@ZECTBynmo
ZECTBynmo / .gitignore
Created July 6, 2017 22:13 — forked from bergie/.gitignore
Node.js email handling examples
config.json
reading-image.png

ADD

(a) Adjustments attributable to conversion from S. Corporations to C Corporations - section 481 is amended by adding at the end the following new subsection:

(a) Adjustments attributable to conversion from S corporation to C corporation

(1) In General in the case of an elligable terminated S. Corporation any increase in tax under this chapter by reason of an adjustment required by subsection (a)(2) and which is attributable to such corporations revocation described in paragraph (2)(A)(ii), shall be taken into account notably during the 6-taxable year period beginning with the (unknown)