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
| //Copy/Export a Large Database | |
| mysqldump -u [USERNAME] -p [DBNAME] | gzip > [/path_to_file/DBNAME].sql.gz | |
| //Import a Large Database | |
| //First, unzip the file. | |
| //gzip -d [/path_to_file/DBNAME].sql.gz | |
| mysql -u root -p | |
| SHOW DATABASES; | |
| CREATE DATABASE [DBNAME]; | |
| USE [DBNAME]; | |
| SOURCE [/path_to_file/DBNAME].sql; |
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
| nginx -t && service nginx reload | |
| service nginx status # to poll for current status | |
| service nginx stop # to stop any servers if any | |
| service nginx start # to start the server |
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
| Index: imageapi_gd.module | |
| =================================================================== | |
| RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.module,v | |
| retrieving revision 1.13.2.7 | |
| diff -u -r1.13.2.7 imageapi_gd.module | |
| --- imageapi_gd.module 17 Apr 2009 00:15:21 -0000 1.13.2.7 | |
| +++ imageapi_gd.module 8 Oct 2009 21:05:23 -0000 | |
| @@ -27,6 +27,15 @@ | |
| '#default_value' => variable_get('imageapi_jpeg_quality', 75), | |
| '#field_suffix' => '%', |
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
| (づ。◕‿‿◕。)づ*:・゚✧*:・゚✧ |
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
| netstat -antp | |
| ps aux | grep node | |
| kill -9 |
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
| dpkg -l | grep ssh |
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
| ps aux | grep sshd |
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 netstat -nap | grep :22 |
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
| derby new hello-derby | |
| cd hello-derby | |
| npm start |
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
| git clone.. | |
| cd .. | |
| npm install | |
| npm start |