Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am peter-kolenic on github.
  • I am koli (https://keybase.io/koli) on keybase.
  • I have a public key ASCqS9z8CbWffwAzd8mV484_k4sl2Rq4JeAhymQKl3WZWwo

To claim this, I am signing this object:

@peter-kolenic
peter-kolenic / shell log
Created May 18, 2015 04:18
gae-init-babel - RuntimeError - python setup.py import_cldr
vagrant@gae-init:/opt/src$ git clone https://github.com/gae-init/gae-init-babel.git
Cloning into 'gae-init-babel'...
remote: Counting objects: 11630, done.
remote: Total 11630 (delta 0), reused 0 (delta 0), pack-reused 11630
Receiving objects: 100% (11630/11630), 10.35 MiB | 579.00 KiB/s, done.
Resolving deltas: 100% (6250/6250), done.
Checking connectivity... done.
vagrant@gae-init:/opt/src$ cd gae-init-babel/
vagrant@gae-init:/opt/src/gae-init-babel$ git log -1
commit 80a353653e15979c4692319804e9f657020bc9c0
@peter-kolenic
peter-kolenic / gist:9db326f3c14e06a15586
Created May 14, 2015 21:31
gae-init feredater login stuckness scenario
I want to make facebook login available, and when given an option in Application Settings, i choose
"Authentication Type": "Federated login" - it feels like strict superset of "Google Accounts API"
- https://appengine.google.com/settings:
Authentication Type -> federated login
- not yet enabled API: Identity ID
- incognito window ->
- Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.
- no error in logs
@peter-kolenic
peter-kolenic / [a) 6], error in appengine log - when Authentication Type: Google Accounts API
Created May 14, 2015 04:19
missing client_id in authentication request (google+) - the way i try to do initial deploy of gae-init
2015-05-14 05:42:57.128 /api/auth/callback/google/?code=_SOME_CODE_HERE_ 500 106ms 0kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:37.0) Gecko/20100101 Firefox/37.0 module=default version=1
92.245.6.37 - - [13/May/2015:20:42:57 -0700] "GET /api/auth/callback/google/?code=_SOME_CODE_HERE_ HTTP/1.1" 500 0 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:37.0) Gecko/20100101 Firefox/37.0" "kampan-kostitras-test.appspot.com" ms=107 cpu_ms=60 cpm_usd=0.000065 app_engine_release=1.9.21 instance=00....14
D 2015-05-14 05:42:57.077
Prepare oauth2 remote args {'client_secret': u'', 'code': u'_SOME_CODE_HERE_', 'redirect_uri': 'http://kampan-kostitras-test.appspot.com/api/auth/callback/google/'}
D 2015-05-14 05:42:57.078
Request 'https://accounts.google.com/o/oauth2/token' with 'POST' method
E 2015-05-14 05:42:57.093
sequence index must be integer, not 'str'
Traceback (most recent call last):
File "lib.zip/flask/app.py", line 1475, in full_dispatch_request
@peter-kolenic
peter-kolenic / README
Last active August 29, 2015 14:19
Dropbox 3.4.3 problem on OS X 10.7.5
Dropbox 3.4.3 on OS X 10.7.5 exits after few seconds with error in AuthenticationThread, tray icon disapears.
You can confirm by running this in Terminal.app:
grep -h -A7 'Crashed Thread:' ~/Library/Logs/DiagnosticReports/Dropbox_*
output: lines of:
Crashed Thread: <SOME_NUMBER> Dropbox::AuthenticationThread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
@peter-kolenic
peter-kolenic / gist:2e20ce41f0d6e6f6eeb2
Last active August 29, 2015 14:13
busybox options -I IP, --server-filter IP for https://github.com/imincik/gis-lab/issues/333: patch against ubuntu precise package
diff --git a/debian/config/pkg/deb b/debian/config/pkg/deb
index 506256e..d9f989a 100644
--- a/debian/config/pkg/deb
+++ b/debian/config/pkg/deb
@@ -831,6 +831,7 @@ CONFIG_UDHCP_DEBUG=0
CONFIG_FEATURE_UDHCP_RFC3397=y
CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script"
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
+CONFIG_FEATURE_UDHCPC_FILTER=y
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS=""
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
index dcd493f..bfe29de 100644
--- a/networking/udhcp/Config.src
+++ b/networking/udhcp/Config.src
@@ -130,3 +130,11 @@ config UDHCPC_SLACK_FOR_BUGGY_SERVERS
maximum size of entire IP packet, and sends packets which are
28 bytes too large.
Seednet (ISP) VDSL: sends packets 2 bytes too large.
+
+config FEATURE_UDHCPC_FILTER