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
/**************************************************************************/ | |
/*! | |
This example attempts to dump the contents of a Mifare Ultralight card | |
Note that you need the baud rate to be 115200 because we need to print | |
out the data and read from the card at the same time! | |
To enable debug message, define DEBUG in PN532/PN532_debug.h | |
Edited by Sam Decrock to read out Mifare Ultralight cards |
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
// WS2812_RFduino_Test | |
// By Thomas Olson | |
// teo20140220.01 | |
// teo20140719.01 Modified for Arduino 1.5.7 | |
// 20141022.. verified works with Arduino 1.5.8 | |
// No complicated Pixel Library needed. | |
// Tested with WS2812B 4 pin versions. | |
// Modified by Sam Decrock to resemble NeoPixel API | |
const int ws2812pin = 6; |
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
rm -rf "/Users/Shared/Library/Application Support/Adobe" | |
rm -rf "/Library/Application Support/regid.1986-12.com.adobe" | |
rm -rf "/Library/Application Support/Adobe" | |
rm -rf "/Library/Caches" | |
rm -rf "~/.adobe" | |
rm -rf "~/Library/Preferences/Adobe" | |
rm -rf "~/Library/Preferences/com.adobe.crashreporter.plist" | |
rm -rf "~/Library/Logs" | |
rm -rf "~/Library/Caches" | |
rm -rf "~/Library/Application Support/Adobe" |
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
function csv2jsonObjects (csv) { | |
var lines = csv.split('\n'); | |
var keys = []; | |
var json = []; | |
for (var i = 0; i < lines.length; i++) { | |
var line = lines[i]; | |
var parts = line.split(';'); |
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
// this one liner starts a TCP server on port 3000 and spits out all the data it receives | |
// just run `node` from the command line and past the following: | |
require('net').createServer(function(socket) { socket.on('data', function(data) { console.log(data.toString()) }); }).listen(3000); |
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
Location | |||||
---|---|---|---|---|---|
System configuration | (wpe-raspberrypi) System hostame | (change the hostname) | |||
System configuration | /bin/sh (bash) | (use bash instead of sh) | |||
Kernel | Linux Kernel Tools | gpio | |||
Target packages | Show packages that are also provided by busybox | ||||
Target packages | Audio and video applications | bluez-alsa | |||
Target packages | Development tools | git | |||
Target packages | Development tools | git-crypt | |||
Target packages | Development tools | grep | |||
Target packages | Development tools | make |
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
Operation | Location | value | |||
---|---|---|---|---|---|
ENABLE | Target packages | Filesystem and flash utilities | dosfstools | ||
ENABLE | Target packages | Filesystem and flash utilities | mtools | ||
ENABLE | Filesystem images | ext2/3/4 root filesystem | |||
SET VALUE | Filesystem images | ext2/3/4 root filesystem | ext2/3/4 variant | ext4 | |
DISABLE | Filesystem images | initial RAM filesystem linked into linux kernel | |||
ENABLE | Host utilities | genimage |
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
server { | |
listen 80; | |
server_name 104.248.213.228 koit.mydomain.com; | |
access_log /var/log/nginx/koitfm.access.log; | |
error_log /var/log/nginx/koitfm.error.log; | |
root /var/www/koitfm/; | |
location /KOITFM { | |
resolver 8.8.8.8; # may or may not be necessary. |
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
[Unit] | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=simple | |
User=samd | |
ExecStart=/usr/bin/socat tcp-listen:2022,reuseaddr,fork tcp:168.128.12.244:22 |
OlderNewer