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
kill $(ps aux | grep '[p]hp /var/www/html/filename.php' | awk '{print $2}') |
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 . -type f -delete |
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://adw0rd.com/2009/6/7/mysqldump-and-cheat-sheet/#.UjsDbiIW2sA | |
http://tobyho.com/2010/11/22/javascript-constructors-and/ | |
http://addyosmani.com/resources/essentialjsdesignpatterns/book/#modulepatternjavascript | |
http://gafferongames.com/networking-for-game-programmers/ | |
http://gameprogrammingpatterns.com/index.html | |
https://developers.google.com/web/fundamentals/ | |
http://www.dofactory.com/javascript/abstract-factory-design-pattern |
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
function PhysicsBody( aNode ) { | |
this.userData = aNode; | |
} | |
PhysicsBody.prototype.pbMethod = function () {}; | |
function DynamicBody( aNode ) { | |
PhysicsBody.call( this, aNode ); | |
} |
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
#!/usr/bin/php | |
<?php | |
if( basename($argv[0]) == basename(__FILE__) ) { | |
echo "\n-----main------\n\n"; | |
} | |
?> |
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
1.Create desktop config file | |
sudo nano /usr/share/applications/smartsvn.desktop | |
2. Put the text below | |
[Desktop Entry] | |
Name=SmartSVN | |
Name[en]=SmartSVN | |
Name[ru]=SmartSVN |
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
chmod 600 ~/.ssh/id_rsa |
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
version: '3' | |
services: | |
db: | |
image: postgres:13 | |
volumes: | |
- db-data:/var/lib/postgresql/data/pgdata | |
ports: | |
- 5432:5432/tcp | |
environment: | |
- POSTGRES_PASSWORD=odoo |
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
rm -rf android/app/build/outputs/apk/debug/* |
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
1. Check existed avds | |
emulator -list-avds | |
2. Run (in my case it is Nexus_5X_API_28_x86) | |
emulator -avd Nexus_5X_API_28_x86 |
OlderNewer