Skip to content

Instantly share code, notes, and snippets.

View jtokoph's full-sized avatar
:octocat:
Meow

Jason Tokoph jtokoph

:octocat:
Meow
View GitHub Profile
@jtokoph
jtokoph / primer.js
Created August 4, 2010 02:49 — forked from makinde/primer.js
primer
!function() {
var doc = document,
htm = doc.documentElement,
lct = null, // last click target
nearest = function(elm, tag) {
while (elm && elm.nodeName != tag) {
elm = elm.parentNode;
}
return elm;
};
/**
*
* Base64 encode / decode
* http://www.webtoolkit.info/
*
**/
var Base64 = {
// private property
hurricane:~ · npm -g prefix
/usr/local
hurricane:~ · which npm
/usr/local/bin/npm
hurricane:~ · npm --version
1.1.54

Keybase proof

I hereby claim:

  • I am jtokoph on github.
  • I am tokoph (https://keybase.io/tokoph) on keybase.
  • I have a public key ASDpUeFMgSV7b05yA2AxA6KHHwmLVSCD-Zq0daAm3FIHwgo

To claim this, I am signing this object:

if (key === "meta" || key === "shift" || key === "control" || key === "alt") {
key = null;
}
@jtokoph
jtokoph / tame-github-reactions.user.css
Last active March 23, 2016 22:04
Tame GitHub Reactions
@-moz-document domain("github.com") {
.comment-reactions.has-reactions .reaction-summary-item {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
.comment-reactions.has-reactions:hover .reaction-summary-item {
-webkit-filter: none;
filter: none;
}
@jtokoph
jtokoph / Settings_v0.ini
Created December 17, 2016 18:28
C:\Users\Administrator\Documents\Overwatch\Settings\Settings_v0.ini
[Cinematics.1]
ShowIntro = "0"
[GPU.5]
GPUDeviceID = "4490"
GPUName = "NVIDIA GRID K520"
GPUScaler = "13.000000"
GPUVenderID = "4318"
[Render.13]
@jtokoph
jtokoph / tensorflow101.ipynb
Created March 14, 2017 01:44 — forked from fuglede/tensorflow101.ipynb
TensorFlow 101
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jtokoph
jtokoph / 0_reuse_code.js
Created June 1, 2017 04:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jtokoph
jtokoph / CrossOver.sh
Created November 24, 2023 21:44 — forked from santaklouse/CrossOver.sh
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS