Skip to content

Instantly share code, notes, and snippets.

☠️
Literally dead

Grim GrimTheReaper

☠️
Literally dead
  • Hiding in a panic room.
Block or report user

Report or block GrimTheReaper

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
@GrimTheReaper
GrimTheReaper / ssh.go
Created May 24, 2016 — forked from jordic/ssh.go
golang mysql throught a tunnel
View ssh.go
package main
// based on gist
// https://gist.github.com/ir4y/11146415
// http://stackoverflow.com/questions/21417223/simple-ssh-port-forward-in-golang
// obro conexio ssh amb el server remot.
// tot el que envio al port local ho copio al port remote
// a traves de la conexio remota. Per tant he d'obrir un
// port a la maquina remota?
@GrimTheReaper
GrimTheReaper / gist:3aa6a609d9073d04819dff27e9a4d3a7
Created Apr 11, 2017 — forked from dmitshur/gist:6927554
How to `go get` private repos using SSH key auth instead of password auth.
View gist:3aa6a609d9073d04819dff27e9a4d3a7
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
	insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
@GrimTheReaper
GrimTheReaper / main.cpp
Created Aug 31, 2017 — forked from nikotan/main.cpp
face detection sample code for OpenCV
View main.cpp
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv/ml.h>
void doMosaic(IplImage* in, int x, int y,
int width, int height, int size);
int main (int argc, char **argv)
{
int i, c;
You can’t perform that action at this time.