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
" ---------[ Vim Plugz ]--------- | |
call plug#begin('~/.vim/plugged') | |
Plug 'itchyny/lightline.vim' | |
Plug 'sheerun/vim-polyglot' | |
Plug 'mattn/emmet-vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'sainnhe/sonokai' | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'coc-extensions/coc-svelte', {'do': 'yarn install --frozen-lockfile'} |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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(bracketpush). | |
-export([check_brackets/1]). | |
check_brackets(Str) -> | |
check_brackets(Str, []). | |
% Base cases | |
check_brackets([], []) -> true; |
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
import Html | |
import Html.App | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onClick) | |
type alias Model = Int | |
type Msg = Increment | Decrement | Reset | Set Int | |
update : Msg -> Model -> (Model, Cmd Msg) | |
update msg model = |
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
import AnimationFrame | |
import Html exposing (..) | |
import Html.App as Html | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onClick) | |
import Style | |
import Style.Properties exposing (..) | |
import Time exposing (Time) | |
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
import itertools | |
from datetime import time, timedelta, datetime | |
OFFICE_OPEN = time(8, 0, 0) | |
OFFICE_CLOSE = time(16, 0, 0) | |
def isofficehour(dt): | |
t = dt.time() | |
if dt.weekday() in (5,6): # Weekend |
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 <node.h> | |
#include <Magick++.h> | |
#include <iostream> | |
#include <string> | |
using namespace v8; | |
Handle<Value> Async(const Arguments& args); | |
void AsyncWork(uv_work_t* req); |
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
#coding=utf-8 | |
__test__ = { | |
"api_v1": """ | |
Upp! API version 1 | |
================== | |
Testing the functionality of Upp! API | |
>>> from django.utils import simplejson as json | |
>>> from django.test.client import Client |