Skip to content

Instantly share code, notes, and snippets.

View nirix's full-sized avatar
🚜
Terraforming cloud environments for large scale projects

Jack Polgar nirix

🚜
Terraforming cloud environments for large scale projects
View GitHub Profile
@nirix
nirix / install-polybar-ex.sh
Last active February 8, 2018 02:14 — forked from nathanchere/install-polybar-ex.sh
Build Polybar on Fedora-ish systems
#!/usr/bin/env bash
# Builds Polybar on Fedora-based systems
# Tested on Fedora 25, Fedora 26 and Korora 25, untested on others
# To get started:
#
# wget -O- https://gist.githubusercontent.com/nathanchere/22491daf4f917b100a35e5c284a5fec5/raw/install-polybar-ex.sh | bash
sudo dnf install -y cmake @development-tools gcc-c++ i3-ipc jsoncpp-devel alsa-lib-devel pulseaudio-libs-devel wireless-tools-devel libmpdclient-devel libcurl-devel cairo-devel xcb-proto xcb-util-devel xcb-util-wm-devel xcb-util-image-devel xcb-util-xrm xcb-util-xrm-devel
@nirix
nirix / gpg-agent.conf
Created January 30, 2018 01:04 — forked from nl5887/gpg-agent.conf
Using GPG Agent on OS-X
launchctl unload -w -S Aqua /System/Library/LaunchAgents/gpg.agent.daemon.plist
launchctl load -w -S Aqua /System/Library/LaunchAgents/gpg.agent.daemon.plist
@nirix
nirix / reclaimWindows10.ps1
Created July 12, 2016 02:15 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Forked from http://pastebin.com/gQxCUkLP
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE
# This script will reboot your machine when completed.
##########
# Ask for elevated permissions if required
@nirix
nirix / wat.theme.bash
Created April 6, 2013 03:35
bash-it theme
#!/usr/bin/env bash
GIT_THEME_PROMPT_DIRTY=" ${bold_red}✗"
#GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓"
GIT_THEME_PROMPT_CLEAN="${reset_color}"
GIT_THEME_PROMPT_PREFIX=" ${bold_green}[${bold_blue}git${bold_green}:"
GIT_THEME_PROMPT_SUFFIX="${bold_green}]"
function prompt_command() {
PS1="${bold_red}\u@\H ${reset_color}${cyan}\w${reset_color}$(scm_prompt_info)${reset_color}
#!/usr/bin/env bash
set -e
minimum=2000
medium=4500
maximum=6200
value=$minimum
@nirix
nirix / .profile
Created July 28, 2012 07:43
Things I need to do and install on a fresh OS install
export PATH=/brew/bin:$PATH
@nirix
nirix / bm.rb
Created April 25, 2012 22:53
ERB vs Erubis
require 'erb'
require 'erubis'
require 'benchmark'
@hey = "Herro prease"
@lols = [
'12', '34', '56', '78', '90',
'ab', 'cd', 'ef', 'gh', 'ij',
'kl', 'mn', 'op', 'qr', 'st',
'uv', 'wx', 'yz',
@nirix
nirix / TODO.md
Last active March 2, 2023 16:56
Stuff to do after Arch Linux install
  1. Install Xfce
    1. Install gvfs (for trash)
    2. Add exec startxfce4 to ~/.xinitrc
    3. Set it up like our old friend, GNOME 2
    4. Install networkmanager and network-manager-applet
    5. Install the Bluebird theme
    6. Install the elementary icons
    7. Get the Arch logo and use it as the Applications menu icon
  2. Install Chromium
  3. Clone dotfiles repo and "install"
@nirix
nirix / ses.rb
Created January 24, 2012 22:41
Hack for sending Emails using Amazon SES without having to depend on Mail.
require 'httparty'
require 'hmac-sha2'
require 'base64'
require 'cgi'
module Amazon
module SES
OPTIONS = {
:access_key => '...',
:secret_key => '...'
@nirix
nirix / commands.md
Created January 7, 2012 13:44
Mac OS Stuff

Apache

  • Start: sudo httpd
  • Stop: sudo killall httpd