Skip to content

Instantly share code, notes, and snippets.

View csivanich's full-sized avatar

Chris Sivanich csivanich

View GitHub Profile
@csivanich
csivanich / Refactoring Fat Models notes.md
Last active August 29, 2015 13:57
Notes on Refactoring Fat Models With Patterns (Youtube links inside)
@csivanich
csivanich / java_concurrency.md
Last active August 29, 2015 14:01
Java Concurrency
@csivanich
csivanich / copier.sh
Created June 6, 2014 04:36
Temp File Copier
#!/bin/bash
# Quick and dirty script to copy generated python
# scripts which get temporarily stored in /tmp
finish=0
echo "Waiting..."
while [ $finish -eq 0 ]; do
until [ ! -r /tmp/*.py ]; do
cp /tmp/*.py /tmp/*.txt -t copied
sleep .1
@csivanich
csivanich / model.rb
Last active August 29, 2015 14:24
Math Object Model Example
#!/usr/bin/env ruby
# Chris Sivanich 2015
class Node
def initialize
end
def to_s
end
@csivanich
csivanich / install-pacaur.sh
Last active January 26, 2016 19:47 — forked from rumpelsepp/install-pacaur.sh
A small script for arch linux which builds and installs "pacaur" automatically
#!/usr/bin/env bash
# The MIT License (MIT)
#
# Copyright (c) 2015 Stefan Tatschner
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@csivanich
csivanich / keybase.md
Created March 4, 2020 00:13
keybase.md

Keybase proof

I hereby claim:

  • I am csivanich on github.
  • I am csivanich (https://keybase.io/csivanich) on keybase.
  • I have a public key ASCv-Va1M9sQ4iuxcpSgw0bhh6D2FnRXmznsnz5vHgva3Qo

To claim this, I am signing this object:

@csivanich
csivanich / m.md
Last active September 30, 2022 22:45
m.py

M

  1. Put m.py in your path somewhere
  2. Add m.sh to your bashrc or similar
  3. Run with m [+-]mark
@csivanich
csivanich / windows_efi.md
Last active November 28, 2023 17:13
Fix or Move Windows 10 EFI Partition/Bootloader
@csivanich
csivanich / lock.sh
Last active March 18, 2024 11:45
i3 Blurred Lock Screen
#!/bin/bash
# i3lock blurred screen inspired by /u/patopop007 and the blog post
# http://plankenau.com/blog/post-10/gaussianlock
# Timings are on an Intel i7-2630QM @ 2.00GHz
# Dependencies:
# imagemagick
# i3lock