Restore a git server repository from a client

Categories: Hacks

On the server side, create an empty git repository: git init –bare On the client set the new origin and push everything to the server: git remote set-url origin newurl git push origin master git branch –set-upstream-to=origin/master master

Cyanogenmod 12.1 (Android Lollipop) turn on/off mobile data with Tasker

Categories: Hacks

I’ve flashed a Samsung Galaxy S4 (i9505) with Cyanogenmod with YOG7DAO1JN snapshot (cm-12.1-20151117-SNAPSHOT-YOG7DAO1JN-jfltexx.zip). On my previuos phone (a Galaxy Nexus with Cyanogenmod 11) i used to have Tasker to toggle mobile data on/off for a couple of minutes every hour. Guess what? I can’t do it on Android Lollipop (lol?). There’s an easy trick to […]