lsof -i
echo -n | openssl s_client -connect download.01.org:443 | \
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | \
sudo tee '/usr/local/share/ca-certificates/download_01_org.crt'
update-ca-certificates
sudo apt-get install linux-virtual
sudo apt-get autoremove --purge linux-generic
sudo apt-get remove --purge linux-firmware
sudo update-grub
in file: /etc/php5/fpm/php.ini
cgi.fix_pathinfo=0
expose_php=Off
in file: /etc/nginx/nginx.conf
server_tokens off;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.ssh/config | |
Host sample | |
User user1 | |
hostname sample.host.com | |
Port 2222 | |
# disable host key checking | |
StrictHostKeyChecking no | |
Host sample2 |
git config --global alias.co checkout
git config --global alias.st status
git config --global alias.graph "log --graph --oneline --all"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php -q | |
<?php | |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'phpagi.php'); | |
$AGI = new AGI(); | |
$ASM = $AGI->new_AsteriskManager(); | |
$ASM->connect(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ~/.vimrc | |
set tabstop=4 " The width of a TAB is set to 4. | |
" Still it is a \t. It is just that | |
" Vim will interpret it to be having | |
" a width of 4. | |
set shiftwidth=4 " Indents will have a width of 4 | |
set softtabstop=4 " Sets the number of columns for a TAB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for a in *.wav; do sox -v 0.3 "$a" -r 8000 -c1 "$a.gsm" resample -ql; done |
OlderNewer