Skip to content

Instantly share code, notes, and snippets.

View joeygrable94's full-sized avatar
🖋️
foobar

Joey Grable joeygrable94

🖋️
foobar
View GitHub Profile
@bb1950328
bb1950328 / install_python_373_on_raspbian.md
Last active July 11, 2021 20:31
Install Python 3.7.3 on Raspbian

How to install Python 3.7 on Raspbian

Reqirements

Of course, you need a Raspberry Pi with a running Raspbian. I have tested this instructions on a Raspi 1 B+ and Raspbian Stretch (Image from 2019-04-08). I think, any newer hard/software will work too.

Compiling

Because there isn't any package for Python 3.7 on armhf (=Architecture of the Raspi), we have to compile Python from sources. This takes a while, but you can leave it completely unattended.

Downloading the sources

  1. Go to https://www.python.org/downloads/source/ and take the newest Release (at the time of writing, its 3.7.3).
  2. Download it with wget:
    wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
  3. Uncompress it with tar:\
@widdowquinn
widdowquinn / kali_osx_persistence_wifi.md
Last active February 7, 2026 10:51
Kali Linux Live USB with persistence and wireless on Macbook Pro

Kali Linux Bootable USB with Persistence and Wireless on OSX

Download the appropriate Kali Linux .iso

I used a 64 bit .iso image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.

Download the SHA256SUMS and SHA256SUMS.gpg files from the same location.

@austinhyde
austinhyde / js-observables-binding.md
Last active January 7, 2025 08:27
Vanilla JavaScript Data Binding

Observables

You don't really need a framework or fancy cutting-edge JavaScript features to do two-way data binding. Let's start basic - first and foremost, you need a way to tell when data changes. Traditionally, this is done via an Observer pattern, but a full-blown implementation of that is a little clunky for nice, lightweight JavaScript. So, if native getters/setters are out, the only mechanism we have are accessors:

var n = 5;
function getN() { return n; }
function setN(newN) { n = newN; }

console.log(getN()); // 5

setN(10);

@natelandau
natelandau / .bash_profile
Last active April 1, 2026 19:35
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@gregrickaby
gregrickaby / _mixins.scss
Created September 12, 2013 22:14
The ultimate SASS - PX to REM mixin
// Create REM values with PX fall back
//
// Generate a REM with PX fallback from
// $baseFontSize. Enter the desired size based
// on pixels in numerical form. Supports shorthand.
//
// Forked from: http://codepen.io/thejameskyle/pen/JmBjc
//
// @author Greg Rickaby
// @since 1.0