Skip to content

Instantly share code, notes, and snippets.

@ligi
ligi / mail.txt
Created August 11, 2015 19:24
Pass2U violates PassAndroid GPL
Hi,
We just use part of your code to get airpalne boarding passes.
Others are developed by us. We will remove them in the next
version. Thanks for your notification again.
Pass2U Service Team
2015-08-11 8:50 GMT+08:00 ligi <ligi@ligi.de>:
Categories:Navigation
License:Apache
Web Site:https://github.com/raphaelm/c3nav-android/blob/master/README.md
Source Code:https://github.com/raphaelm/c3nav-android/
Issue Tracker:https://github.com/raphaelm/c3nav-android/issues
Auto Name:C3Nav
Summary:Navigation in C3 events ( 32C3 )
Description:
NoMoKeTo built an indoor router planner tool for the 32nd Chaos Communication Congress that is available at https://c3nav.de
fun main(args: Array<String>) {
val sourceXmlPath = File("/home/ligi/git/VectorDrawableImport/plugin/src/main/resources/data/xml")
val resourcePath=File("/home/ligi/git/PassbookForAndroid/android/src/main/res")
val map = sourceXmlPath.walk().map { it.name.replace(".xml", "") }
val filesToAdd = HashSet<File>()
val filesToRemove = HashSet<File>()
Unhandled rejection TypeError: Cannot read property 'error_description' of null
at t.Login.h.value (https://2016.spaceappschallenge.org/static/app.bundle.js:104:18737)
at b.updateComponent (https://2016.spaceappschallenge.org/static/app.bundle.js:180:6216)
at b.receiveComponent (https://2016.spaceappschallenge.org/static/app.bundle.js:180:5693)
at Object.i.receiveComponent (https://2016.spaceappschallenge.org/static/app.bundle.js:10:20029)
at b._updateRenderedComponent (https://2016.spaceappschallenge.org/static/app.bundle.js:180:7367)
at b._performComponentUpdate (https://2016.spaceappschallenge.org/static/app.bundle.js:180:7128)
at b.updateComponent (https://2016.spaceappschallenge.org/static/app.bundle.js:180:6406)
at b.performUpdateIfNecessary (https://2016.spaceappschallenge.org/static/app.bundle.js:180:5935)
at Object.i.performUpdateIfNecessary (https://2016.spaceappschallenge.org/static/app.bundle.js:10:20183)
➜ webthree-umbrella git:(develop) ✗ cmake mix -DCMAKE_PREFIX_PATH=/home/ligi/bin/qt/5.4/gcc_64
-- boost headers: /usr/include
-- boost lib : /usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_random.so;/usr/lib/x86_64-linux-gnu/libpthread.so
------------------------------------------------------------------------
-- Configuring mix
------------------------------------------------------------------------
-- CMake Version 3.2.2
-- CMAKE_BUILD_TYPE Build type
-- TARGET_PLATFORM Target platform Linux
@ligi
ligi / splitter.rb
Created April 22, 2016 00:18
splitter
file = File.open("list.csv", "rb")
contents = file.read
contents.each_line do |line|
print line.split(",")[1] + ","
end
➜ fdroiddata git:(master) ✗ ../3rd/fdroidserver/fdroid build org.ligi.ipfsdroid
Traceback (most recent call last):
File "../3rd/fdroidserver/fdroid", line 23, in <module>
import fdroidserver.common
File "/home/ligi/git/3rd/fdroidserver/fdroidserver/common.py", line 43, in <module>
import fdroidserver.metadata
File "/home/ligi/git/3rd/fdroidserver/fdroidserver/metadata.py", line 29, in <module>
import yaml
ImportError: No module named 'yaml'
➜ espass.github.io git:(master) ✗ rbenv version
2.1.2 (set by RBENV_VERSION environment variable)
➜ espass.github.io git:(master) ✗ rbenv shell 2.1.2
➜ espass.github.io git:(master) ✗ bundle exec jekyll serve --trace
Configuration file: /home/ligi/git/espass.github.io/_config.yml
/usr/lib/ruby/vendor_ruby/jekyll/configuration.rb:246:in `block in backwards_compatibilize': undefined method `map!' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/vendor_ruby/jekyll/configuration.rb:238:in `each'
from /usr/lib/ruby/vendor_ruby/jekyll/configuration.rb:238:in `backwards_compatibilize'
from /usr/lib/ruby/vendor_ruby/jekyll/configuration.rb:189:in `read_config_files'
from /var/lib/gems/2.3.0/gems/jekyll-3.0.5/lib/jekyll.rb:101:in `configuration'
⋊> ~ ipfs refs -r QmRMHb4Vhv8LtYqw8RkDgkdZYxJHfrfFeQaHbNUqJYmdF2 11:24:43
QmZ5f7ZHzniVxFkPKAb5ZSH7XrFrEc92myCrJ6V4vknvAm
QmZy1XPQaPgZ3sqQZ7asqGLHafZKA2mZoJRg9MWqVDqYXe
QmZEAZv7CgDP6rweBy6spBpXGridddNXPFz8f8zF38YtzC
QmYJ7XdyyXJFAEMAEG917kGb7jQ5N5ZGLvvXJXxEfMq4hm
QmS8wLpkAaVhUMqpmZfexWKWLWr9maB6hDVvm3XgNcQnqK
QmaxB23PgZZEH4niLQKqtQLeiXdJKD9pBDu8mvCsy3rXwR
QmaBFcix2KG3zUnuPXbSahMEd5VYvmP4iFU5BAiz5xqddM
QmVJ5Q24SiVWtvuveKnKddUhjmHFLqZA2dXiZGgUUTLWFy
QmXc6c46mCNKkHcBXp3X6bAGupVQ6RxxiANSP4aHJMCR5U
mkdir /tmp/workspace
cd /tmp/workspace/
export GOPATH=/tmp/workspace/
export PATH=$GOPATH/bin:$PATH
go get -d github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
make toolkit_upgrade
make deps
xgo --targets=android-16/* ./cmd/ipfs