Skip to content

Instantly share code, notes, and snippets.

View EndruK's full-sized avatar

André Karge EndruK

View GitHub Profile
@EndruK
EndruK / sublime3 user config
Last active July 20, 2017 07:19
My Sublime3 config
{
"always_show_minimap_viewport": true,
"auto_complete": true,
"auto_complete_selector": "source, text",
"bold_folder_labels": true,
"draw_minimap_border": true,
"ensure_newline_at_eof_on_save": true,
"font_face": "DejaVu Sans Mono",
"font_size": 11,
"highlight_line": true,
@EndruK
EndruK / 20-nvidia.conf
Created June 24, 2017 16:50
Arch Linux Nvidia X11 Dual Screen config without tearing
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 378.13 (builduser@anthraxx) Thu Feb 16 23:29:17 CET 2017
# put into /etc/X11/xorg.conf.d/
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
- arc theme https://github.com/horst3180/arc-theme
- arc icon theme https://github.com/horst3180/arc-icon-theme
@EndruK
EndruK / disableTouchpadOnType.txt
Created June 28, 2017 10:28
Sets the Touchpad-disable on type to 0,5 seconds
- Disable the Mouse/Keyboard settings which disables the touchscreen on typing
- create a new startup application
- use this command:
sudo syndaemon -i .5 -K -t -R -d
@EndruK
EndruK / analyzePicture.py
Created August 6, 2017 08:37
Little Script for my old webcam to make timelapse shots with an appealing brightness by adjusting the exposure
#!/usr/bin/env python
from PIL import Image
from PIL import ImageStat
import sys
import os.path
import subprocess
import sched,time
import math
steps = 1
@EndruK
EndruK / Deep Learning
Last active July 29, 2022 15:03
links to interesting ML NLP techniques
Skip-gram model: http://mccormickml.com/2016/04/19/word2vec-tutorial-the-skip-gram-model/
Skip-gram model(negative sampling): http://mccormickml.com/2016/04/19/word2vec-tutorial-the-skip-gram-model/
TFGAN(framework to train & evaluate GANs) https://research.googleblog.com/2017/12/tfgan-lightweight-library-for.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+blogspot/gJZg+(Official+Google+Research+Blog)
NLP-Formula: https://explosion.ai/blog/deep-learning-formula-nlp
https://medium.com/dair-ai/textql-colorless-green-rnns-convai2-machine-learning-yearning-meta-learning-tutorial-tinn-d85e64d3b6fb
https://github.com/outcastofmusic/quick-nlp
Bidirectional LSTM tensorflow
https://www.svds.com/tensorflow-rnn-tutorial/
@EndruK
EndruK / SSH configuration Public Key
Created December 15, 2017 14:48
How to SSH with public key and disabled standard password login
Host <-> Client
- Client: gen RSA key
- Host install openssh-server
- copy client-rsa.pub to host
- insert pub key to ~/.ssh/authorized_keys
- change /etc/ssh/sshd_config:
RSAAuthentication yes
PublicKeyAuthentication yes
PasswordAuthentication no #disables non-rsa-key-authentication
- on host: sudo systemctl reload ssh.service
- install ufw
- test that ufw is not running: sudo ufw status verbose
- set up default policies:
* sudo ufw default deny incoming
* sudo ufw default allow outgoing
* sudo ufw allow ssh
- enable ufw: sudo ufw enable
_______ _______ _______ _____
| | | |_ _| \
| | - | | | | -- |
|__|_|__|_______| |___| |_____/
_______ __
| __|.-----.-----.-----.----.---.-.| |_.-----.----.
| | || -__| | -__| _| _ || _| _ | _|
|_______||_____|__|__|_____|__| |___._||____|_____|__|
https://arnowelzel.de/pioneer-av-receiver-uebers-netzwerk-steuern