Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View akkana's full-sized avatar

Akkana Peck akkana

View GitHub Profile
#!/usr/bin/env python3
import requests
request_keys = [ 'spd1', 'spd2', 'spd3', # Speeds at 12, 23 and 46 m height
'sdspd1', 'sdspd2', 'sdspd3', # sdev of wind speeds
'dir1', 'dir2', 'dir3', # wind directions 12, 23, 46 m
'sddir1', 'sddir2', 'sddir3', # sdev of wind directions
'w1', 'w2', 'w3', # vertical wind speeds
'sdw1', 'sdw2', 'sdw3', # stdev of vertical wind sp
@akkana
akkana / testlanlweather.py
Last active July 29, 2021 18:33
Test of downloading data from the Weather Machine
#!/usr/bin/env python3
import requests
request_keys = [ 'spd1', 'spd2', 'spd3', # Speeds at 12, 23 and 46 m height
'sdspd1', 'sdspd2', 'sdspd3', # sdev of wind speeds
'dir1', 'dir2', 'dir3', # wind directions 12, 23, 46 m
'sddir1', 'sddir2', 'sddir3', # sdev of wind directions
'w1', 'w2', 'w3', # vertical wind speeds
'sdw1', 'sdw2', 'sdw3', # stdev of vertical wind sp
<html>
<head>
<title>innerHTML Leak</title>
</head>
<body>
<h1>innerHTML Leak</h1>
<p id="thecontent">
@akkana
akkana / fbreader-logcat.txt
Created August 12, 2015 14:58
logcat when fbreader crashes on a book created iwth Calibre
I/ActivityManager( 795): Starting activity: Intent { act=android.fbreader.action.VIEW flg=0x4000000 cmp=org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (has extras) }
V/Activity( 1611): performResume()
D/EPD#EPD ( 1611): resetRegion 4
D/NATIVE-EPD( 1611): epd_reset_region: 0x10
D/SurfaceFlinger( 795): Frame buffer posted; elapsed time = 62 msecs
D/EPD#EPD ( 1611): resetRegion 5
D/NATIVE-EPD( 1611): epd_reset_region: 0x20
D/EPD#EPD ( 1611): resetRegion 6
D/NATIVE-EPD( 1611): epd_reset_region: 0x40
D/EPD#EPD ( 1611): resetRegion 7
@akkana
akkana / GIMP FAQ
Last active August 29, 2015 14:15 — forked from prokoudine/GIMP FAQ.md
# General questions
**Can I use GIMP commercially?**
Yes, you can. GIMP is free software, it doesn't put restrictions on the kind
of work you produce with it.
**What's the GIMP's license, and how do I comply with it?**
GIMP is distributed under terms of General Public License v3 and later. In a