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 / just_f-ing_ping.md
Created January 13, 2024 07:30 — forked from schappim/just_f-ing_ping.md
Just F-ing Ping - Because sometimes you just want to f-ing ping!

Just F-ing Ping

Because sometimes you just want to f-ing ping!

Modern browsers, believing they are being clever, hide the protocol in the URL bar.

image

However, even if you only select the hostname, when you paste that URL into your terminal, you will encounter the following:

image

@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
@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 / 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 / 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 / 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;
}
if (key === "meta" || key === "shift" || key === "control" || key === "alt") {
key = null;
}

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:

hurricane:~ · npm -g prefix
/usr/local
hurricane:~ · which npm
/usr/local/bin/npm
hurricane:~ · npm --version
1.1.54
/**
*
* Base64 encode / decode
* http://www.webtoolkit.info/
*
**/
var Base64 = {
// private property