Skip to content

Instantly share code, notes, and snippets.

View tik0's full-sized avatar
🤖
Beep Boop!

Timo Korthals tik0

🤖
Beep Boop!
  • University Bielefeld
View GitHub Profile
@tik0
tik0 / export-chrome-bookmarks.js
Last active January 3, 2018 11:39 — forked from bgrins/export-chrome-bookmarks.js
Reminder of how to export bookmarks from Chrome as text.
/*
Export bookmarks from Chrome as text.
Go to Bookmarks Manager->Organize->Export to HTML file.
Then open that file with chrome, open console (Ctrl+Shift+J) and run this command:
*/
[].map.call(document.querySelectorAll("dt a"), function(a) {
return a.textContent + " - " + a.href
}).join("\n");
@tik0
tik0 / rsb-install-master.sh
Created January 4, 2018 12:09
RSB installing script
#!/bin/bash
echo "Installing rsb"
# Folder where the repositories are cloned into
REP_FOLDER=~/repositoriesRSB
# Spread location of "spread-src-4.4.0.tar.gz" aka "spread 3.0"
SPREAD_FOLDER=~/Downloads
# Installing location
PREFIX=/usr
# Branch of the repositories
BRANCH=0.11
@tik0
tik0 / ros_np_serialization.py
Created July 28, 2018 23:07
Test for ROS numpy serialization
from nav_msgs.msg import OccupancyGrid
import numpy as np
import StringIO
# Check for the numpy serialization for ROS
# messages w/o publisher:
# http://wiki.ros.org/rospy_tutorials/Tutorials/numpy
# This is our buffer
buff = StringIO.StringIO()
@tik0
tik0 / build_gstreamer-1.0.sh
Last active August 31, 2018 12:59
Building gstreamer 1.0 from source
#!/bin/bash
echo "You should remove your old installation if it exist (CAUTION: You might damage your system)"
echo "sudo apt-get remove gstreamer1.0* libgstreamer1.0* libgstreamer-plugins-base1.0* libgstreamer-plugins-good1.0* libgstreamer-plugins-bad1.0* libgstreamer-plugins-ugly1.0* libgstreamer1.0-0:i386 libgstreamer1.0-0* libgstreamer-plugins-good1.0-0* libgstreamer-plugins-base1.0-0* libgstreamer1.0-0*"
echo ""
echo "Install some stuff like:"
echo "apt-get install libx264-dev liborc-0.4-dev liborc-0.4-0"
# Run as sudo
if [ $EUID != 0 ]; then
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_custom_loss_split.ipynb
Last active January 10, 2019 20:37
VAE_custom_loss_split with Error if the data set is not dividable by the batch size
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_more_than_2_latent_dim.ipynb
Created January 16, 2019 08:14
VAE inspection of latent dimension
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tik0
tik0 / VAE_warmup.ipynb
Created January 16, 2019 23:46
VAE with warmup
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.