Skip to content

Instantly share code, notes, and snippets.

View AKAMEDIASYSTEM's full-sized avatar

AKA AKAMEDIASYSTEM

View GitHub Profile
@pdp7
pdp7 / sources.list
Created November 11, 2015 16:29 — forked from anonymous/sources.list
BeagleBone Black: Tor exit node config
# path of this file: /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
@pdp7
pdp7 / bbb-fbtft-linux-3.8.13-prebuilt-working.txt
Last active March 1, 2016 17:00
BeagleBone Black: prebuilt fbtft framebuffer drivers with Linux 3.8.13 kernel with 1.8" & 2.2" TFT LCD displays
#########################################
### BeagleBone Black
### prebuilt fbtft framebuffer drivers with Linux 3.8.13 kernel
### working with 1.8" & 2.2" TFT LCD displays
###
### Photos: https://plus.google.com/photos/+DrewFustini/albums/6211546193314906001
#########################################
Based on:
https://github.com/notro/fbtft/wiki/BeagleBone-Black
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active December 29, 2024 07:04
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

@vik-y
vik-y / delete_all_tweets.py
Last active September 22, 2023 21:04 — forked from davej/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script is forked originally from Dave Jeffery. The original implementation
was very slow and deleted around 2 tweets per second. Making it multithreaded I
am able to delete 30-50 tweets per second.
@author: vik-y
----------------------------------------------------------------------------
This script will delete all of the tweets in the specified account.
@robinvanemden
robinvanemden / UartService.java
Created September 1, 2015 13:41
Android BLE UART Service
package io.pavlov.bleuart;
import android.app.Service;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluetooth.BluetoothGattDescriptor;
import android.bluetooth.BluetoothGattService;
@protrolium
protrolium / ffmpeg.md
Last active April 27, 2025 21:52
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@matteomattei
matteomattei / my.label
Last active March 26, 2025 19:52
Print labels with Dymo LabelWriter 450 using Python
<?xml version="1.0" encoding="utf-8"?>
<DieCutLabel Version="8.0" Units="twips">
<PaperOrientation>Portrait</PaperOrientation>
<Id>Small30332</Id>
<PaperName>30332 1 in x 1 in</PaperName>
<DrawCommands>
<RoundRectangle X="0" Y="0" Width="1440" Height="1440" Rx="180" Ry="180" />
</DrawCommands>
<ObjectInfo>
<TextObject>
@floehopper
floehopper / install.md
Last active May 2, 2025 12:52
Install rtl-sdr on Raspian on Raspberry Pi
[email protected]:~$ sudo dd bs=1m if=/Users/jamesmead/Downloads/2015-02-16-raspbian-wheezy.img of=/dev/disk2
pi@raspberrypi ~ $ sudo raspi-config
# Choose option 1 to "Expand Filesystem" - Ensures that all of the SD card storage is available to the OS
# Choose Finish & reboot

pi@raspberrypi ~ $ sudo apt-get update
@porjo
porjo / timelapse.md
Last active May 25, 2023 16:14
ffmpeg time-lapse

Convert sequence of JPEG images to MP4 video

Simple glob:

ffmpeg -r 24 -i '*.JPG' -s hd1080 -vcodec libx264 timelapse.mp4

Start from DSC_0079.JPG

ffmpeg -r 24 -f image2 -start_number 79 -i DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse2.mp4
@alexanderhiam
alexanderhiam / bbb_thermal_imager.py
Last active August 29, 2015 14:07
First whack at thermal imaging with the BeagleBone Black and AGM88xx 8x8 thermal arrays sensors
"""
bbb_thermal_imager.py
Oct. 2014
First whack at thermal imaging with the BeagleBone Black and AMG88xx 8x8
thermal arrays sensors.
Copyright (c) 2014 Alexander Hiam
Permission is hereby granted, free of charge, to any person obtaining a copy