Skip to content

Instantly share code, notes, and snippets.

View jkot's full-sized avatar

Jakub Kotowski jkot

  • Prague, Czech Republic
View GitHub Profile
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" .
	}
}
@jkot
jkot / gist:8ca24f814e72e88dc51f
Created January 6, 2015 16:39
IntelliJ IDEA and Node.js, nvm, grunt, bower

Node.js installed via nvm: follow directions at https://github.com/creationix/nvm, then nvm install 0.10

Install grunt and bower globally npm install -g grunt-cli bower

Node, grunt, bower, npm executables are then in e.g. ~/.nvm/v0.10.35/bin

In IDEA go to Settings -> Languages & Frameworks -> Node.js and NPM and set "Node interpreter" to e.g. /home/jakub/.nvm/v0.10.35/bin/node