Skip to content

Instantly share code, notes, and snippets.

View borgel's full-sized avatar

Kerry Scharfglass borgel

View GitHub Profile
@paulo-raca
paulo-raca / AndroidManifest.xml
Last active April 13, 2022 01:02
getActiveNotifications() using NotificationListenerService
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="testapp.android.gradle.inutilfutil.com.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
@kylemanna
kylemanna / kicad-xyrs.py
Last active August 5, 2017 06:07
Tool to generate Kicad XYRS pick and place data from a board file, now lives @ https://github.com/kylemanna/kicad-utils
#!/usr/bin/env python2
#
# Generate a XYRS file
#
# Simple script, more elaborate script has a new home:
# https://github.com/kylemanna/kicad-utils
#
import pcbnew
import sys
@bluehat
bluehat / guide.markdown
Last active February 8, 2023 12:35
Privacy Guide for Activists with Haters

Privacy Guide for Activists with Haters

In light of the gamergate fiasco, we realized that most of the targeted individuals had their private information trivially publicly online. Later, several authors had more immediate experience with online harassment. This guide is meant to help people take basic steps required to protect their online privacy, hopefully reducing the number of crazies who threaten to show up at your house.

We do not believe that leaving your information online means you deserve harassment, we simply wish to arm people who want to speak up with all the defensive tools available.

This guide is not an anti-government-surveillance document, as it only helps you make your information private and does not remove it. Fighting back against surveilance is a very different problem, and there is a separate guide for that.

Hiding Your Whois Data

This one should be easy, but it is the number one privacy failure w
@trey
trey / happy_git_on_osx.md
Last active February 18, 2024 10:46
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "you@example.com"

@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000