Skip to content

Instantly share code, notes, and snippets.

View juliancorrea's full-sized avatar
🏠
Working from home

Julian Correa juliancorrea

🏠
Working from home
View GitHub Profile
# The first parameter $1 must be orgs or users
# The second one $2 must be your username or orgnatization name
# The third one $3 must be your username
# The fourth one $4 must be your github auth token
#
# Set CNTX=users and NAME=yourusername, to download all your repositories.
# Set CNTX=orgs and NAME=yourorgname, to download all repositories of your organization.
#
# Script inspired by https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github/32833411#32833411
#
@juliancorrea
juliancorrea / example-register-and-unregister-SIP-linphone.txt
Last active March 3, 2020 13:28
Register and Unregister on SIP - Linphone
private void sendUnregister() {
try {
Core core = LinphoneManager.getCore();
if (core != null) {
ProxyConfig[] proxyConfigs = core.getProxyConfigList();
for (ProxyConfig config : proxyConfigs) {
if (config != null) {
config.edit();
config.enablePublish(true);