Skip to content

Instantly share code, notes, and snippets.

Petr Michalec epcim

Block or report user

Report or block epcim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@epcim
epcim / -
Created Oct 18, 2015
shop-rc-transmiter-2-usb-adapters
View -
batt: http://www.pelikandaniel.com/?sec=product&id=73911
ikarus: http://www.pelikandaniel.com/?sec=product&id=73013
hobbyking: http://www.hobbyking.com/hobbyking/store/__528__190__Radios_Receivers-Flight_Simulator.html
@epcim
epcim / foo.md
Last active Oct 23, 2015
set terminal xterm aterm
View foo.md

set terminal options

  aterm -geometry 150x50 -bg black -fg white -fn -*-fixed-*-*-*-*-12-*-*-*-*-*-*-*

ascii art best examples

  xterm -fg white -bg black -fn -*-fixed-*-*-*-*-6-*-*-*-*-*-*-*  -geometry 450x170 -e "mplayer -vo aa:extended:driver=curses /mnt/win/c/_dwn/Son_plachetnice.avi"
  xterm -fn 5x7 -geometry 280x100 -e "CACA_DRIVER=ncurses mplayer -vo caca ~/Downloads/Chef\ Style\ DevOps\ Kungfu\ -\ Adam\ Jacob\ Keynote\ -\ ChefConf\ 2015-_DEToXsgrPc.mp4 --framedrop"
View aeroplanes_joystick.howto.md

basic terms

  • aileron - křidélko
  • elevator - výškové kormidlo
  • rudder - směrovka

some configuration for RC joy under linux

View afterstart.howto.md

some apps used to start in linux session

deskbar-applet
pam-panel-icon
eggcups
nautilus
gnome-volume-manager
setxkbmap -layout "us,cz_qwerty" -option "grp:alt_shift_toggle" 
@epcim
epcim / aix.howto.md
Last active Oct 23, 2015
AIX howtos
View aix.howto.md

#restart ssh

stopsrc -s sshd;startsrc -s sshd

#restore tar file to local directory

View apache-reverse-proxy.howto.md
View apt-get-resolve-dependencies-i386.howto.md

ubuntu, dpkg download package dependencies only

TODO: make an array of multi dependencis for later download and install rather make an tool to remove dependencies from DEB files

while true; do
    X=`sudo dpkg -i ibm-notes-9.0.1.i586.deb 2>&1 |g "is not installed" |awk -F" " '{print $1}'`;
    P=`echo $X|awk -F":" '{print $1}'`;
View apt.howto.md

Ubuntu apt / PPA, add repository examplesetc...

this is a common problem with Launchpad PPAs. Common enough that I've copied these commands to use when I reinstall or add new Launchpad PPAs.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys YOURKEYNUMBERHERE  
View aria2c.howto.md
#!/bin/sh
# aria2c ftp download script
aria2c -j10 -s5 --ftp-user alice@foo.com --ftp-passwd PASSWORD --ftp-pasv=false -i $1
View awesome.howto.md

Awesome window manager tips

Edit cfg

vim $HOME/.config/awesome/rc.lua

get name of the window

xprop | grep --color=none "WM_CLASS\|^WM_NAME"
You can’t perform that action at this time.