Skip to content

Instantly share code, notes, and snippets.

View protrolium's full-sized avatar

Ꮹανiη Ꮐaмвoα protrolium

View GitHub Profile
@protrolium
protrolium / say -v
Last active August 29, 2015 13:56
terminal say -v arguments
Female Voices
$ say -v Agnes "hello world"
$ say -v Kathy "hello world"
$ say -v Princess "hello world"
$ say -v Vicki "hello world"
$ say -v Victoria "hello world"
Male Voices
@protrolium
protrolium / open-source-lesson.md
Last active August 29, 2015 14:21
open-source + productivity tools
@protrolium
protrolium / colorsync-filters.md
Created June 12, 2015 05:39
ColorSync Utility to shrink PDF with custom filters from Preview Quartz Filter

ColorSync Utility to shrink PDF with custom filters from Preview Quartz Filter

Create new filter in ColorSync, saved in:
/User/[username]/Library/Filters/
copy to
/Library/PDFServices

@protrolium
protrolium / deepdreamExamples.md
Created December 17, 2015 21:32
_=deepdream examples
layer_list = [
"conv1/7x7_s2",
"pool1/3x3_s2",
"pool1/norm1",
"conv2/3x3_reduce",
"conv2/3x3",
"conv2/norm2",
"pool2/3x3_s2",
"inception_3a/1x1",
@protrolium
protrolium / working with zip.md
Last active June 10, 2016 18:15
zip terminal command

zip a directory for windows by removing .DS_Store

zip -r foo.zip foo -x "*.DS_Store"

To interpret this, we are running the zip executable with the following parameters/arguments:

  • -r for recursively including all directories underneath the targets we want to zip.
  • foo.zip is the name of the zip archive we are creating
  • foo is the target directory we want to zip up
  • -x "*.DS_Store" excludes all files whose path ends in the string ".DS_Store"
@protrolium
protrolium / sibelius-keyboard-shortcuts.md
Last active August 30, 2016 21:06
Keyboad Shortcuts | Sibelius 6 | OS X 10.6.8

Command + Option + Up/Down Arrow
Jump up/down systems

Option + Shift + Left/Right Arrow
Adjust spacing of note

Tab / Tab + Shift
Tab through objects in current staff … use to toggle Dynamic markings

Shift + Left/Right Arrow to select, then Option + Shift + Up/Down Arrow

@protrolium
protrolium / bitmarkClaiming
Created April 19, 2017 04:53
Claiming of Bitmark account
Publicly linking my Bitmark account / https://registry.bitmark.com/account/aS9z7CeCiQpNRdho92xYDEk1Nxz72x9KtPdEVtH2zt9TQBe7vR/a84bf8d23ed8238162c43f9ba267332885b4bb012b31a774aeec9d083d1094f0ac439a1a9a1a03e9734b747f46c7ab586762fa25c38ae3289f59c2df4eef4b01
@protrolium
protrolium / build-caffe.md
Last active August 23, 2017 00:05 — forked from kylemcdonald/build-caffe.md
How to build Caffe for OS X.

Theory of Building Caffe on OS X

(with addendums, tangents, and other follies)

Introduction

I have followed Kyle McDonald's Theory of Building Caffe after what could be described as some careless brew updates and obliviousness to the conflicts between various versions of OS X, CUDA, CUDA drivers, CuDNN, and Caffe itself. I am replicating Kyle's steps here and adding a few more which were unique to my case and may not necessarily work for everyone. The goal is to run python -c "import caffe" without crashing.

Official Caffe OS X Installation Guide

http://caffe.berkeleyvision.org/install_osx.html

@protrolium
protrolium / add-remote.md
Last active May 7, 2018 23:51
sync forks via linking new remote to master branch

Sync forked repositories by creating remote to master branch

cd to Git

clone respository if necessary to local machine and then cd

git clone <repo-location>

The origin remote is pre-set for you by GitHub to point to your forked repo. Let's add another remote called upstream - this will be your main repo (the repo that you forked from).

@protrolium
protrolium / custom-aliases.md
Last active March 25, 2020 19:44
custom aliases

I decided that I wanted to use aliases to quickly navigate to directories.
Inside a directory I have called scripts I create each one:

nano myAlias

#!/bin/bash
# file : /scripts/myAlias
#
cd /directory/that/i/want