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
#!/usr/bin/env bash | |
# Created by LYNN | |
# At 2018-07-06 09:24:56 | |
# | |
# Usage: | |
# px2rpx.sh { path } | |
# | |
# Example: | |
# cd { project root path } | |
# tools/px2rpx.sh by_mini/pages/address |
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
fastboot oem fb_mode_set | |
fastboot erase userdata | |
fastboot erase carrier | |
fastboot flash partition gpt.bin | |
fastboot flash bootloader bootloader.img | |
fastboot flash modem NON-HLOS.bin | |
fastboot flash fsg fsg.mbn | |
fastboot erase modemst1 | |
fastboot erase modemst2 | |
fastboot flash dsp adspso.bin |
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
https://github.com/flutter/flutter/blob/73275f08155aeca9d4719bf685499957091a7a09/packages/flutter_tools/lib/src/doctor.dart#L804 |
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
live: | |
tshark -i eth0 -aduration:60 -d tcp.port==3306,mysql -T fields -e mysql.query 'port 3306' | |
capture: | |
tcpdump -i eth0 port 3306 -s 1500 -w tcpdump.out | |
tshark -r tcpdump.out -d tcp.port==3306,mysql -T fields -e mysql.query > query_log.out |
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
var wheelEvt = "onwheel" in document.createElement("div") ? "wheel" : | |
document.onmousewheel !== undefined ? "mousewheel" : | |
"DOMMouseScroll"; |
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
mount -t vboxsf -o uid=$UID,gid=$(id -g),dmode=644,fmode=644 Developer /opt/Developer/ | |
mount -t vboxsf -o uid=48,gid=48,dmode=755,fmode=644 Developer /opt/www |
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
<project> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.c9n.mini</groupId> | |
<artifactId>demo</artifactId> | |
<version>0.1.0</version> | |
</project> |
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
import java.util.HashSet; | |
import java.util.Set; | |
class Untitled { | |
public static void main(String[] args) { | |
Set<String> s1 = new HashSet<String>(); | |
s1.add("a"); | |
s1.add("b"); | |
Set<String> s2 = new HashSet<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
trie: main.cpp Makefile | |
clang++ -O3 -std=c++11 -stdlib=libc++ -Wall -o trie main.cpp -lboost_system |
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
server { | |
server_name demo.abc.com; | |
root /opt/dccc; | |
index index.php index.html index.htm; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} |
NewerOlder