This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
welcome to hammerhead bootloader | |
[10] Power on reason 91 | |
[10] DDR: hynix | |
[110] Loaded IMGDATA at 0x11000000 | |
[110] Display Init: Start | |
[190] MDP GDSC already enabled | |
[190] bpp 24 | |
[230] Config MIPI_CMD_PANEL. | |
[230] display panel: ORISE | |
[230] display panel: Default setting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
welcome to hammerhead bootloader | |
[10] Power on reason 91 | |
[10] DDR: hynix | |
[110] Loaded IMGDATA at 0x11000000 | |
[110] Display Init: Start | |
[190] MDP GDSC already enabled | |
[190] bpp 24 | |
[230] Config MIPI_CMD_PANEL. | |
[230] display panel: ORISE | |
[230] display panel: Default setting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host *+* | |
ProxyCommand ssh $(echo %h | sed 's/+[^+]*$//;s/\([^+%%]*\)%%\([^+]*\)$/\2 -l \1/;s/:/ -p /') exec nc -w1 $(echo %h | sed 's/^.*+//;/:/!s/$/ %p/;s/:/ /') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@roxxor:/tmp# python3 smarttab.py | |
Device Model Serial Temperature RSC RUE CT CPSC USC | |
/dev/sda ST1000DM003-1ER162 W4Y05GCZ 28 0 0 0 0 0 | |
/dev/sdb ST1000DM003-1CH162 Z1D7SRWE 28 0 0 0 0 0 | |
/dev/sdc Samsung SSD 840 EVO 250GB S1DBNEADA08322A . 0 0 . . . | |
/dev/sdd Crucial_CT250MX200SSD1 16041194A5BD 32 0 0 . 0 0 | |
RSC : Reallocated Sectors Count | |
RUE : Reported Uncorrectable Errors | |
CT : Command Timeout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
with open('test.dat', 'r', encoding="utf-8") as input_file: | |
with open('output.dat', 'wb') as output_file: | |
data = input_file.read() | |
data2 = data.encode('ascii', 'xmlcharrefreplace') | |
output_file.write(data2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
zooi = '{http://purl.org/rss/1.0/modules/content/}encoded' | |
import xml.etree.ElementTree as etree | |
for event, elem in etree.iterparse('test.dat', events=('start', 'end', 'start-ns', 'end-ns')): | |
if event == 'end' and elem.tag == zooi: | |
if elem.text: | |
parsed=elem.text+"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.TH blerp 7 | |
.SH NAME | |
blerp | |
.SH SYNOPSIS | |
.B blerp | |
{[OPTION|ARGS]...[ARGS... -f [FLAGS]...} | |
.B blerp | |
{...DIRECTORY...URL | BLERP} OPTIONS] -{} | |
.SH DESCRIPTION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shop = DrupalService('http://brixit.nl/api', 'username', 'password') | |
class Article(Node): | |
body = BodyTextField() | |
image = ImageField(machine_name='field_image') | |
tags = TermReferenceField(machine_name='field_tags', limit=0, vocabulary='labels') | |
class Meta: | |
drupal = shop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCtype HTML PUBLIC "-//W3C//Dtd HTML 4.0 Transitional//EN"> | |
<html> | |
<head> | |
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
<meta name="Generator" CONTENT="ChrisB"> | |
<title>PV Webserver</title> | |
</head> | |
<body nof="(MB=(DefaultMasterborder, 65, 60, 150, 10), L=(HomeLayout, 700, 600))" bgcolor="#EAF7F7" text="#000000" link="#0033CC" vlink="#990099" alink="#FF0000" topmargin=0 leftmargin=0 marginwidth=0 marginheight=0> | |
<form method="post" action=""> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
indent plugin on |