Skip to content

Instantly share code, notes, and snippets.

View jkot's full-sized avatar

emptyloop jkot

  • Prague, Czech Republic
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
<title>Flappy Getaway — One-File Game</title>
<style>
:root {
color-scheme: dark;
}
http://rndness.com/blog/2018/2/4/tensorflow-with-jupyter-notebooks-using-virtualenv
https://github.com/tensorflow/tensorflow/issues/14273
https://github.com/lakshayg/tensorflow-build
@jkot
jkot / Mac OSX.md
Last active September 4, 2022 15:11

Tiling Window Manager

Rectangle

Keys

Remapping

Enter in Finder, etc. Karabiner (used to be KeyRemap4MacBook)

Key Repeat Speed

@jkot
jkot / Java.md
Last active August 29, 2015 14:19
Java

Build Classpath in Shell

#!/bin/sh 

colons() {
     IFS=':'; echo "$*" 
}

classpath() {
@jkot
jkot / linux_terminal_colors.md
Last active August 29, 2015 14:18
Terminal and Colors on Linux
alias lesc='LESS="-R" LESSOPEN="|pygmentize -g %s" less'
alias dmesgc='dmesg -Lalways'
alias catc='pygmentize -g'
@jkot
jkot / postgresql_tips.md
Last active August 7, 2023 07:56
Postgresql Tips and Tricks
@jkot
jkot / intercept_tcp.md
Created March 11, 2015 00:01
Intercept TCP traffic
@jkot
jkot / history_histogram.sh
Created March 10, 2015 23:58
history histogram
history|awk '{print $2}'|sort|uniq -c|sort -rn|head -20|awk '!max{max=$1;}{r="";i=s=60*$1/max;while(i-->0)r=r"#";printf "%15s %5d %s %s",$2,$1,r,"\n";}'
@jkot
jkot / sparql.md
Last active August 29, 2015 14:16
SPARQL
insert data {
	GRAPH <http://jakub/graph> {
		<http://id/1> <http://example.com/ont#label> "1" .
		<http://id/1> <http://example.com/ont#label> "x" .
		<http://id/2> <http://example.com/ont#label> "2" .
	}
}