Skip to content

Instantly share code, notes, and snippets.

🚮
Status goes here

Álvaro Vilanova alvivi

🚮
Status goes here
Block or report user

Report or block alvivi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@alvivi
alvivi / c2ec
Created Feb 28, 2018
A little tool to convert css to elm-css Snippets
View c2ec
#!/usr/bin/env node
const fs = require("fs");
const parse = require("css").parse;
const path = require("path");
if (process.argv.length !== 3) {
const exec = path.basename(process.argv[1]);
console.log(`usage ./${exec} input.css`);
console.log("converts css to elm-css snippets");
View TypeScript SpellChecker
export interface IChecker {
check: (word: string) => boolean;
};
export interface ClumsyEntry {
valid: boolean;
children: ClumsyEntries;
}
View SDL with Haskell on MacOs
{-# LANGUAGE ForeignFunctionInterface #-}
module HSMain where
import Main
foreign export ccall hs_main :: IO ()
hs_main :: IO ()
hs_main = main
View SDL with Haskell on MacOs
#include <stdio.h>
#include "HsFFI.h"
#ifdef __APPLE__
#include <objc/objc.h>
#include <objc/objc-runtime.h>
#endif
#include <SDL.h>
You can’t perform that action at this time.