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
| 0 :成功 | |
| -1 :不成功 | |
| 1 :无需更变 |
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
| android.useAndroidX=true | |
| org.gradle.daemon=true | |
| kotlin.incremental=true | |
| org.gradle.jvmargs=-Xmx16384m -XX:MaxPermSize=16384m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:-UseGCOverheadLimit | |
| org.gradle.parallel=true |
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 *.flac -type f|xargs -I file metaflac --import-picture-from=cover.jpg file | |
| find *.flac -type f -print0|xargs -0 metaflac --import-picture-from=cover.jpg |
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
| kind: pipeline | |
| type: docker | |
| name: android | |
| steps: | |
| - name: restore-cache | |
| image: drillster/drone-volume-cache | |
| volumes: | |
| - name: cache | |
| path: /drone/src/cache | |
| settings: |
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
| package main | |
| import ( | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| "os" | |
| path2 "path" |
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 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| @override |
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
| #!/bin/sh | |
| curl https://trackerslist.com/all.txt >> tmp | |
| curl https://ngosang.github.io/trackerslist/trackers_all.txt >> tmp | |
| sed -i -r '/^$/d' tmp | |
| sed -i -r 's/$/,/g' tmp | |
| sed -i ':a;N;$!ba;s/,\n/,/g' tmp | |
| list=$(cat tmp|rev|cut -c 2-|rev) | |
| sed -i -r "s#bt-tracker=.*#bt-tracker=$list#g" aria2.conf | |
| rm tmp |
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 sys | |
| from zipfile import ZipFile | |
| def compareFiles(first, second): | |
| while True: | |
| firstBytes = first.read(4096); | |
| secondBytes = second.read(4096); | |
| if firstBytes != secondBytes: | |
| return False |
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
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "log" | |
| "net" | |
| ) | |
| var buff = make([]byte, 1000, 1000) |
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
| #!/data/data/com.termux/files/usr/bin/sh | |
| /data/data/com.termux/files/home/adb connect 127.0.0.1 |
NewerOlder