Using wget to download from svn (subversion)

Well sometimes you could need to download software that it is available just for svn checkouts, without having or using any svn client.

For example I’m on a machine where I cannot install subversion but I have wget wich, at the end, it is just a normal http client just like a browser or subversion itself, without all the svn-related stuff (checkin, checkout, lock, etc.). Continue reading “Using wget to download from svn (subversion)”

Incoming search terms:

  • wget svn (23)

Auto Interview about social privacy – Socratic method

AKA Matrix Training, first grade. Continue reading “Auto Interview about social privacy – Socratic method”

Debian: How to run scripts at boot time

Personal notes to be always available for debian installations.

secure-coding-php

Here’s a very simple script which is divided into two parts, code which always runs, and code which runs when called with “start” or “stop”.

If you need something like a service to start at boot time, you need this.
Debian stores script needed to usually start, stop and restart in /etc/init.d/
Scripts contained have to be able to manage at least the start and stop parameters. Continue reading “Debian: How to run scripts at boot time”

How to configure Wireless Lan Raspberry Headless Server

It could be useful for wlan configuration without a Desktop GUI or just from ssh client, you choose why.


The point is: you can’t do it with iwconfig, unless you have just wep encription enabled, if you use to have wpa/wpa2, instead you want to use wpa_supplicant.
If you type Continue reading “How to configure Wireless Lan Raspberry Headless Server”

Incoming search terms:

  • raspberian (14)

WordPress and “ALERT – configured POST variable limit exceeded – dropped variable” issue

ICustom Grunge WordPress Logot may happen in several hosting environments to discover this line in your webserver error log:

ALERT - configured POST variable limit exceeded - dropped variable 'name_of_dropped_variable' (attacker '20.2.26.212', file '/several dirs..../wp-admin/post.php'), referer: http://sitename.tld/wp-admin/post.php?post=181&action=edit

Well i discovered and solved this situation:

Cause: It is caused by PHP suhosin

you can “locate” it on your disk it using the “locate” command as follows

(if it is first time you use locate) type:

# updatedb

then type:

# locate suhosin

for my machine (debian) it is located within /etc/php5/conf.d/suhosin.ini

so you can edit it by typing:

#nano /etc/php5/conf.d/suhosin.ini

Now, look into your suhosin.ini fìle until you see the followings vars:

suhosin.post.max_vars

suhosin.request.max_vars

You want to remove the comment symbol “;” from the very beginning of these two lines and the increase the default value (it should be 200) to at least 500 in order to make complex wordpress themes working properly.

Remember to kick apache2 typing

#/etc/init.d/apache2 restart

Incoming search terms:

  • alert - configured post variable limit exceeded - dropped variable (12)
  • balloonzom (1)