Listing posts

Displaying posts 226 - 230 of 328 in total
Spray all'aglio contro i parassiti
mouse 1432 · person cloud · link
Last update
2018-08-29
2018
08-29
«battericida, funghicida, antiparassitario»

Insetti e parassiti vengono disturbati/allontanati dall'allicina, la sostanza antibiotica contenuta nell'aglio.

Filtrare uno dei seguenti preparati e spruzzare sulle piante:

  • Infuso: lasciar riposare per 2 ore 4 spicchi di aglio schiacciati/tagliati in 500ml di acqua bollente
  • Macerato: lasciar macerare per almeno 24 ore 10gr di aglio tritati in 1L d'acqua

è possibile sciogliere un cucchiaio di sapone di Marsiglia per ogni litro d'acqua per aumentarne la presa.

Contro i funghi invece schiacciare una testa d'aglio e farla bollire con 60gr di bicarbonato in 1 litro d'acqua, raffreddare ed innaffiarvi il terreno.


Fonte: inorto, greenme


~~~ * ~~~

X11/Xorg automation
mouse 2923 · person cloud · link
Last update
2018-08-23
2018
08-23
« — »

There two very useful tools to help you automate Xorg:

  • xwit -- window interface tool:

iconifying the window, and apply it to several windows whose name begins with one of the given strings, or a particular window id given, or the window id found in the environment variable WINDOWID, or the window under the mouse cursor

1
xwit -root -warp 640 512 # move mouse to X/Y position

simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions.

1
2
3
xdotool key ctrl+alt+F1 # press this combination of keys
xdotool click --delay 2 --repeat 1000 1 # left click 1000 times
xdotool mousemove 500 500  # moves the mouse to (500,500)

~~~ * ~~~

Caffe freddo shakerato cremoso light
mouse 1515 · person cloud · link
Last update
2018-07-30
2018
07-30
« — »

Ingredienti:

  • 6x tazze di caffè
  • 6x cubetti di ghiaccio
  • 2x cucchiai di zucchero di canna (opzionale)
  • 2x cucchiai di cacao magro
  • gocce di cioccolato fondente
  • 1x 150gr yoghurt greco fage 0% o mascarpone

Procedimento:

  1. Fare 3 tazze di caffè, raffreddare e mettere in frigo.
  2. Mescolare lo youghurt con cacao, gocce di cioccolata, e zucchero. Riempire a metà i bicchieri con questa crema.
  3. Fare altre 3 tazze di caffè.
  4. Shakerare le 6 tazze, i cubetti, e lo zucchero.
  5. Colmare i bicchieri e servire subito.

Fonte: Blog Giallozafferano


~~~ * ~~~

Google Calendar create event URL
mouse 1977 · person cloud · link
Last update
2018-07-26
2018
07-26
« — »

Here is an example link:

1
2
3
4
5
6
7
http://www.google.com/calendar/event?
   action=TEMPLATE
  &src=japd5d7d7afkvcih60u1kl6ifo%40group.calendar.google.com
  &text=Dinner%20friends
  &dates=20090522T193000/20090524T003000
  &details=bring%20wine
  &location=GoodPlace,%201234%20Nice%20Road,%20NiceCity,%20XX%20YYYYY

Parameter details:

  • action (fixed value):
    action=TEMPLATE

  • src (select calendar):
    src=myemail%40gmail.com
    Find value via http://www.google.com/calendar/embedhelper

  • text (event title):
    text=Dinner%20friends

  • dates (range):
    dates=20090621T063000Z/20090621T080000Z
    (i.e. an event on 21 June 2009 from 7.30am to 9.0am British Summer Time (=GMT+1)).
    Format: dates=YYYYMMDDToHHMMSSZ/YYYYMMDDToHHMMSSZ
    This required parameter gives the start and end dates and times (in Greenwich Mean Time) for the event.
    JS code: (new Date()).toISOString().replace(/-|:|\.\d\d\d/g,"")

  • details (descrizione):
    detail=portare%20vino

  • location:
    location=GoodPlace,%201234%20Nice%20Road,%20NiceCity,%20XX%20YYYYY


Source: Google 1, 2, 3; StackOverflow 1, 2; Other 1


~~~ * ~~~

Setup a SOCKS5 proxy via SSH
mouse 4052 · person cloud · link
Last update
2018-07-25
2018
07-25
« — »
  • Have a host with SSH server installed.

  • Optional: keep alive your connection, see SSH tunnel howto and hints

  • Start the proxy with this command:

1
ssh -f -C -N -D 127.0.0.1:1080 exit.hostname
  • Configure your browser proxy settings to connect to the SOCKS5 proxy at localhost port 1080 and remember to forward DNS lookups through it.
    In Firefox open about:config and set network.proxy.socks_remote_dns = true, and if you are using FoxyProxy then also set extensions.foxyproxy.socks_remote_dns = true.

Source: Catonmat, Lifehacker

See also: tinyproxy, privoxy