Skip to content

Instantly share code, notes, and snippets.

@dubiao
dubiao / SOGO-Syncevolution-Syncscript.sh
Created October 16, 2019 05:18 — forked from bastos77/SOGO-Syncevolution-Syncscript.sh
ubuntu touch SOGo-syncevolution syncronisation script
#!/bin/bash
# This script is a draft combination of the script found at https://gist.github.com/tcarrondo
# It is what I have done to make it work for my Fairphone 2 with UBports ubuntu touch 16.04
# Combined by me: Sebastian Gallehr <sebastian@gallehr.de>
# Thanks to: Tiago Carrondo <tcarrondo@ubuntu.com>
# Thanks to: Romain Fluttaz <romain@botux.fr>
# Thanks to: Wayne Ward <info@wayneward.co.uk>
# Thanks to: Mitchell Reese <mitchell@curiouslegends.com.au>
# --------------- [ Server ] ---------------- #
CAL_URL="https://..." # add the caldav URL here
@dubiao
dubiao / quick-rn-guide
Last active May 14, 2019 11:32
List the files that quick-in-rn/podspec repo cares about
#File Tree
.
├── package.json
├── DoubleConversion.podspec
├── Folly.podspec
├── glog.podspec
├── yoga.podspec
├── scripts
│ ├── ios-configure-glog.sh
│ └── ios-install-third-party.sh
@dubiao
dubiao / autopac.sh
Created May 31, 2016 04:16 — forked from lwr/autopac.sh
使用 https://github.com/clowwindy/gfwlist2pac 生成自定义 PAC 的辅助脚本
#!/bin/bash
GFWLIST=https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt
PROXY=127.0.0.1:7070
cd `dirname "${BASH_SOURCE[0]}"`
echo "Downloading gfwlist from $GFWLIST"
curl "$GFWLIST" --socks5-hostname "$PROXY" > /tmp/gfwlist.txt
/usr/local/bin/gfwlist2pac \
--input /tmp/gfwlist.txt \