Skip to content

Instantly share code, notes, and snippets.

View Alexx999's full-sized avatar

Alexander Vostres Alexx999

View GitHub Profile
@Alexx999
Alexx999 / 0001-Fix-Windows-x86.patch
Created April 29, 2018 19:15
Fix skia m67 build for Windows x86
From a2331af9a7930fb52109d46e00b1be85711d8b5a Mon Sep 17 00:00:00 2001
From: Alexander Vostres <alex.vostres@gmail.com>
Date: Sun, 29 Apr 2018 21:57:56 +0300
Subject: [PATCH] Fix Windows x86
---
build32.bat | 2 +
build32dbg.bat | 2 +
build64.bat | 2 +
build64dbg.bat | 2 +
@Alexx999
Alexx999 / starlamp.ino
Last active March 19, 2018 01:14
Star Lamp
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIXELS 20
#define PIN 6
#define IN_0 3
#define IN_1 4
@Alexx999
Alexx999 / gist:84640c2c31e4f5806cd1
Last active August 29, 2015 14:14
Enum.TryParse test
//This test has dependency on "PeculiarEnum" and "CharEnum" types that look like:
//.class public auto ansi sealed BoolEnumTest.PeculiarEnum extends [mscorlib]System.Enum
//{
// .field public specialname rtspecialname bool value__
// .field public static literal valuetype BoolEnumTest.PeculiarEnum A = bool(false)
// .field public static literal valuetype BoolEnumTest.PeculiarEnum B = bool(true)
//}
//
//.class public auto ansi sealed BoolEnumTest.CharEnum extends [mscorlib]System.Enum
//{