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
% Define color for universal design | |
% https://jfly.uni-koeln.de/colorset/ | |
\definecolor{red}{cmyk}{0, .75, .90, 0} | |
\definecolor{yellow}{cmyk}{0, 0, 1, 0} | |
\definecolor{green}{cmyk}{.75, 0, .65, 0} | |
\definecolor{blue}{cmyk}{1, .45, 0, 0} | |
\definecolor{skyblue}{cmyk}{.55, 0, 0, 0} | |
\definecolor{pink}{cmyk}{0, .55, .35, 0} | |
\definecolor{orange}{cmyk}{0, .45, 1, 0} | |
\definecolor{purple}{cmyk}{.30, .95, 0, 0} |
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/python3 | |
from datetime import datetime | |
from datetime import timedelta | |
import json | |
import sys | |
class JVMParser: | |
def parse_header(self, line, result): | |
row = tuple(filter(lambda a: a != '', line[0].split(' '))) | |
result['issued time'] = datetime.strptime(row[5] + 'GMT', '%y%m%d%H%M%S%Z').isoformat() |
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
Disk /dev/sdb: 57.8 GiB, 62075699200 bytes, 121241600 sectors | |
Disk model: MF-FCU3 | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0x00000000 | |
Device Boot Start End Sectors Size Id Type | |
/dev/sdb1 32 121241599 121241568 57.8G c W95 FAT32 (LBA) |
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
#include "stm32f10x.h" | |
#pragma GCC diagnostic push | |
#pragma GCC diagnostic ignored "-Wunused-parameter" | |
#pragma GCC diagnostic ignored "-Wmissing-declarations" | |
#pragma GCC diagnostic ignored "-Wreturn-type" | |
int | |
main(int argc, char* argv[]) | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/python3 | |
from matplotlib import cm | |
N = 3000 | |
cm.jet.N = N | |
for i in range(N): | |
color = map(lambda x:int(x*255), cm.jet(i)) | |
print('%d %d %d %d 1'%(i,color[0],color[1],color[2])) |
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
(defun suffix (l) | |
(labels ((iterator (lst result) | |
(if (null lst) | |
result | |
(iterator (cdr lst) (append result (list lst)))))) | |
(iterator l '()))) |
NewerOlder