-
Recent Posts
Recent Comments
sassygirl on DB2 index design articles Victor on Automated HTTP GET (with cooki… Victor on Automated HTTP GET (with cooki… Asian Chick on Automated HTTP GET (with cooki… Victor on Automated HTTP GET (with cooki… Archives
- September 2016
- August 2016
- July 2016
- June 2015
- May 2015
- February 2015
- December 2014
- November 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- March 2010
- January 2010
- December 2009
- April 2009
- March 2009
- February 2009
- January 2009
- May 2008
- June 2007
- November 2005
- October 2005
- July 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
Categories
- alfresco
- android
- apache2
- apt-get
- archive
- boot
- centos
- chkconfig
- chrome
- cifs
- cpio
- csv
- curl
- DB2
- dd
- dig
- diskmon
- dns
- dnsmasq
- drupal
- ec2
- eclipse
- Entertainment
- erlang
- eventlet
- ffmpeg
- firewall
- generator
- gevent
- gpg
- hdiutil
- ICMP
- iptables
- iso
- java
- json
- jython
- k8s
- kerberos
- kivy
- lamp
- ldap
- libpcap
- linux
- lookit
- lsof
- mod_jk
- mongodb
- monit
- mount
- mssql
- mtr
- multimedia
- Music
- mysql
- netcat
- netstat
- network
- nfs
- nginx
- nmcli
- ntpd
- oracle
- osx
- pelican
- ping
- plone
- postfix
- postgres
- programmer
- pydev
- pymssql
- python
- python wsgi
- QA tools
- rsync
- ruby
- sensu
- smb
- smtp
- snmp
- socat
- solaris
- sproutcore
- sqsh
- ssh
- sshfs
- ssl
- sso
- strace
- stunnel
- sublime
- svn
- sybase
- system
- TCP
- tivoli
- tmux
- traceroute
- ubuntu
- ucm
- Uncategorized
- UNIX
- upstart
- urlrewrite
- visualvm
- weblogic
- websphere
- winpcap
- wireshark
- wowza
- xml
Meta
Monthly Archives: August 2012
upstart vs System V init
Most valuable reference http://askubuntu.com/questions/198794/how-do-i-choose-which-way-to-enable-disable-start-stop-or-check-the-status-of upstart cookbook http://manpages.ubuntu.com/manpages/precise/en/man5/init.5.html How to disable a service http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting example:http://www.gaggl.com/2012/06/disable-services-on-boot-ubuntu-12-04/ How to check running service (System-V style) initctl list, bum (GUI) (System-V style) chkconfig –list (System-V style) service –status-all (? is upstart job)
mount windows share from Ubuntu
gvfs-fuse sudo apt-get install gvfs-fuse dpkg -L gvfs-fuse gvfs-mount -l gvfs-mount smb://victor.yang@192.168.1.100/reuters-data/, then it will prompt for DOMAIN and password. to umount: gvfs-mount -u smb://victor.yang@192.168.1.100/reuters-data/ smbfs sudoapt-get installsmbfs smbclient //test-https.blah.net/ipc$ -U id -Wdomain sudo mount -t cifs //remote_windows/share $ $HOME/windows -o user=uid,dom=office
Posted in smb, ubuntu
Leave a comment
connect to MS SQL server and Sybase from linux freetds sqsh freebcp
sudo apt-get install freetds-dev sqsh freetds-bin cat /etc/freetds/freetds.conf [tds1] host = 10.21.1.1 port = 1433 tds version = 7.0 sqsh -S tds1 -U id -P password -i foo.sql -o foo.out freebcp (from freetds-bin package) freebcp mydb.dbo.table out table.csv -U id … Continue reading
browser shortcut with nginx and DNS
OS: Ubuntu DNS /etc/hosts 127.0.0.1 foo Nginx in sites-enabled/default if ( $host = wiki ) { rewrite ^ https://wiki.example.com; }
Posted in nginx, urlrewrite
Leave a comment
Enable SQL server 2012 for TCP
Enable SQL server 2012 for TCP port 1433
Posted in mssql
Leave a comment
nmcli Network-Manager nmtool
nm-tool to display network-manager status nmcli con down id VPN_CONN_NAME nmcli con up id VPN_CONN_NAME nmcli con automation with nmcli To automatically connect “nmcli con up id VPN_CONN_NAME” in .profile (upon login) http://linoxide.com/linux-command/nmcli-tool-red-hat-centos-7/ NetworkManager http://en.wikipedia.org/wiki/NetworkManager Restart network-manager: sudo service network-manager restart
Posted in network, ubuntu
Leave a comment
gevent
installation sudo apt-get install libevent-dev pip install gevent
Posted in gevent
Leave a comment
concurrency model with Actor
Actor model everything is a Actor, natively concurrent. Support in programming language Erlang: language level. Erlang is the best platform for concurrency and distributed application so far. Python eventlet why gevent Gevent: good, bad and ugly gevent tutorial Java: library level. Akka