Chrome has his own dns cache, to manage it, go to the following page
chrome://net-internals/#dns
Chrome has his own dns cache, to manage it, go to the following page
chrome://net-internals/#dns
I wrote a small php script to run in shell helping to use apktool and dex2jar to reverse engineer an android application apk file. You will get access to the androidmanifest.xml decoded, the images and java clases that you will be able to decompile with jd-gui. I'm using it to get some ideas how to organize projects and most of all because I'm curious and love to understand how things work.
The script is shared on Gist.
In the open source world you have several cms that are loaded with features but most of the time there is a learning curve due to complexity and I've decided to build my own cms with a small set of features providing the basic structure/tools/good practices to create and deploy easily a web site for small/midsized projects.
I have to admit that I'm obsessed with the idea of "lean programming". So, I've written down a list with the essentials features for a modern cms.
You can take a look at the V2 CMS Bootstrap preview
V2 is built around composer, Silex micro framework, Twig, RedBean ORM, Bootstrap (responsive web deisgn), TagIt!, jQuery, eden PHP library
echo date(strtotime($tweet['created_at']));
The format used by twitter in the created_at field is
echo date("l M j \- g:ia", $timestamp);
echo "\n$(top -l 1 | awk '/PhysMem/';)\n"
find / -type f -mtime -1 -print0 | xargs -0 du -sk | sort -nr
Here is a quick tip wich will help you to install and use composer on your mediatemple hosting.
original source : Jamie on software
Installing composer
curl -s https://getcomposer.org/installer | php -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar
and then run composer ...
php -d memory_limit=512M -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar
This is ugly, so let's clean it up. We'll add an alias to the bash profile:
$ vim ~/.profile
We'll alias get_composer to our install command and composer to our composer.phar file. This way we can set up new subdomains and such easily:
alias get_composer="curl -s https://getcomposer.org/installer | php -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar" alias composer="php -d memory_limit=512M -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar"
Save, and reload the profile (this will be done automatically next login):
$ source ~/.profile
Now, we can use Composer to our hearts' content:
$ get_composer All settings correct for using Composer Downloading... Composer successfully installed to: /.... Use it: php composer.phar
$ composer -V Composer version cb2a0f4
Eden is a library allowing to access various APIs, in just several lines of code, access web services of web sites such as twitter, facebook, paypal, google contacts, google drive, youtube, google maps, foursquare and many others. But not only APIs ! It provides reusable components to manage Mail, Cache, Database, Payment gateways. Core functionnalities can help to build web application prototypes and it really integrates easily with existing frameworks or CMS.
I've experimented myself : in less than 30 minutes, I've integrated the library in symfony and accessed my twitter and youtube data.
This is the kind of github repo that any PHP web developer should watch.
The PHP Framework Interop Group website is a place to find coding standard, coding style. Many of the big open source projects are members of the group. The idea is to have common guidelines for the members and the PHP community.
I'm using Pinterest a lot as an inspirational tool, I'm adding pins related to decoration, architecture, food, airstream vans and container based construction.
Pinterest does not provides an API and the RSS feeds contains a limited number of items. So, I' wrote a piece of code wich extract the data from the website and the next pages of the endless scrolling system.
I've created a new page for my blog extracting my pins and displaying them using WookMark jQuery plugin. The code is available on github.
In the next release, I will cache the web scrapping data and will create a sync script.
This will reduce the amount of requests. I also plan to add a feature allowing to save the pins, I'm thinking about a backup to the cloud (dropbox, google drive, ...). This will help me to get more experience with these APIs.
I'm happy to announce that I have created and pushed on github a pinterest addon for the activitystream drupal module. You can see it working on my stream.
I have to admit, Pinterest is currently my favorite web site : I love beautiful things.
At this point, they don't provide an API but I've discovered on Quora that a RSS feed by user is available : http://pinterest.com/[username]/feed.rss .
So, I'm going to implement an activitystream addon for pinterest and a blog displaying the last pins added.
Open the replace dialog
1) Check the Regular Expressions check box
1) Find What:
?\n\s*(\n)
2) Replace With:
$1
3) click Replace All.
Presentations from the Android developer conference.

J'appelle ça une tuerie, selon mes propres goûts musicaux.
Derrière le projet Rover se cache Thimothée Régnier un francais qui a eu la chance de bourlinguer à travers le monde grace à ses parents. Il a également tourné dans quelques films. Une personnalité attachante et surtout un artiste multifacette avec un univers bien à lui que je vous invite à découvrir dans l'interview faites sur le site Electro Choc.
The digital revolution of the last decade has unleashed creativity and talent in an unprecedented way, with unlimited opportunities. But does democratized culture mean better art or is true talent instead drowned out? This is the question addressed by PressPausePlay, a documentary film containing interviews with some of the world's most influential creators of the digital era.
Programming, Motherfucker
Do you speak it?
We are a community of motherfucking programmers who have been humiliated by software development methodologies for years.
We are tired of XP, Scrum, Kanban, Waterfall, Software Craftsmanship (aka XP-Lite) and anything else getting in the way of...Programming, Motherfucker.