Archive for the ‘Manuals’ Category

Restricting Solr with Jetty to localhost

Tuesday, November 11th, 2014

If you want to try Apache Solr, the easiest way to get started is to use the example the comes with the download. Just run java -jar start.jar and you can start searching like a pro. However, the integrated Jetty server is configured to bind to port 8983 on all IP ...

Could not load host key: /etc/ssh/ssh_host_ecdsa_key

Sunday, November 9th, 2014

if you get error message : 'Could not load host key: /etc/ssh/ssh_host_ecdsa_key' when restarting ssh, after an upgrade from FreeBSD 8.x to 9.x You need to create new ecdsa key with following command #ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N then you should restart the sshd service #/etc/rc.d/sshd restart

Nginx direct file upload without passing them through backend

Wednesday, April 16th, 2014

It's pretty straightforward to manage file upload. Everybody can do it with using multipart/form-data encoding RFC 1867. Let's see what happens: client sends POST request with the file content in BODY webserver accepts the request and initiates data transfer (or returns error 413 if the file size is exceed the limit) webserver starts ...

Remove The ^M Character At The End Of Text Files

Wednesday, April 16th, 2014

$ cat filename | col -b > newfilename

Mac OS X – Show / Hide Hidden Files in Finder

Wednesday, April 16th, 2014

As noted in the comments its nice to have the text available for easy copy and paste into your terminal. Show: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder Hide: defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder Источник

Рассылка Frozen писем из очереди exim

Friday, February 28th, 2014

Вотм так можно принудительно разослать "замершие письма" из очереди: exim -bp | grep frozen | awk '{print $3}' | xargs exim -v -M

Accessing Local (Craft) Procedures 9608, 9611G, 9621G and 9641G Deskphones (reset)

Wednesday, February 12th, 2014

During Telephone Startup: 1. During startup, invoke local procedures by pressing * to display the Craft Access Code Entry screen: Enter code:__ #=OK 2. Enter the local dialpad procedure password (0 to 7 numeric digits), as specified by the system administrator in the system value PROCPSWD. For security purposes, the telephone displays an asterisk ...

Mikrotik backup to E-Mail

Tuesday, February 11th, 2014

/system script add name=backup2email policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api source="log info \"Starting Automatic Backup to EMAIL Script\"\r\ \n:global thisdate [/system clock get date]\r\ \n:global datetimestring ([:pick \$thisdate 0 3] .\"-\" . [:pick \$thisdate 4 6] .\"-\" . [:pick \$thisdate 7 11])\r\ \n:global backupfilename ([/system identity get ...

How ‘show full processlist’ in postgres?

Thursday, February 6th, 2014

postgres=# SELECT * from pg_stat_activity ; Отменить/убить запрос можно: SELECT pg_cancel_backend(pid of the postgres process);

NVRAM reset for the HP LaserJet 400 colorMFP M475dn

Thursday, February 6th, 2014

Finally got a viable response from HP! NVRAM reset for the HP LaserJet 400 colorMFP M475dn (Confirmed functional) 1: Print configuration page before beginning reset 2: Disconnect all cables except for power 3: While printer is in ready state, note the position of "Ready" message on the screen (Probably bottom right) 4: Power off the ...