CCCPaste

DEC to ASCII

#!/bin/bash
#DEC to ASCII
for i in `seq 65 90`
do
printf \\$(printf "%o" $i)

Trendnet Router Serial UART Hacking

#Trendnet TEW-432BRP Router Serial UART Hacking
#https://wiki.openwrt.org/toh/trendnet/tew432brp
#Flash 2MiB
#RAM 16MiB

Upload file with cURL to Website php

<?php
//curl -X POST -F "file=@/tmp/tux.png" "http://localhost/upload.php"

$valid_file = true;
//if they DID upload a file...

Zap RF Outlet Remote Codes

Zap wireless RF outlet Remote codes
For Arduino/Raspberry pi 433mhz
ON OFF
1)87347 87356
2)87491 87500

Python progress of single file copy progressbar

#!/usr/bin/env python
import os

SOURCE_FILENAME="/tmp/2.png"
TARGET_FILENAME="/tmp/3.png"

Ocaml prelude

open List
open Printf
open String

(* ----- TUPLES ----- *)

PulseAudio Output Switcher

#!/bin/bash
#By Kris Occhipinti
#http://filmsbykris.com
#License: GPlv3
#switches all current programs using Pulseaudio

Arduino LED 8 digit Display 8 segment serial control

#include "LedControl.h"
String inString = "";
int pos = 0;
// Arduino Pin 7 to DIN, 6 to Clk, 5 to LOAD, no.of devices is 1
LedControl lc = LedControl(7, 6, 5, 1);

Binwalk notes

#Extract all files
binwalk --dd='.*' <file>

#Extract files and label png files with .png extension
binwalk --dd='png:png' <file>

Unsichtbares Zeichen

ᅟ