This file contains hidden or 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
| pw user mod myname -G wheel |
This file contains hidden or 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
| find . -name 'pattern' | xargs rm -f |
This file contains hidden or 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 add-apt-repository ppa:tuxpoldo/phpmyadmin | |
| sudo apt-get update | |
| sudo apt-get install phpmyadmin |
This file contains hidden or 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
| <?php | |
| $DBHOST="host"; | |
| $DBUSER="user"; | |
| $DBPASSWD="pass"; | |
| $DATABASE="db"; | |
| $filename = "backup-" . date("d-m-Y") . ".sql.gz"; | |
| $mime = "application/x-gzip"; |
This file contains hidden or 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
| # Cordova tools for ubuntu precise (12.04 LTS). | |
| # version 0.0.1 | |
| FROM ahazem/android:v0.7.6 | |
| MAINTAINER peernohell <peernohell@gmail.com> | |
| # Install jdk7 and uninstall oracle-jdk6 | |
| RUN add-apt-repository ppa:webupd8team/java && apt-get update | |
| RUN apt-get -y install oracle-java7-installer && rm -rf /usr/lib/jvm/java-6-oracle |
This file contains hidden or 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
| docker export 7423d238b | docker import - sample:flat |
This file contains hidden or 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
| # Android development environment for ubuntu precise (12.04 LTS). | |
| # version 0.0.1 | |
| # Start with ubuntu precise (LTS). | |
| FROM ubuntu:12.04 | |
| MAINTAINER Aurel <lighta971@live.fr> | |
| # Never ask for confirmations | |
| ENV DEBIAN_FRONTEND noninteractive |
This file contains hidden or 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
| FROM ubuntu:precise | |
| MAINTAINER Aurel <lighta971@live.fr> | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get update -qq && \ | |
| apt-get -y install git-core chromium-browser\ | |
| build-essential python-setuptools \ | |
| python-dev python-pip \ |
This file contains hidden or 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://awhan.wordpress.com/2012/04/18/tmux-copy-paste-with-mouse/#comment-465 | |
| # Mouse mode | |
| set -g mode-mouse on | |
| set -g mouse-resize-pane on | |
| set -g mouse-select-pane on | |
| set -g mouse-select-window on | |
| # Toggle mouse on | |
| bind m \ |
This file contains hidden or 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
| package fr.intechinfo.s5.jee.servletJsp; | |
| import java.io.IOException; | |
| import java.util.Date; | |
| import javax.annotation.Resource; | |
| import javax.persistence.EntityManager; | |
| import javax.persistence.EntityTransaction; | |
| import javax.persistence.PersistenceContext; | |
| import javax.servlet.ServletException; |