Skip to content

Instantly share code, notes, and snippets.

View kevinbowen777's full-sized avatar
🏠
Working from home

Kevin Bowen kevinbowen777

🏠
Working from home
View GitHub Profile
@DamienCassou
DamienCassou / update-emacs-ppa.sh
Last active February 20, 2016 21:26
Emacs-snapshot and emacs24 build script for Ubuntu PPA
#! /usr/bin/env bash
# Author: Damien Cassou
#
# This is the script I use to build Emacs packages for Ubuntu. These
# packages are uploaded to
# https://launchpad.net/~cassou/+archive/emacs/. Each package is
# either build from a Debian package or from
# http://emacs.naquadah.org/.
@pablox-cl
pablox-cl / gtk.css
Created August 19, 2012 19:54
Xfce-dusk theme fix
@define-color fg_active #dadada;
@define-color fg_insensitive #151515;
@define-color fg_normal #ffffff;
@define-color fg_prelight #fcfcfc;
@define-color fg_selected #fcfcfc;
@define-color bg_active #151515;
@define-color bg_insensitive #303030;
@define-color bg_normal #232323;
" vimrc file for following the coding standards specified in PEP 7 & 8.
"
" To use this file, source it in your own personal .vimrc file (``source
" <filename>``) or, if you don't have a .vimrc file, you can just symlink to it
" (``ln -s <this file> ~/.vimrc``). All options are protected by autocmds
" (read below for an explanation of the command) so blind sourcing of this file
" is safe and will not affect your settings for non-Python or non-C files.
"
"
" All setting are protected by 'au' ('autocmd') statements. Only files ending
@datagrok
datagrok / vendoring.md
Last active November 3, 2023 17:37
"Vendoring" is a vile anti-pattern

"Vendoring" is a vile anti-pattern

What is "vendoring"?

From a comment on StackOverflow:

Vendoring is the moving of all 3rd party items such as plugins, gems and even rails into the /vendor directory. This is one method for ensuring that all files are deployed to the production server the same as the dev environment.

The activity described above, on its own, is fine. It merely describes the deployment location for various resources in an application.

@Whitexp
Whitexp / facebok ip list
Last active May 19, 2024 06:47
facebook ip list
31.13.24.0/21
31.13.64.0/19
31.13.64.0/24
31.13.69.0/24
31.13.70.0/24
31.13.71.0/24
31.13.72.0/24
31.13.73.0/24
31.13.75.0/24
31.13.76.0/24
@kra3
kra3 / eq.preset
Created March 26, 2014 12:11
Audacious presets: ~/.config/audacious/eq.preset
[Presets]
Preset0=Classical
Preset1=Club
Preset2=Dance
Preset3=Flat
Preset4=Live
Preset5=Laptop Speakers/Headphone
Preset6=Rock
Preset7=Pop
@josephabrahams
josephabrahams / lfs-trusty-install.sh
Last active March 9, 2023 12:15
Linux From Scratch Ubuntu 14.04 Host System Requirements Install Script
#!/usr/bin/env bash
# Install missing Linux From Scratch Host System Requirements for Ubuntu 14.04
if [ ! $(whoami) == "root" ]; then
echo "Please run as root!"
exit 1
fi
# symlink sh to bash
ln -fsv /bin/bash /bin/sh
@kennwhite
kennwhite / vpn_psk_bingo.md
Last active February 24, 2024 12:19
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'design.ui'
#
# Created: Wed May 27 16:39:17 2015
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
@nathanbw
nathanbw / LFS 7.7 Ubuntu 14.04 Notes.md
Last active April 19, 2018 08:20
LFS 7.7 Ubuntu 14.04 build notes

Building Linux From Scratch 7.7 (stable)

This document follows my journey into building Linux From Scratch 7.7, following the excellent Linux From Scratch book.

About the Author

I am Nathan Wallace, a Software Engineer who works for Pardot, a Salesforce company. None of the content of this document represents the opinion of my employer; this is a project I am undertaking on my own time for my own education. Salesforce is a great place to work, and aside from saying that, this document has nothing to do with Salesforce or Pardot. :-)

My experience with Linux started in 2002, when I first discovered Linux shortly after my family moved into the 21st century by subscribing to broadband internet service at our home in Oxford, Alabama. By 2004, I had downloaded and tried more than 30 different distributions, seeking to learn as much as I could about the system and how each distro was different.

I went to Auburn University, graduating with a B.S.