Skip to content

Instantly share code, notes, and snippets.

View flubber.py
# Indented the way I did it
def main():
subp_cmds = []
subp_cmds['grid']['parser'].add_argument('--separate_inout', # noqa
action='store_const', const=True, default=False, # noqa
help='Show incoming and outgoing on separate lines of the grid' # noqa
)
# Indented the way the linter wanted
View v0.6-92-g2dd77564684c boot log
U-Boot SPL 2017.05-armbian (Jun 15 2017 - 03:38:31)
DRAM: 512 MiB
Trying to boot from MMC1
U-Boot 2017.05-armbian (Jun 15 2017 - 03:38:31 +0200) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM: 512 MiB
View 10config.sh
# See if there is any config to restore
try_dev() {
echo mknod /dev/$1 b $2 $3
# mount /dev/$1 /mnt -o ro
# next if error
# for j in $mnt/conf.d/*.tar.gz
# tar xf $j etc
# for j in $mnt/conf.d/*.sh
# source $j
View Pocket-Ubuntu-kernel-v4.12-rc2.diff
diff --git a/README.md b/README.md
new file mode 100644
index 000000000000..cdc1117ba008
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# Pocket-Ubuntu-kernel
+Pocket-Ubuntu-kernel4.12
diff --git a/config_default b/config_default
new file mode 100644
View g4uj30us.iso.diff
--- g4uj30us.iso.orig.hex 2016-04-27 18:44:50.102024766 +1000
+++ g4uj30us.iso.hex 2016-04-27 18:44:39.213839025 +1000
@@ -8554,8 +8554,8 @@
00021690 00 00 00 00 00 00 00 00 9f 1b 44 00 85 24 00 00 |..........D..$..|
000216a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000216b0 00 00 48 41 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..HA...l.:I.{...|
-000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000216d0 00 00 88 38 00 00 e9 92 84 38 4a 00 3a 00 00 00 |...8.....8J.:...|
+000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 8e 95 |AUTOEXECBAT ....|
+000216d0 9b 48 9b 48 00 00 8e 95 9b 48 4a 00 17 02 00 00 |.H.H.....HJ.....|
View gcuj24us.iso.diff
--- gcuj24us.iso.orig.hex 2016-04-27 18:15:25.047912245 +1000
+++ gcuj24us.iso.hex 2016-04-27 18:15:13.511714942 +1000
@@ -8554,8 +8554,8 @@
00021690 00 00 00 00 00 00 00 00 9f 1b 44 00 85 24 00 00 |..........D..$..|
000216a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000216b0 00 00 48 41 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..HA...l.:I.{...|
-000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000216d0 00 00 88 38 00 00 e9 92 84 38 4a 00 3a 00 00 00 |...8.....8J.:...|
+000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 33 91 |AUTOEXECBAT ..3.|
+000216d0 9b 48 9b 48 00 00 33 91 9b 48 4a 00 0e 02 00 00 |.H.H..3..HJ.....|
View g5uj28us.iso.diff
--- g5uj28us.iso.orig.hex 2016-04-27 17:28:53.868193919 +1000
+++ g5uj28us.iso.hex 2016-04-27 17:28:43.400011335 +1000
@@ -8554,8 +8554,8 @@
00021690 00 00 00 00 00 00 00 00 9f 1b 44 00 85 24 00 00 |..........D..$..|
000216a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000216b0 00 00 48 41 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..HA...l.:I.{...|
-000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000216d0 00 00 88 38 00 00 e9 92 84 38 4a 00 3a 00 00 00 |...8.....8J.:...|
+000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 90 8b |AUTOEXECBAT ....|
+000216d0 9b 48 9b 48 00 00 90 8b 9b 48 4a 00 0d 02 00 00 |.H.H.....HJ.....|
View g7uj18us.iso.diff
--- g7uj18us.iso.orig.hex 2016-04-27 17:27:53.147134773 +1000
+++ g7uj18us.iso.hex 2016-04-27 17:27:41.682934788 +1000
@@ -8554,8 +8554,8 @@
00021690 00 00 00 00 00 00 00 00 9f 1b 44 00 85 24 00 00 |..........D..$..|
000216a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000216b0 00 00 48 41 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..HA...l.:I.{...|
-000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000216d0 00 00 88 38 00 00 e9 92 84 38 4a 00 3a 00 00 00 |...8.....8J.:...|
+000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 6f 8b |AUTOEXECBAT ..o.|
+000216d0 9b 48 9b 48 00 00 6f 8b 9b 48 4a 00 0e 02 00 00 |.H.H..o..HJ.....|
View g1uj38us.iso.diff
--- g1uj38us.iso.orig.hex 2016-04-27 17:24:42.459807674 +1000
+++ g1uj38us.iso.hex 2016-04-27 17:24:29.723585400 +1000
@@ -9258,8 +9258,8 @@
00024290 00 00 2c 48 00 00 00 00 9f 1b 44 00 85 24 00 00 |..,H......D..$..|
000242a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000242b0 00 00 33 45 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..3E...l.:I.{...|
-000242c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000242d0 00 00 33 45 00 00 a3 58 45 42 4a 00 3a 00 00 00 |..3E...XEBJ.:...|
+000242c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 08 8b |AUTOEXECBAT ....|
+000242d0 9b 48 9b 48 00 00 08 8b 9b 48 4a 00 0d 02 00 00 |.H.H.....HJ.....|
View g2uj23us.iso.diff
--- g2uj23us.iso.orig.hex 2016-04-27 17:22:51.793876085 +1000
+++ g2uj23us.iso.hex 2016-04-27 17:22:40.877685523 +1000
@@ -8554,8 +8554,8 @@
00021690 00 00 00 00 00 00 00 00 9f 1b 44 00 85 24 00 00 |..........D..$..|
000216a0 43 4f 4e 46 49 47 20 20 53 59 53 20 00 00 00 00 |CONFIG SYS ....|
000216b0 00 00 48 41 00 00 e8 6c 8f 3a 49 00 7b 00 00 00 |..HA...l.:I.{...|
-000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 00 00 |AUTOEXECBAT ....|
-000216d0 00 00 88 38 00 00 e9 92 84 38 4a 00 3a 00 00 00 |...8.....8J.:...|
+000216c0 41 55 54 4f 45 58 45 43 42 41 54 20 00 00 cf 8a |AUTOEXECBAT ....|
+000216d0 9b 48 9b 48 00 00 cf 8a 9b 48 4a 00 0d 02 00 00 |.H.H.....HJ.....|