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 start-stop-daemon --start --chuid www-data --background --exec /usr/bin/php -- /var/www/tt-rss/update_daemon2.php --feeds --quiet |
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
//En Java 7 | |
findViewById(R.id.mon_bouton).setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
maFonction(); | |
} | |
}); | |
//En Java 8 + Retrolambda | |
findViewById(R.id.mon_bouton).setOnClickListener(v -> maFonction()); |
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
//Si modification de fichier en cours | |
git stash //Pour sauvegarder les modification en cours et remettre la branch propre | |
//un "git status" ne doit vous indiquer aucune modifications | |
git fetch --all //Pour synchro le dépot local avec le serveur | |
git merge master | |
//Si fichiers en conflit | |
//les ouvrirs, corriger le code | |
git add mon_fichier_en_conflit.yolo //marquer comme résolu |
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
import java.io.IOException; | |
import java.nio.charset.Charset; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
/** | |
* Created by yapiti on 07/09/15. | |
*/ | |
public class Main { |
NewerOlder