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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>HTML Tables</title> | |
| </head> | |
| <body> | |
| <h1>List Colour Flashiz</h1> | |
| <!-- | |
| static NSString *kBlack = @"#000000"; | |
| static NSString *kWhite = @"#ffffff"; |
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
| lsof -i -P | grep -i "listen" | |
| pwdx | |
| func_pwdx.sh | |
| function pwdx { | |
| lsof -a -p $1 -d cwd -n | tail -1 | awk '{print $NF}' | |
| } |
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
| SERVICE_NAME=DimoJ | |
| PATH_TO_JAR=/home/imam/jDimoMD/jDimoMD-1.0.1.jar | |
| PID_PATH_NAME=/home/imam/jDimoMD/jdimo_pid | |
| case $1 in | |
| start) | |
| echo "Starting $SERVICE_NAME ..." | |
| if [ ! -f $PID_PATH_NAME ]; then | |
| nohup java -jar $PATH_TO_JAR /tmp 2>> /dev/null >> /dev/null & | |
| echo $! > $PID_PATH_NAME |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- You may freely edit this file. See commented blocks below for --> | |
| <!-- some examples of how to customize the build. --> | |
| <!-- (If you delete it and reopen the project it will be recreated.) --> | |
| <!-- By default, only the Clean and Build commands use this build script. --> | |
| <!-- Commands such as Run, Debug, and Test only use this build script if --> | |
| <!-- the Compile on Save feature is turned off for the project. --> | |
| <!-- You can turn off the Compile on Save (or Deploy on Save) setting --> | |
| <!-- in the project's Project Properties dialog box.--> | |
| <project name="Edc_merchant" default="default" basedir="."> |
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 apachectl stop | |
| stop | |
| /System/Library/LaunchDaemons/org.apache.httpd.plist: |
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
| Intent intent = new Intent(); | |
| intent.setComponent(new ComponentName("com.example", "com.example.MyExampleActivity")); | |
| startActivity(intent); |
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
| create file | |
| /etc/logrotate.d/tomcat | |
| content tomcat | |
| " | |
| /opt/tomcat7/logs/catalina.out { | |
| copytruncate | |
| daily | |
| rotate 7 |
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
| clear file --> clearcache.sh | |
| echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared' | |
| chmod 755 clearcache.sh | |
| crontab -e | |
| 0 3 * * * /path/to/clearcache.sh |
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
| touch Cartfile | |
| github "Alamofire/Alamofire" == 2.0 | |
| github "SwiftyJSON/SwiftyJSON" ~> 2.3.0 | |
| carthage update --platform iOS | |
| add run scrypt | |
| Build Phases |
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
| import java.util.*; | |
| public class Main { | |
| // 23,60,36 | |
| public static int getint() | |
| { | |
| Random randomGenerator = new Random(); |
OlderNewer