Skip to content

Instantly share code, notes, and snippets.

View amalgamatedclyde's full-sized avatar

Clyde Tressler amalgamatedclyde

View GitHub Profile
@amalgamatedclyde
amalgamatedclyde / gist:11298436
Created April 25, 2014 18:13
logcat output
E/LocSvc_LocAdapterBase( 583): W/virtual void loc_core::LocAdapterBase::reportPosition(UlpLocation&, GpsLocationExtended&, void*, loc_sess_status, LocPosTechMask): default implementation invoked
E/LocSvc_LocAdapterBase( 583): W/virtual void loc_core::LocAdapterBase::reportSv(GpsSvStatus&, GpsLocationExtended&, void*): default implementation invoked
E/LocSvc_LocAdapterBase( 583): W/virtual void loc_core::LocAdapterBase::reportPosition(UlpLocation&, GpsLocationExtended&, void*, loc_sess_status, LocPosTechMask): default implementation invoked
'''
Android GPS
-----------
'''
from plyer.facades import GPS
from plyer.platforms.android import activity
from jnius import autoclass, java_method, PythonJavaClass
Looper = autoclass('android.os.Looper')
Traceback (most recent call last):
[Tue Dec 16 02:13:18.378302 2014] [:error] [pid 7569] [remote 127.0.0.1:0] File "/opt/python/current/app/application.py", line 4, in <module>
[Tue Dec 16 02:13:18.378326 2014] [:error] [pid 7569] [remote 127.0.0.1:0] from moviepy.editor import *
[Tue Dec 16 02:13:18.378335 2014] [:error] [pid 7569] [remote 127.0.0.1:0] File "/opt/python/run/venv/lib/python2.7/site-packages/moviepy/editor.py", line 22, in <module>
[Tue Dec 16 02:13:18.378350 2014] [:error] [pid 7569] [remote 127.0.0.1:0] from .video.io.VideoFileClip import VideoFileClip
[Tue Dec 16 02:13:18.378359 2014] [:error] [pid 7569] [remote 127.0.0.1:0] File "/opt/python/run/venv/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
[Tue Dec 16 02:13:18.378374 2014] [:error] [pid 7569] [remote 127.0.0.1:0] from moviepy.video.VideoClip import VideoClip
[Tue Dec 16 02:13:18.378382 2014] [:error] [pid 7569] [remote 127.0.0.1:0] File "/opt/python/run/venv/lib/python2.7/site
@amalgamatedclyde
amalgamatedclyde / supervisord-example.conf
Created December 5, 2016 22:29 — forked from didip/supervisord-example.conf
Example configuration file for supervisord.conf
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
@amalgamatedclyde
amalgamatedclyde / supervisord.sh
Last active December 10, 2016 14:57 — forked from mhayes/supervisord.sh
init.d for supervisord for Amazon Linux AMI
#!/bin/sh
# Amazon Linux AMI startup script for a supervisor instance
#
# chkconfig: 2345 80 20
# description: Autostarts supervisord.
# Source function library.
. /opt/anaconda2/etc/rc.d/init.d/functions
supervisorctl="/opt/anaconda2/bin/supervisorctl"
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
url
https://slack-imgs.com/?c=1&url=https%3A%2F%2Fscontent-ord1-1.cdninstagram.com%2Ft51.2885-15%2Fe35%2F16789559_383811988664997_8622720864804143104_n.jpg
http://ak2.polyvoreimg.com/cgi/img-set/cid/218897905/id/5mi-Ro4Q5xGz_iYjtn1LOQ/size/y.jpg
http://i57.tinypic.com/aczt39.jpg
https://cdn.lookastic.de/looks/bikerjacke-t-shirt-mit-rundhalsausschnitt-enge-jeans-large-17811.jpg
https://s-media-cache-ak0.pinimg.com/originals/c4/98/10/c49810b58a584d5af0b0b50b66a05e0c.jpg
https://belighter.files.wordpress.com/2013/07/casualrosie_rexfeatures_2596508b.jpg
http://www.gotceleb.com/wp-content/uploads/photos/kirsten-dunst/at-good-friday-family-brunch-in-la/Kirsten-Dunst-at-Good-Friday-family-brunch--02-300x420.jpg
https://images.asos-media.com/products/asos-golden-floral-bardot-midi-dress/7609569-1-multi?$XXL$&wid=513&fit=constrain
http://s4.thingpic.com/images/Ns/nSS9gJX5RsSYCfPgtN3ajgfc.jpeg