Skip to content

Instantly share code, notes, and snippets.

View maks's full-sized avatar

Maksim Lin maks

  • Manichord
  • Australia
View GitHub Profile
@maks
maks / head.html
Created August 2, 2013 06:50 — forked from juliangruber/head.html
requirebin sketch
<style type='text/css'> html, body { margin: 0; padding: 0; border: 0; } </style>
@maks
maks / profiler-wrapper.c
Last active December 25, 2015 07:29
profiler wrapper for pixman
#include <GeckoProfilerFunc.h>
//~ #include <GeckoProfiler.h>
#include "profiler-wrapper.h"
extern "C"
{
void* moz_call_enter(const char *aInfo, uint32_t line) {
return mozilla_sampler_call_enter(aInfo, NULL, false, line);
}
@maks
maks / fix-header-comments.diff
Created June 12, 2014 06:24
fix-flatfish-uboot-spl
diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h
index 1fdab59..2544278 100755
--- a/include/configs/sun6i.h
+++ b/include/configs/sun6i.h
@@ -33,7 +33,7 @@
#define CONFIG_ALLWINNER /* It's a Allwinner chip */
#define CONFIG_SUNXI /* which is sunxi family */
#define CONFIG_SUN6I /* which is sun6i */
-//#define CONFIG_SUN6I_FPGA /* working with fpga board */
+/*#define CONFIG_SUN6I_FPGA */ /* working with fpga board */
@maks
maks / keybase.md
Created June 20, 2014 04:34
keybase.md

Keybase proof

I hereby claim:

  • I am maks on github.
  • I am maks (https://keybase.io/maks) on keybase.
  • I have a public key whose fingerprint is 2E1A 3F82 F3F7 C1B1 3F80 F851 A119 F746 5F09 5D20

To claim this, I am signing this object:

@maks
maks / gist:ebb9bd84150978e065b6
Last active August 29, 2015 14:14 — forked from msmuenchen/gist:9318327
Keepass file format description
Convention: Byte array notation as it would appear in a hexeditor.
= Layout=
KDBX files, the keepass database files, are layout as follows:
1) Bytes 0-3: Primary identifier, common across all kdbx versions:
private static $sigByte1=[0x03,0xD9,0xA2,0x9A];
2) Bytes 4-7: Secondary identifier. Byte 4 can be used to identify the file version (0x67 is latest, 0x66 is the KeePass 2 pre-release format and 0x55 is KeePass 1)
@maks
maks / README.md
Created February 24, 2016 02:31 — forked from rikels/README.md
chromium os plugins

this scripts installs: Flash, PDF, for some Chromium OS builds. (confirmed on Vanilla build 3389 Built on 12th December 2012!) Carputers confirmed that it also works on ArnoldTheBat's Cx86OS-20130423010101 build!

Sadly enough the Hangouts stopped working! i don't know about Netflix, since i can't test it. and since ~4-08-2013 MP3/Mp4 stopped working?

if you want to use this script on ArnoldTheBat's Chromium OS build, keep in mind that he uses the password: "password" instead of "facepunch". (without the quotes ;))

@maks
maks / espruino-esp8266
Created February 26, 2016 00:27
esprino on esp8266 notes
from espruino Gitter char:
./esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m 0x0000 "boot_v1.4(b1).bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin
this is the command that I used til now
MaBecker 02:25
no - follow this link http://www.espruino.com/Download
your command is fine
HyGy 02:25

Keybase proof

I hereby claim:

  • I am maks on github.
  • I am maks (https://keybase.io/maks) on keybase.
  • I have a public key whose fingerprint is B209 58BE 7C5A DC54 1BBD AC20 7D2A FA39 5E4C 5B5C

To claim this, I am signing this object: