Skip to content

Instantly share code, notes, and snippets.

View gist:7a529585159a24051d64
OtrChatManager V setPolicy: 59
HockeyApp D Looking for exceptions in: /data/data/info.guardianproject.otr.app.im/files
D Current handler class = net.hockeyapp.android.ExceptionHandler
OtrChatManager V getSessionId: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
V getSessionId: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
V getSessionStatus: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
OtrChatManager V getSessionId: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
V getSessionId: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
V getSessionStatus: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
V getSessionId: gptest@jabber.org/ChatSecure-730b7561 gptest@limun.org
@eighthave
eighthave / gist:c6deb99eb0198f0283f1
Created Nov 10, 2014
limun.org/Gajim <--> jabber.org/ChatSecure session
View gist:c6deb99eb0198f0283f1
OtrChatManager V getSessionStatus: gptest@jabber.org/ChatSecure-20bbf32c gptest@limun.org/Gajim
V getSessionId: gptest@jabber.org/ChatSecure-20bbf32c gptest@limun.org/Gajim
V getSessionId: gptest@jabber.org/ChatSecure-20bbf32c gptest@limun.org/Gajim
OtrChatListener V onIncomingMessage: ?OTR:AAIDAAAAAAEAAAABAAAAwEKxAWhVGJrEePyiZBQxfjStAGWG0eK+uvOHTm3a5k8Osd1grUdz9m+V40nkPV29l+5K/M4jyAG00SlXiY4Ds/WpYfyzupmt0PZcOf6o60HClTqmln4MhmFWML1AuxEc+JYELU0j
lNIlMso89SgzELM1+UIy637d7RzcBuJQxVB+OzIthHv1HrgwGShPhICyxmfY7mpFDYTzK+rZzNhUN9S/SpLvd/bL6K5MncL7iXhnXPbHraQU/IJg70S+6AJriAAAAAAAAAAQAAAAC5tfjzhKRFThQU2B4+muwdr5bgiYpJ7jtMceDHxnWecA
AAAA.
OtrChatManager V getSessionId: gptest@jabber.org/ChatSecure-20bbf32c gptest@limun.org/Gajim
V getSessionStatus: gptest@jabber.org/ChatSecure-20bbf32c gptest@limun.org/Gajim
V decryptMessage: gptest@jabber.
View configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for gnupg 2.1.1-unknown.
#
# Report bugs to <http://bugs.gnupg.org>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
@eighthave
eighthave / gist:ac32ba94618731d1fcd4
Created Feb 24, 2015
chatsecure single account auto-signs in
View gist:ac32ba94618731d1fcd4
WelcomeActivity I doOnResume
I accountsSignedIn
I accountsSignedIn: gptest
I isSignedIn gptest OFFLINE
I accountsAvailable
I accountsAvailable: gptest
I accountsConfigured: gptest
I doOnResume countSignedIn 0 countAvailable 1 countConfigured 1
SignInHelper I setSignInListener
WelcomeActivity I signInAll
@eighthave
eighthave / fdroidserver.rb
Created Aug 6, 2015
Homebrew Formula for the F-Droid app repo tools aka fdroidserver
View fdroidserver.rb
class Fdroidserver < Formula
desc "Tools for creating and managing Android app repositories for F-Droid"
homepage "https://f-droid.org/"
url "https://pypi.python.org/packages/source/f/fdroidserver/fdroidserver-0.4.0.tar.gz"
sha256 "89742f2e03e082c9d185835dbb4f166dade19a0e257b247a6e0bca3b4fd9b523"
depends_on :java => "1.7"
depends_on "libmagic" => :recommended
depends_on "libyaml"
depends_on :python if MacOS.version <= :snow_leopard
View Telephone_2012-01-16-172558_palatschinken-3.crash
Process: Telephone [2263]
Path: /Applications/Telephone.app/Contents/MacOS/Telephone
Identifier: com.tlphn.Telephone
Version: 1.0.2 (102)
Code Type: X86-64 (Native)
Parent Process: launchd [1201]
Date/Time: 2012-01-16 17:25:52.605 -0500
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@eighthave
eighthave / gist:2407381
Created Apr 17, 2012
@guardianproject.info on gibberbot
View gist:2407381
04-17 12:33:06.580: W/System.err(17158): java.net.SocketException: Socket closed
04-17 12:33:06.580: W/System.err(17158): XMPPError establishing connection with server.: remote-server-error(502) XMPPError establishing connection with server.
04-17 12:33:06.580: W/System.err(17158): -- caused by: javax.net.ssl.SSLHandshakeException: root certificate not trusted of [hyper.to]
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.XMPPConnection.initReaderAndWriter(XMPPConnection.java:674)
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:810)
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
04-17 12:33:06.580: W/System.err(17158): Nested Ex
@eighthave
eighthave / gist:3307644
Created Aug 9, 2012
gnupg-for-android doesn't start
View gist:3307644
08-09 16:05:57.287: I/NativeHelper(14578): Finished NativeHelper.setup()
08-09 16:05:57.357: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0
08-09 16:05:57.367: D/dalvikvm(14578): Added shared lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0
08-09 16:05:57.367: D/dalvikvm(14578): No JNI_OnLoad found in /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0, skipping init
08-09 16:05:57.367: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0
08-09 16:05:57.377: D/dalvikvm(14578): Added shared lib /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0
08-09 16:05:57.377: D/dalvikvm(14578): No JNI_OnLoad found in /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0, skipping init
08-09 16:05:57.377: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpgme.s
View conflict-files.txt
`ls -l > /tmp/conflict-files.txt`
total 4340
drwxr-xr-x 2 hans hans 4096 May 15 19:48 Google Play Store Screenshots
-rw-r--r-- 1 hans hans 14181 Jun 3 16:32 GPGTools (Hans-Christoph Steiner, Jun 3 16h32).png
-rw-r--r-- 1 hans hans 14181 Jun 3 16:32 GPGTools (Hans-Christoph Steiner, Jun 3 16h33).png
-rw-r--r-- 1 hans hans 14181 Jun 3 16:33 GPGTools (Hans-Christoph Steiner, Jun 3 16h34).png
-rw-r--r-- 1 hans hans 14181 Jun 3 16:34 GPGTools (Hans-Christoph Steiner, Jun 3 16h35).png
-rw-r--r-- 1 hans hans 14181 Jun 3 16:35 GPGTools (Hans-Christoph Steiner, Jun 3 16h36).png
-rw-r--r-- 1 hans hans 14181 Jun 3 16:36 GPGTools (Hans-Christoph Steiner, Jun 3 16h37).png
@eighthave
eighthave / gist:5777441
Created Jun 13, 2013
I get email from accounts, then use that to look up display name
View gist:5777441
String email = null;
// get email address from first system account that looks like an email
AccountManager manager = AccountManager.get(this);
for (Account account : manager.getAccounts())
if (account.name.contains("@") && account.name.contains(".")) {
email = account.name;
EditText keyEmail = (EditText) findViewById(R.id.keyEmail);
keyEmail.setText(email);
break;