python -v
exit
clear
deb http://deb.opera.com/opera/ stable non-free
wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free
apt-get update
apt-get install opera non-free
apt-get install opera
apt-get install flashplugin non-free
sudo apt-get install flashplugin-nonfree
clear
apt-get install vlc
clear
uname -a
vi LinuxCheatSheet.txt
less LinuxCheatSheet.txt
set
set echo PORTABLE *NIX CHEAT SHEET COPY PASTE AT YOUR COMMAND PROMPT
echo AND USE BY history | grep "a word"
echo how-to script --- script -a /export/home/yogeorgi/SCRIPTSLOGS/`date +%Y%m%d%H%M%S`_script.log
echo if the man is full of references to files --- man commandToFindHelpAbout | col -b >/var/man/mancommandToFindHelpAbout.man.txt
vim .bashrc
echo´'
alias ls="ls -a -l -X -1 --color=tty"
alias dir="ls -ba"
alias cls="clear"
alias deltree="rm -r"
alias move="mv"
ls -al | more
'
echo take the last 5 commands for faster execution to the temp execution script --- tail -n 5 /root/.bash_history >> /var/run.sh
echo I saw the command cd /to/some/suching/dir/which/was/very/long/to/type so I redid it and saved my fingers --- '!345'
echo send that file to myself --- cat history.txt | mail -s "test file sending" -c mail1@com yordan.georgiev(boom)gmail.com
echo how-to display the history withouth the line numbers ... --- history | perl -i -pe 's/^([ ]*)([0-9]*)(.*)$/$3/gi'
echo how-to deal with command outputs --- command | filtercommand > command_output.txt 2>errors_from_command.txt
echo find the files in the /bin folder having the "trace" string in their name --- find /bin | grep "trace"
echo find all xml type of files and display only the rows having wordToFindInRow --- find . -name '*.xml' -exec cat {} \;| grep wordToFindInRow | less
set
set | less
clear
pwd
whoami
id
vi /etc/passwd
apt-get install LAMP
perl -V
l
cldear
clear
sudo aptitude install apache2 php5 apache2.2-common libapache2-mod-auth-mysql php5-mysql mysql-server
sudo vim /etc/apache2/ports.conf
sudo vi /etc/apache2/ports.conf
clear
mkdir ~/SCRIPTSLOGS
script -a ~/SCRIPTSLOGS/`date +%Y%m%d%H%M%S`_script.log
sudo aptitude install php5-gd
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/mysql restart
service mysql restart
clear
ps -ef | grep mysql
ps -ef | grep apache
service apache2 restart
sudo aptitude install phpmyadmin
ls -al
clear
vi /etc/apt/sources.list
sudo apt-get udpate
sudo apt-get update
clear
sudo apt-get install chromium-browser
gedit
history | script
history | grep script
script -a ~/SCRIPTSLOGS/`date +%Y%m%d%H%M%S`_script.log
sudo script -a ~/SCRIPTSLOGS/`date +%Y%m%d%H%M%S`_script.log
ls- al /home/userName
ls -al /home/userName
ls -al /home
chown -R username:username /home/userName
sudo chown -R username:username /home/userName
id
hostname -i
history | sed 's/\s*[0-9]*\s*//'
history | less
cal
strace -c ls >/dev/null
top
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
ps -e -orss=,args= | sort -a -k1,1n | pr -TW$COLUMNS
sort --help
sort --help | less
ps -e -orss=,args= | sort -b -r -k1,1n | pr -TW$COLUMNS
clear
tcpdump not port 22
ip link show
df -k
history | grep chro
history | grep apt
halt
sudo apt-get update && sudo apt-get install skype
clear
halt
sudo halt
vi /etc/apt/sources.list
sudo apt-get update
sudo aptitude install oracle-xe oracle-xe-client
perl -V
sudo apt-get install python-gdata
clear
cd Pictures/
google picasa list
cal
time
gettime
utc
time
clear
google picasa list
exit
google picasa list title,url-direct --query "A tag"
exit
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
clear
history | grep vi
vi /etc/apt/sources.list
sudo apt-get update
sudo apt-get install sun-java5-bin
sudo apt-get install sun-java6-bin
sudo /etc/init.d/oracle-xe configure
google docs list title,url-direct --delimiter ": " # list docs
clear
google docs list title,url-direct --delimiter ": " # list docs
google picasa list title,url-direct --query "A tag"
google picasa list title,url-direct
google
google --help
google --help | less
google picasa list
history
clear
history
exit
sudo wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
sudo bash
exit
sudo bash
cd /home/username/Pictures/
google picasa list title,url-direct --query "A tag"
sudo google picasa list title,url-direct --query "A tag"
sudo bash
id
history
9,999
clear
exit
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
2 weeks ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!