This file contains 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 main | |
import ( | |
"fmt" | |
"math" | |
"regexp" | |
) | |
var removePattern string = `(\s)` | |
var standarPatern string = `` |
This file contains 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
update_data () { | |
printf "[+] Update Data, Please Wait!\n" | |
rm ~/..locate_* | |
sudo find />~/..locate_$(date +%s) 2>/dev/null | |
exit 0 | |
} | |
if [ "$1" = "--update" ]; | |
then | |
update_data |
This file contains 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
FILE=hello_world | |
CONTENT=$(cat <<-END | |
public class $FILE { | |
public static void main(String[] args) { | |
System.out.println( | |
"Excuse me, what the fuck!\\\n" + | |
"U dont know how to build jar by command?" | |
); | |
} | |
} |
This file contains 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
# ......... append these lines into your bashrc file ......... # | |
# run schedule.sh | |
if [ -f $HOME/schedule.sh ]; then | |
echo " __________" | |
echo -e "}~~~~[ SCHEDULE ]" | |
echo " ▔▔▔▔▔▔▔▔▔▔" | |
. $HOME/schedule.sh | |
fi |
This file contains 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
# python3 -m pip install psutil | |
# python3 -m pip install opencv-python | |
import cv2 | |
import copy | |
import os | |
import psutil | |
import time | |
import shutil |
This file contains 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 server classes. | |
Note: BaseHTTPRequestHandler doesn't implement any HTTP request; see | |
SimpleHTTPRequestHandler for simple implementations of GET, HEAD and POST, | |
and CGIHTTPRequestHandler for CGI scripts. | |
It does, however, optionally implement HTTP/1.1 persistent connections, | |
as of version 0.3. | |
Notes on CGIHTTPRequestHandler |
This file contains 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
#include <cmath> | |
#include <string.h> | |
#include <iostream> | |
using namespace std; | |
class Integer { | |
public: | |
char* value[2] = { strdup("0"), strdup("+") }; |