Skip to content

Instantly share code, notes, and snippets.

View quasilyte's full-sized avatar
🕵️

quasilyte quasilyte

🕵️
View GitHub Profile
@quasilyte
quasilyte / QuaGo
Created August 17, 2014 08:13
QuaGo: Sublime color scheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor -->
<!-- ============================================ -->
<!-- app: http://tmtheme-editor.herokuapp.com -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
<key>name</key>
<string>Humane</string>
{
"always_show_minimap_viewport": true,
"auto_complete_commit_on_tab": true,
"caret_style": "solid",
"color_scheme": "Packages/WebExPert.tmTheme",
"dpi_scale": 1.08,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"font_face": "ubuntu mono",
"font_size": 16,
get(key): {
container[key]
}
lazy_get(key): {
IF ({container[key].has_key?} '@lazyLoader') @then {
({container[key]['@lazyLoader']})
BECOME get
}
// source
z = 100
x = 4
y = 10
x = x + y
z = z + y
// stack based:
push 100
push 10
@quasilyte
quasilyte / Links
Last active October 14, 2015 18:55
May be useful
/*
COPIED FROM MUSL
http://git.musl-libc.org/cgit/musl/tree/src/string/memset.c
*/
#include <string.h>
#include <stdint.h>
void *memset(void *dest, int c, size_t n)
{
@quasilyte
quasilyte / emacs
Created July 27, 2017 07:04
dot emacs dot el -- summer 2017
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.emacs '
;;; ---------------------
;;;
;;; If you need your own personal ~/.emacs
;;; please make a copy of this file
;;; an placein your changes and/or extension.
;;;
;;; Copyright (c) 1997-2002 SuSE Gmbh Nuernberg, Germany.
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; File name: ` ~/.emacs '
;;; ---------------------
;;;
;;; If you need your own personal ~/.emacs
;;; please make a copy of this file
;;; an placein your changes and/or extension.
;;;
;;; Copyright (c) 1997-2002 SuSE Gmbh Nuernberg, Germany.
;;;
benchmark speedup%
image/color/YCbCrToRGB/0 100
math/cmplx/Conj 100
image/color/YCbCrToRGB/255 100
image/color/RGBToYCbCr/0 100
image/color/RGBToYCbCr/Cb 100
image/color/RGBToYCbCr/Cr 100
image/color/YCbCrToRGB/128 100
image/color/NYCbCrAToRGBA/255 95
image/color/NYCbCrAToRGBA/0 94

Given this data.txt file that includes all encodings from new end2end tests:

c5f970ffb1
c4e37bf010ff
c4e3fbf010ff
c5f970d1ff
c5fd70d1ff
c5fa70d1ff
c5fe70d1ff
c5fb70d1ff