Skip to content

Instantly share code, notes, and snippets.

fuck the new github UI

Dominika Liberda sdomi

fuck the new github UI
View GitHub Profile
View plot.awk
#!/usr/bin/awk -f
# This program is a copy of guff, a plot device.
# My copy here is written in awk instead of C, has no compelling benefit.
# Public domain. @thingskatedid
# Run as awk -v x=xyz ... or env variables for stuff?
# Assumptions: the data is evenly spaced along the x-axis
# TODO: moving average
dideler / bot.rb
Last active Aug 26, 2021
Sending a notification message to Telegram using its HTTP API via cURL
View bot.rb
# Use this script to test that your Telegram bot works.
# Install the dependency
# $ gem install telegram_bot
# Run the bot
# $ ruby bot.rb

Using the fs-net libtransistor fork

This guide assumes you are already familliar with setting up RetroArch with libtransistor.

Clone the fs-net branch from

git clone --recursive -b fs-net

Build libtransistor as usual.

mattlewissf /
Last active Sep 15, 2021
Lightning Talk: Git add -p

git add -p is your friend

git add -p is basically "git add partial (or patch)"

Patch mode allows you to stage parts of a changed file, instead of the entire file. This allows you to make concise, well-crafted commits that make for an easier to read history. This feature can improve the quality of the commits. It also makes it easy to remove parts of the changes in a file that were only there for debugging purposes - prior to the commit without having to go back to the editor.

It allows you to see the changes (delta) to the code that you are trying to add, and lets you add them (or not) separately from each other using an interactive prompt. Here's how to use it:

from the command line, either use

  • git add -p
tzermias /
Last active Aug 11, 2021
Forward traffic from wlan0 to eth0 interface

Forward traffic from a laptop's eth0 to wlan0

###To laptop

Specify an IP address to eth0 (here

sudo ifconfig eth0 netmask