Skip to content

Instantly share code, notes, and snippets.

View thesofakillers's full-sized avatar
🤔
💡

Giulio Starace thesofakillers

🤔
💡
View GitHub Profile
@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork git@github...my-fork.git
@nlothian
nlothian / Penn Treebank II Tags.md
Last active June 11, 2024 19:06
Penn Treebank II Tags
@kennwhite
kennwhite / vpn_psk_bingo.md
Last active February 24, 2024 12:19
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

@taylorpaul
taylorpaul / README.md
Last active November 20, 2023 10:27
Tensorboard on SLURM

Environment:

Tensorflow: v0.11.0rc2 OS: CENTOS 6.8 (No root access)

Description:

  1. The tensorboardSLURM.sh can be run with the following command to start a tensorboard server on a SLURM cluster:
sbatch --array=0-0 tensorboardSLURM.sh 
@alx
alx / openai-gpt2-detector.user.js
Last active April 10, 2023 19:06
Paragraph of text reports the GPT-2 log prob of that text
// ==UserScript==
// @name OpenAI GPT-2 Detector
// @namespace https://www.jolibrain.com/demo/openai-gpt2-detector-userscript
// @description Paragraph of text reports the GPT-2 log prob of that text
// @author Alexandre Girard <alex.girard@jolibrain.com>
// @version 1.2
// @grant none
// @include https://en.wikipedia.org/wiki/*
// ==/UserScript==