This file contains 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
%YAML 1.2 | |
--- | |
# http://www.sublimetext.com/docs/syntax.html | |
name: Hare | |
file_extensions: | |
- ha | |
scope: source.ha | |
variables: | |
name: '[A-Za-z_]\w*' |
This file contains 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
module local.pc/sand | |
go 1.18 | |
require github.com/go-chi/chi/v5 v5.0.7 | |
require github.com/davecgh/go-spew v1.1.1 |
This file contains 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 <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
void print_dec_bin(uint64_t d); | |
int main(int argc, char const *argv[]) { | |
print_dec_bin(0); | |
print_dec_bin(1); | |
print_dec_bin(7); |
This file contains 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 <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "table.h" | |
#define NORMALIZE(HASH) (HASH % table->len) - 1 | |
static uint64_t fnv1a(const char* data, size_t len); |
This file contains 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
CC?=gcc | |
DEFAULT_CFLAGS=-std=c11 -Og -Wall -Wextra -Wshadow | |
define GCC_FLAGS | |
-Wanalyzer-file-leak \ | |
-Wanalyzer-malloc-leak \ | |
-Wanalyzer-double-free \ | |
-Wanalyzer-double-fclose \ | |
-Wanalyzer-null-argument \ |
This file contains 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/python | |
import json, os | |
tracklist = [ | |
"bird funeral [Introduction]", | |
"This is the happiness peace committee. [Introduction]", | |
"Unhappy Refrain [two of the switching]", | |
"Sugar Bits [switching of two]", | |
"Gakuen × ∀ssassinatioИ [two of the switching]", |
This file contains 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
#!/bin/bash | |
if [ $MP3_QUALTY -eq "" ] ; then | |
MP3_QUALTY=3 | |
fi | |
if [ $MP3_COMPRESSION -eq "" ] ; then | |
MP3_COMPRESSION=0 | |
fi |
This file contains 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
all: help | |
build: | |
makepkg --ignorearch \ | |
--clean \ | |
--force \ | |
--log \ | |
--rmdeps \ | |
--syncdeps \ | |
--nosign \ |
This file contains 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
// dragableElement(document.querySelector("#mydiv")) | |
function dragableElement(a) { | |
let f = 0, | |
g = 0, | |
d = 0, | |
e = 0 | |
eh = a.querySelector("#header") || a | |
eh.onmousedown = function(b) { | |
b = b || window.event |
This file contains 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
color-link default "#d8dee9,#2e3440" | |
color-link comment "#4c566a," | |
# color-link comment.bright | |
color-link identifier "#5e81ac," | |
# color-link identifier.class | |
# color-link identifier.macro | |
# color-link identifier.var | |
color-link constant "#bf616a," | |
# color-link constant.bool | |
# color-link constant.bool.true |
NewerOlder