Archivo de la categoría: Linux


SELECT count(*) FROM pg_stat_activity;   SELECT usesysid, usename,state FROM pg_stat_activity;    

ssh session slow to start ( its dns )

Liraz Siri – Mon, 2010/03/08 – 14:10 – 14 comments | Latest by Ryan Ever tried logging into a machine with ssh and found you have to wait much longer than reasonable for the session to start? This happened to me a few times and was especially annoying with machines on my local network (or… Leer más »

Jobs – Move Running Process to Background & Nohup

(method 1) ALREADY RUNNING PROCESS INTO BACKGROUND Pro:   Puts running process into background Con:  If you quit out of the shell window the process stops   Reference:   1. Ctrl-z 2. jobs or alternate method which lists the PID (note the PID is not the jobnum, the job number is shell specific to… Leer más » office   Vea, edite y cree documentos Office en cualquier parte Más de 550 millones de usuarios de Android Más de 875,000 revisiones de Google Play Totalmente compatible con Microsoft Office® y Google Docs No se necesita suscripción: ¡100% GRATIS!

nmap postfix

How to add text at the end of each line in Vim?

*-*-*-*-*-*-*_*-*-*-*-*-*-*_*-*-*-*-*-*-*_ Final de Línea agregar texto Buscar y Reemplazar $ :%s/$/,/ :%s/$/,/ : – enter command mode % – for every line s – substitute /$ – the end of the line /,/ – change it to a comma *-*-*-*-*-*-*-*-*-*-*-*-* PRINCIPIO DE LÍNEA AGREGAR TEXTO :%s/^/foo: / :%s/$/,/ : – enter command mode % -… Leer más »


It won’t matter if you run 32 or 64 bit for Kodi. The error you are getting is because the server timeout setting is too short. c:\Users\<your user name>\AppData\Roaming\Kodi\userdata\addon_data\pvr .stalker\settings.xml Find this and change the value to something reasonably higher… like 60 up to 90 <setting id=”connection_timeout” value=”65″ />

5 Kodi advanced settings I always use on media centers   Kodi advanced settings stored in advancedsettings.xml can be used to tweak various settings that cannot be edited through the GUI. Advanced settings, as the name suggests, are “advanced” and hence most users do not have to set them. Some examples of Kodi or XBMC advancedsettings.xml include MySQL library, episode naming patterns, special behaviors,… Leer más »

iptables quick centos

iptables -F iptables -A INPUT -p tcp –tcp-flags ALL NONE -j DROP iptables -A INPUT -p tcp ! –syn -m state –state NEW -j DROP iptables -A INPUT -p tcp –tcp-flags ALL ALL -j DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -p tcp -m tcp –dport 80 -j ACCEPT iptables -A… Leer más »

sshuttle: A Poor man’s VPN Over SSH

Do you ever wanted to use SSH as a VPN? There is little piece of useful utility called “sshuttle” is available to completely turn your SSH connection as VPN. sshuttle is a transparent proxy server that works as a poor man’s VPN over ssh. You don’t need any admin account on your remote system. It… Leer más »