Skip to content

Instantly share code, notes, and snippets.

View ldrahnik's full-sized avatar

Lukáš Drahník ldrahnik

View GitHub Profile
@ldrahnik
ldrahnik / shortcuts.md
Created May 5, 2015 18:56
Elementary OS Freya Shortcuts

⌘ + Space App Launcher

Alt + Tab Window Switcher

⇧+Alt + Tab Switch Windows Backwards

⌘+W Window Overview

⌘+A Window Overview (Across All Workspaces)

@ldrahnik
ldrahnik / shorcuts.md
Last active January 12, 2016 19:18
Frequently Used PhpStorm Keyboard Shortcuts

Search, Go to, Navigation

Double press Shift - search everywhere

Ctrl + Shift + A - find action by name

Ctrl + N - find class by name

Ctrl + Shift + N - find file by name

@ldrahnik
ldrahnik / shortcuts.md
Last active September 17, 2017 17:05
Git Settings & Aliases & Commands

Settings

git config --global color.ui yes

git config --global push.default current - you will push only current branch (not all - it may be unexpected)

git log --pretty=format:"%Cgreen%h%Creset %ad %C(cyan)%an%Creset - %s%C(red)%d%Creset" --graph --date=short - nicer git log

Aliases

@ldrahnik
ldrahnik / instructions.md
Last active September 17, 2017 17:05
Linux A Tracy Handler

Zprovoznění Tracy handleru na IDE, konkrétně v ukázce je odkazované IDE Phpstorm.

Linux:

@ldrahnik
ldrahnik / guide.sh
Last active September 27, 2017 10:19
FIT VUT - how to connect to eduroam using wpa_supplicant (http://www.fit.vutbr.cz/CVT/auth/.cs#linux)
# get certificate
mkdir /etc/certs/ # if directory does not exist
sudo wget http://ca.vutbr.cz/pki/pub/cacert/cacert.pem
# make file /etc/wpa_supplicant.conf
#
# change <login> and <password> fields:
# password (password in only for radius server, generate new if you do not know!)
# login (login@fit.vutbr.cz, even students have fit.vutbr.cz)
@ldrahnik
ldrahnik / guide.sh
Last active September 29, 2017 10:31
Remote access to Matlab installed on server Merlin
# replace <login>
ssh -C -Y <login>@merlin.fit.vutbr.cz
matlab
@ldrahnik
ldrahnik / guide.sh
Last active October 7, 2017 13:55
How to display own man page inside a terminal
nroff -man ./<file-name>.1 | less
man -l ./<file-name>.1
@ldrahnik
ldrahnik / guide.sh
Last active October 12, 2017 17:11
Installation guide ROS (The Robot Operating System - ros.org)
# ubuntu, elementary OS Loki
http://packages.ros.org/ros/ubuntu/dists/
# manually reqrite loki to xenial (loki is not supported there http://packages.ros.org/ros/ubuntu/dists/)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# recommended (via http://wiki.ros.org/lunar/Installation/Ubuntu)
sudo apt-get install -y ros-lunar-desktop-full
# rosdep
@ldrahnik
ldrahnik / guide.sh
Created October 24, 2017 18:34
Git commit messages explanatory notes
CS - Code Style (design of code fixes like bad indention, space instead of tabs etc.)
Typo - Typographic mistake
@ldrahnik
ldrahnik / .gitignore_global
Last active November 15, 2017 12:32
.gitignore_global
.idea/**/*
.vagrant/**/*