Skip to content

Instantly share code, notes, and snippets.

@FWeinb
FWeinb / reset_routing_table.sh
Created November 30, 2017 20:15 — forked from midwire/reset_routing_table.sh
Reset routing table on OSX
#!/usr/bin/env bash
# Reset routing table on OSX
# display current routing table
echo "********** BEFORE ****************************************"
netstat -r
echo "**********************************************************"
for i in {0..4}; do
sudo route -n flush # several times
@FWeinb
FWeinb / ESP_Plasma.ino
Last active May 29, 2016 14:58 — forked from AdySan/ESP_Plasma.ino
ESP8266/Arduino Plasma effect demo using esp8266-oled-ssd1306 library.
#include <Arduino.h>
// Include the correct display lib
// SPI
// #include <SSD1306Spi.h>
// I2c using brzo_i2c
// #include <SSD1306Brzo.h>
// Standard Wire
#include <SSD1306.h>
@FWeinb
FWeinb / echoHttpRequest.js
Last active October 6, 2021 13:26 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
@FWeinb
FWeinb / SassMeister-input.scss
Created February 4, 2014 16:55 — forked from KittyGiraudel/SassMeister-input.scss
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
@import "compass";
// Private function for custom stops
// ------------------------------------------------------------
// @param $colors: list of color + associated stop