Skip to content

Instantly share code, notes, and snippets.

Chris Sivanich csivanich

  • San Francisco, CA
Block or report user

Report or block csivanich

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@csivanich
csivanich / install-pacaur.sh
Last active Jan 26, 2016 — forked from rumpelsepp/install-pacaur.sh
A small script for arch linux which builds and installs "pacaur" automatically
View install-pacaur.sh
#!/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 / model.rb
Last active Aug 29, 2015
Math Object Model Example
View model.rb
#!/usr/bin/env ruby
# Chris Sivanich 2015
class Node
def initialize
end
def to_s
end
@csivanich
csivanich / copier.sh
Created Jun 6, 2014
Temp File Copier
View copier.sh
#!/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 / lock.sh
Last active Jan 21, 2020
i3 Blurred Lock Screen
View lock.sh
#!/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
@csivanich
csivanich / Refactoring Fat Models notes.md
Last active Aug 29, 2015
Notes on Refactoring Fat Models With Patterns (Youtube links inside)
You can’t perform that action at this time.