All posts by PF

Development environments made easy.

 

CONFIGURE

Create a single file for your project to describe the type of machine you want, the software that needs to be installed, and the way you want to access the machine. Store this file with your project code.

WORK

Run a single command — “vagrant up” — and sit back as Vagrant puts together your complete development environment. Say goodbye to the “works on my machine” excuse as Vagrant creates identical development environments for everyone on your team.

http://www.vagrantup.com/

Some clients of vagrantup or hashicorp

customer_bbccustomer_disquscustomer_edgecastcustomer_expediacustomer_expediacustomer_edgecastcustomer_disquscustomer_bbc

Your own dropbox or similar?

Does your team, company, family want your own dropbox, mega.co.uk, meocloud.pt or similar running on your own infrastructure? afraid of NSA, CIA or KGB spying your data?

 

ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn’t need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.
http://owncloud.org/

 

SparkleShare creates a special folder on your computer. You can add remotely hosted folders (or “projects”) to this folder. These projects will be automatically kept in sync with both the host and all of your peers when someone adds, removes or edits a file.
http://sparkleshare.org/

 

Unknown encoder ‘libx264’

On my stack, on digitalocean, i have Ubuntu (13, and i’m deploying a small work that need avconv (former ffmpeg).

I need to convert from WMV to MP4 files and i was getting Unknown encoder ‘libx264’ error.

This is how i’v added video encoder libx264 to my avcodec.

apt-get update
apt-get install libavcodec-extra-53

Tested on
Ubuntu 13.04 (GNU/Linux 3.8.0-19-generic x86_64)
Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)

Tried to share it!
http://stackoverflow.com/questions/11234662/how-to-compile-avconv-with-libx264-on-ubuntu-12-04/18835133#18835133

ssd-virtual-servers-banner-2-728x90

Some house offers

Server Housing offer

Server Housing from 1U to 4U – house your server in our highly secured data center.

http://www.nine.ch/serverhousing/plans

1U 2U
Monthly fee 99.- 139.-
Setup fee 199.- 199.-
Connection 1 Gbps
Bandwidth 100 Mbps CDR 95% [8]
IPv4 adresses 1 1
IPv6 adresses /48 /48
Available power supply [1] 160 W
Network uptime 99.9 %
Fire protection (gas) yes yes
Emergency power yes yes
Redundant air conditioning yes yes
Access control yes yes
24/7 video surveillance yes yes
Detailed statistics yes yes
Emergency duty 24×7
Support Email and phone
Data center location Zurich, Switzerland
Minimum contract duration Only 1 month

Prices in (CHF) excl. VAT

WordPress – find and replace

I got some wordpress blogs (20+) running on some servers, and from time to time, i need to make some FIND&REPLACE on my posts…

This is the simple way! Directly on mysql.

UPDATE wp_posts SET post_content = REPLACE (  
post_content,  
'Item to replace here',  
'Replacement text here');

Please note the for security reasons the prefix wp_ is diferent… if you play by the rules you will need to see witch is is… wp-config.php has it.

mysql> UPDATE wpspt_posts SET post_content = REPLACE (
-> post_content,
-> 'static.mycdn.com/banners/',
-> 'static.mycdn.com/bnnrs/');
Query OK, 1477 rows affected (0.42 sec)
Rows matched: 10795 Changed: 1477 Warnings: 0

This is a small hack to ABP – Ad Blocker Plus…
Horray!

Data is KING

The Washington Post has been reporting on the U.S. intelligence community’s top-secret “black budget” after obtaining it from former intelligence contractor Edward Snowden.

The information has revealed insights about the CIA, the raid that killed Osama bin Laden, and the uneasy relationship between America and Pakistan.

Martin Grandjean has an created an overall visualization of the data, which reveals the funding of the U.S. intelligence agencies.

Read more: http://www.businessinsider.com/data-visualization-of-the-black-budget-2013-9#ixzz2dvce8kBJ