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 run --name phpmyadmin-mysql -e MYSQL_ROOT_PASSWORD=password -d mysql | |
| Start PHPMyAdmin | |
| docker run -d --link phpmyadmin-mysql:mysql -e MYSQL_USERNAME=root --name phpmyadmin -p 80 corbinu/docker-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
| curl -sSL https://get.docker.com/ | sh | |
| sudo bash | |
| curl -L https://github.com/docker/compose/releases/download/1.4.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose | |
| #https://docs.docker.com/compose/ |
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:ondrej/php5-5.6 | |
| sudo curl -sS https://getcomposer.org/installer | php | |
| #Place the composer executable in a directory included in the system PATH. | |
| sudo mv composer.phar /usr/local/bin/composer | |
| #Ensure {USER} has ownership of files installed in their home directory. | |
| sudo chown -hR {USER}:{USER} ~/ | |
| #Make sure Composer's global bin directory is on the system PATH. | |
| sudo sed -i '1i export PATH="$HOME/.composer/vendor/bin:$PATH"' $HOME/.bashrc | |
| source $HOME/.bashrc |
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
| -Lenovo-G50-30:~$ time rbenv install 2.2.3 && rbenv global 2.2.3 | |
| Downloading ruby-2.2.3.tar.gz... | |
| -> https://dqw8nmjcqpjn7.cloudfront.net/df795f2f99860745a416092a4004b016ccf77e8b82dec956b120f18bdc71edce | |
| Installing ruby-2.2.3... | |
| Installed ruby-2.2.3 to /home/carlos2/.rbenv/versions/2.2.3 | |
| real 15m2.534s | |
| user 14m16.244s | |
| sys 1m10.520s |
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
| echo "options rtl8723be fwlps=N ips=N" | sudo tee /etc/modprobe.d/rtl8723be.conf |
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
| for i in `find . |grep .ppt`;do catppt $i > "$i.txt";done |
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
| convert `ls -1v` file.pdf |
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
| var casper = require('casper').create({ | |
| verbose : true, | |
| logLevel : 'info' | |
| }); | |
| var images = []; | |
| var fs=require("fs") | |
| /** | |
| * Configuration here | |
| */ |
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
| var casper = require('casper').create({ | |
| viewportSize: {width: 950, height: 950} | |
| }); | |
| casper.start('http://www.google.com/', function() { | |
| this.captureSelector('/tmp/pp.png', 'body'); | |
| }); | |
| casper.run(); |
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
| f you try to install any version of Windows from USB falsh drive you may got this error: “Setup was unable to create a new system partition or locate an existing system partition” | |
| I have already found tricky solution for Windows 7 but it didn’t help me with Windows 8.1. | |
| So I have found another solution that will be suitable for any Windows version. | |
| Basically you just need to copy all installation files from USB flash drive to your HDD (or SDD) drive and make it bootable, and then continue installation from HDD to HDD | |
| Step by step instruction: | |