List all open ports
lookup for netstat utility
run following on console
#netstat -tlnp
Claire Keane
ojovivo
Peter Solarz
Keni

Kiana Khansmith

izzy's playlists!

blake kathryn
Jules of Nature
tumblr dot com

titsay

roma★

if i look back, i am lost

ellievsbear
Sweet Seals For You, Always
AnasAbdin
art blog(derogatory)
Aqua Utopia|海の底で記憶を紡ぐ

KIROKAZE
seen from Peru

seen from United States

seen from Türkiye

seen from United States
seen from Malaysia
seen from Chile
seen from United States

seen from United States
seen from United States

seen from United States
seen from United States

seen from United States

seen from United Kingdom
seen from Lithuania

seen from United States
seen from Malaysia
seen from United States

seen from Malaysia
seen from Indonesia

seen from Japan
@t9-grv
List all open ports
lookup for netstat utility
run following on console
#netstat -tlnp

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Convert any Virtual Machine to Vagrant Box
Sometimes distribution providers (such as UCS) only give you VirtualBox .ova files to test their software. Here is how you can easily and non-interactively import a .ova file into a .box for use with Vagrant.
$ VBoxManage import ./UCS-Virtualbox-Demo-Image.ova --vsys 0 --eula accept 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /home/crohr/dev/ucs/./UCS-Virtualbox-Demo-Image.ova... OK. Disks: vmdisk1 53687091200 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized UCS-Demo-Image-virtualbox-disk1.vmdk -1 -1 ... 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Successfully imported the appliance.
Then list your VMs to find the VM ID:
$ VBoxManage list vms "UCS 4.1" {acef4c0a-35be-4640-a214-be135417f04d}
You can now package that VM as a Vagrant box:
$ vagrant package --base acef4c0a-35be-4640-a214-be135417f04d --output UCS.box ==> acef4c0a-35be-4640-a214-be135417f04d: Exporting VM... ==> acef4c0a-35be-4640-a214-be135417f04d: Compressing package to: /home/crohr/dev/ucs/UCS.box
And add it to the list of your local Vagrant boxes:
$ vagrant box add UCS.box --name UCS
Finally, you can create a Vagrantfile to use this box:
Vagrant.configure("2") do |config| config.vm.box = "UCS" # ... end
And vagrant up!
courtesy: Cyril Rohr : https://github.com/crohr/ebarnouflant/issues/7
Atom regex replace with backref
use atom editor regex find and replace along with backref operator to do some complex ops
Example : single quoted string (‘this is a string’) to double quoted string in the code.
Search regex for :
\'((\w|\.|\/)*)\'
replace it by
"$1"
Git Pull --rebase by default
To set rebase strategy for git pull
git config --global --bool pull.rebase true
Helpful Git Configuration
file ~/.gitconfig
[user] email = <email> name = <author name> [alias] co=checkout st=status br=branch [push] default = simple [pull] rebase = true [core] editor = vim

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Use SSH as proxy
ssh command :: ssh -D 8080 -f -C -q -N myuser@remote_ssh_server
-D 8080 : This does the dynamic stuff and makes it behave as a SOCKS server. -f : This will fork the process into the background after you type your password. -C : Turns on compression. -q : Quiet mode. Since this is just a tunnel we can make it quiet. -N : Tells it no commands will be sent. (the -f will complain if we don’t specify this)
Configure your socks proxy to 127.0.0.1 and port you have chosen here it is 8080.
Example - for firefox network setting
network.proxy.no_proxies_on : localhost, 127.0.0.1, 192.168.0.0/24, .yourcompany.com network.proxy.socks : 127.0.0.1 network.proxy.socks_port : 8080 network.proxy.socks.remote_dns : true network.proxy.socks_version : 5 network.proxy.type : 1
The setting remote_dns will make sure also your dns requests will be tunneled over the SOCKS proxy
Switch windows in current workspace only
dconf write /org/gnome/shell/app-switcher/current-workspace-only 'true'
To erase it, going back to default settings:
dconf reset /org/gnome/shell/app-switcher/current-workspace-only
[Django Note 2] Django create app
Apps are re-usable modules of code which can be attached to any project.
python manage.py startapp <app_name>
This will create a app structure in project folder
Add this app under INSTALLED_APPS tuple in settings.py of project
INSTALLED_APPS = ( 'django.contrib.admin, '<app_name>' )
Django Notes
Index
Note 1 : Creating django project
Note 2 : Create django App
Note 3 : Make urls
Note 4 : Create a view
Note 5 : Create a models
Note 6 : Create Migrations
Note 7 : Woking with MySql
Note 8 : Global params and Environment Settings
[Python Django Notes #1 ] Django up & running
Create a basic django project and make it running
Prerequisite: Django installed, Python installed.
django-admin startproject my_project
Result : this will create base scaffold in cwd(current working directory)
Index
Next
created via email

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Pass and execute commands to remote ssh shell
Pass command as string using -t flag
ssh <user:password@server-address> -t "cd /my/remote/directory; bash --login"
in command string do pass bash --login else it will execute commands and exit there after.
note --login flag restore user profile for shell
poppler tools provide lots of utils in linux for pdfs
debian install
sudo apt-get install poppler-utils
Website : http://poppler.freedesktop.org/
Django setting up DB - MySql
1. Install Mysql Python
sudo pip install mysql-python
2. Add mysql client config lib
sudo apt-get install libmysqlclient-dev
3. in settings.py configure
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘mydatabase’,
‘USER’: ‘root’,
‘PASSWORD’: ‘password’,
‘HOST’: ‘localhost’,s hosted on
‘PORT’: ‘3306’,
}
}
4. run migrations
python manage.py migrate
Forget MySql root password
Kill all mysqld processes
ps -A | grep mysqld
Restart mysqld with
sudo mysqld --skip-grant-tables
Update users table to reset passwords

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
GRUNT - For inline CSS for mailers
https://github.com/jgallen23/grunt-inline-css