Entries from 2015-08-01 to 1 month

vpn client setup

http://www.cyberciti.biz/tips/howto-configure-ubuntu-fedora-linux-pptp-client.html Linux configure point to point tunneling PPTP VPN client for Microsoft PPTP vpn server by Vivek Gite on June 11, 2007 in FreeBSD, Howto, Linux, Linux distri…

cron gnome terminal

export DISPLAY=:0 && /usr/bin/gnome-terminalhttps://help.ubuntu.com/community/CronHowto http://superuser.com/questions/351528/open-a-terminal-from-a-crontab

byobu tmux script

http://mukaer.com/archives/2012/07/07/tmuxcron/ 基本的には2つのターミナルを用意して、初めのターミナルで$ byobu-tmux new-session -n foo次に別のターミナルで #スクリプトの実行結果をbyobuのgooウィンドに残したい場合 $ byobu-tmux new-window -n g…

sinatra moduler

http://www.slideshare.net/sonots/sinatra-pattern-20130415 https://github.com/sonots/sinatra-tutorial/tree/master/08.multi

cron crontab whenever

http://morizyun.github.io/blog/whenever-gem-rails-ruby-capistrano/ $ gem install whenever $ cd /apps/my-project $ wheneverize ./apps/my-project/config/schedule.rbが出来る$ nano ./config/schedule.rb# Use this file to easily define all of yo…

headless virtual display resolusion xrandr

#! /bin/bash#cvt 1280 720 #cvt 1680 1050xrandr --newmode 1680x1050 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync xrandr --newmode 1280x720 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsyncxrandr --addmode VIRTUAL1 1680…

MTA postfix telnet MailDir

http://www.unixmen.com/setup-local-mail-server-using-postfix-dovecot-squirrelmail-opensuse-13-x/