x
Search Posts:

TXT BLOG: a pure txt weblog

Questo รจ un blog di puro testo dove gli utenti del sito possono condividere pubblicamente links, snippets di codice ed altre informazioni rigrosamente testuali.

Javascript Media Queries Hack

http://hacks.mozilla.org/2012/06/using-window-matchmedia-to-do-media-queries-in-javascript/

Convert .msg in .eml [link]

http://kb.mozillazine.org/Import_.MSG_files

Sort and remove duplicates in .csv files

sort file.csv | uniq > newfile.csv

Online 3d prining services

http://www.123dapp.com/
http://www.shapeways.com/
http://www.sculpteo.com/en/

[comparative review coming soon]

convert YT videos to ogg and mp3 with ffmpeg

#!/bin/bash

mkdir audio

for file in *.mp4
do
ffmpeg -i $file -vn -acodec libvorbis -ab 192k -ar 44100 ./audio/$file.ogg
done

for file in *.flv
do
ffmpeg -i $file -vn -acodec libvorbis -ab 192k -ar 44100 ./audio/$file.ogg
done

for file in *.mp4
do
ffmpeg -i $file -vn -acodec libmp3lame -ab 192k -ar 44100 ./audio/$file.mp3
done

for file in *.flv
do
ffmpeg -i $file -vn -acodec libmp3lame -ab 192k -ar 44100 ./audio/$file.mp3
done

OONI -> censorship check tool

http://ooni.nu/about/about.html

[ quick start from https://trac.torproject.org/projects/tor/wiki/doc/OONI ]

SetupHowto
Download OONI:

git clone git://git.torproject.org/ooni-probe.git ooni-probe-root
Install needed python packages:

(Ubuntu package manager and package names assumed here:)

apt-get install python-yaml python-gevent python-scapy python-beautifulsoup
Set the variable PYTHONPATH to OONI root:

export PYTHONPATH=ooni-probe-root
DONE!!
Tests:
tcpconnect
Create a list of targets in the form address:port each on a single line, no empty lines:

echo -e "google.com:80\n9gag.com:80" > list.txt
Execute the test:

ooni/ooniprobe.py tcpconnect -a list.txt
Read the report:

less report.log
Enjoy OONI :)

Browsers features check

check html5, css3 features support across browsers and their versions:

http://caniuse.com/

Mail _Your_ MEP[s]

http://falkvinge.net/2012/06/24/our-final-push-acta-vote-in-ten-days/
Pages:
0 1 2 3 4 5 6 7 8 9 10 11 12