CCCPaste

Create and Fix a Fake 1TB FLASH Drive

#create vfat filesystem file
mkdosfs -C temp_file 1000000000

#check file size
ls -lh temp_file #fake size

function lp Print w/o file

//IDK print stuff
#include <stdlib.h>
#include <string>
#include <iostream>
#include <stdio.h>

Caeser

#include <iostream>
#include <unistd.h>
#include <stdlib.h>
#include <sstream>
#include <string>

PulseAudio Shell Control Notes

#pulseaudio Shell control Notes
#list all sinks and what they are
pactl list|grep -e "^Sink" -e "Name" -e "application"|grep "^Sink" -A1

#Example Output:

nyanlib.h

//nynalib.h
#include <stdlib.h>
#include <stdio.h>
#ifndef _STDIO_H_INCLUDED_
#ifndef _STDLIB_H_INCLUDED_

Manually recover/extract clockworkmod tar files

#Android Recovery
#Manually recover/extract clockworkmod tar files
rm /sdcard
mkdir /sdcard
mount /sdcard

GPS Distance Calculator

<!DOCTYPE html>
<html lang="en">
<head>
<title>GPS Distance Calculator</title>
<meta charset="utf-8">

Basic web notifications and service worker

<html>
<head>
<script>
var n;
navigator.serviceWorker.register('sw.js');

Chroot for cross arch ARM

#!/bin/bash
dir="debian_armel_wheezy"
ver="wheezy"

#create empty image and mount it

Comic Index Page

<!DOCTYPE html>
<html lang="en">
<head>
<title>Comics - <?php echo basename(getcwd());?></title>
<meta charset="utf-8">