This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.sandvold.as/instructions.htm | |
Rooter : | |
Factory Reset | |
Rooter avec Unrevoked 3.2.1 (merde avec les versions plus récentes). | |
Installer la ROM : | |
Mettre le zip à la racine de la carte SD et le renommer en "update.zip". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * INTO OUTFILE '/tmp/sales.csv' FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\n' FROM cloud.sales WHERE 1; | |
LOAD DATA INFILE '/tmp/sales.csv' INTO TABLE sales CHARACTER SET UTF8 FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"'; | |
User must have the "FILE" permission set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^[a-z]([a-z0-9]|_){1,248}[a-z0-9](?!_ids?)$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(typeof console === "undefined") { | |
console = { log: function() { } }; | |
} | |
// Reduce | |
if (!Array.prototype.reduce) | |
{ | |
Array.prototype.reduce = function(fun /*, initial*/) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Saved searches ----------------------------------------- | |
prependNoSavedSearchOption: function(array){ | |
array = array.reverse(); | |
array.push({ | |
name: "[Aucune recherche sélectionnée]" | |
}); | |
return array.reverse(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aurels@zouls:pagesmed (op-pictures) $ cucumber --drb | |
Using the default profile... | |
Disabling profiles... | |
@http://www.pivotaltracker.com/story/show/16172393 @account | |
Feature: Admins confirm user accounts | |
In order to help users with email problems | |
As an Admin | |
I confirm user accounts | |
Background: Logged in # features/account/admins_confirm_user_accounts.feature:7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo hostname mydomain.tld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm /var/log/mongodb/mongod.lock | |
sudo -u mongodb mongod -f /etc/mongodb.conf --repair | |
sudo service mongodb start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install pure-ftpd | |
sudo adduser blop | |
# add /bin/false to /etc/shells | |
# edit /etc/passwd to set /bin/false as shell | |
# edit /etc/pam.d/pure-ftpd to force the use of /etc/ftpallow | |
# add user blop to /etc/ftpallow | |
# Chroot everyone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
du -hx --max-depth 1 /var |