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 <[email protected]>
# Thanks to: Tiago Carrondo <[email protected]>
# Thanks to: Romain Fluttaz <[email protected]>
# Thanks to: Wayne Ward <[email protected]>
# Thanks to: Mitchell Reese <[email protected]>
# --------------- [ Server ] ---------------- #
CAL_URL="https://..." # add the caldav URL here
@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 \