Skip to content

Instantly share code, notes, and snippets.

Work work

Wojtek Siudzinski suda

Work work
Block or report user

Report or block suda

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
juanriaza /
Created Jun 11, 2019
bicimad stations
import json
import gzip
import requests
import binascii
response =
andyvanee / .ssh_config
Last active Oct 17, 2019
Fix unix_listener too long for Unix domain socket
View .ssh_config
Host *
ControlPath ~/.ssh/control/%C
ControlMaster auto
phanan / runner.js
Last active Jul 18, 2019
Record a webpage with PhantomJS and FFMpeg
View runner.js
// Run this from the commandline:
// phantomjs runner.js | ffmpeg -y -c:v png -f image2pipe -r 24 -t 10 -i - -c:v libx264 -pix_fmt yuv420p -movflags +faststart output.mp4
var page = require('webpage').create(),
address = '',
duration = 3, // duration of the video, in seconds
framerate = 24, // number of frames per second. 24 is a good value.
counter = 0,
width = 500,
height = 500;
dmiddlecamp / holiday_strip.ino
Last active Aug 29, 2015
Holiday Strip code
View holiday_strip.ino
// This #include statement was automatically added by the Spark IDE.
#include "neopixel/neopixel.h"
#define PIXEL_PIN D2
#define PIXEL_COUNT 300
#define PIXEL_TYPE WS2812B
int reds[PIXEL_COUNT];
int greens[PIXEL_COUNT];
peel / gist:ca8c5b25efbe3052fdb5
Last active Jan 26, 2019
SJ4000 WIFI Protocol
View gist:ca8c5b25efbe3052fdb5

#Base URL

File Management Panel

GET / file management panel

Configuration options

all options follow the template: /?custom=1&cmd={Command}&par={Option} Command - setting/mode of the device

frdmn /
Last active Jun 20, 2019
Install OS X 10.10 Yosemite in VirtualBox
kennwhite /
Last active May 16, 2019
OpenSSL command line recipe for multi-public key file encryption. Any single private key paired to one of the public keys can decrypt the file.
#!/usr/bin/env bash
# Example of multiple key AES encryption for text files using the openssl v. 0.9.8+ command line utility
# Uses n public certs as key for MIME PKCS envelope, any individual private key can decrypt.
# If standard RSA ssh keys exist, these can be converted to public certs as well (and ssh keys can decrypt)
# To sign (and verify) the encrypted file, one of the private keys is required, see:
# for openssl smime examples
# or for cms utility (OpenSSL v. 1.0+)
matthiasplappert / gist:9493050
Last active Aug 29, 2015
QuickLook Debugging for `UIView`
View gist:9493050
@interface UIView (MPAdditions)
@implementation UIView (MPAdditions)
- (id)debugQuickLookObject {
if (self.bounds.size.width < 0.0f || self.bounds.size.height < 0.0f) {
return nil;
ardcore / atom-events
Last active Nov 24, 2018 events
View atom-events
joegoggins / install and add gcc arm to
Last active May 21, 2019
How I installed GCC ARM on my Mac 10.9 Mac Book Pro
View install and add gcc arm to
# Download the file manually from here
# Note: `curl` command doesn't work
# I downloaded this one: "gcc-arm-none-eabi-4_7-2013q3-20130916-mac.tar.bz2"
# double click it to unzip it
# Make a place to install it to
mkdir /usr/local/gcc_arm
# Move the unzipped stuff there.
You can’t perform that action at this time.