Skip to content

Instantly share code, notes, and snippets.

View ntcong's full-sized avatar

Cong Nguyen ntcong

View GitHub Profile
@smb
smb / gist:83344889ec5856cde601
Created September 3, 2014 09:55
authy - import google authenticator data
adb shell
adb> su
adb> sqlite3 /data/data/com.google.android.apps.authenticator2/databases/databases
adb> select 'otpauth://totp/' || email || '?secret=' || secret from accounts;
for-each $result:
qrcode.exe -s 10 -o qrCode.png $result
@dctrwatson
dctrwatson / JenkinsDiffEventListener.php
Last active January 11, 2020 22:56
Jenkins Phabricator Inegration
<?php
/*
* Copyright 2013 Disqus, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0