This file contains hidden or 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
/* | |
Apple Colors | |
https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/#system-colors | |
*/ | |
:root { | |
/* Light mode */ | |
--color-light-gray-1: rgb(142, 142, 147); | |
--color-light-gray-2: rgb(174, 174, 178); | |
--color-light-gray-3: rgb(199, 199, 204); | |
--color-light-gray-4: rgb(209, 209, 214); |
This file contains hidden or 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
TARGET = <binary name> | |
CFLAGS = -g -Wall -Wextra $(OPTFLAGS) | |
CC ?= llvm-gcc | |
BUILDDIR = build | |
DISTDIR = dist | |
HEADERS := $(wildcard src/**/*.h src/*.h) | |
SRC := $(wildcard src/**/*.c src/*.c) |
This file contains hidden or 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/env bash | |
export PATH="$(dirname $0)/commands:$PATH" | |
export PS1='> ' | |
bash --noprofile --norc |
This file contains hidden or 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
scriptencoding utf-8 | |
if &compatible | |
set nocompatible | |
endif | |
" Tree style listing in netrw. | |
let g:netrw_liststyle = 3 | |
" Hide patterns specified in .gitignore. Press "a" to cycle through the hiding modes. |
This file contains hidden or 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
set statusline=%1*\ [%n]\ [%f]%m%r%h%w%y[%{&ff}:%{strlen(&fenc)?&fenc:'none'}]%=%(\ %c,%l/%L\ %)%P | |
" │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | |
" │ │ │ │ │ │ │ │ │ │ │ │ │ │ └─ percent through file | |
" │ │ │ │ │ │ │ │ │ │ │ │ │ └─ total number of lines | |
" │ │ │ │ │ │ │ │ │ │ │ │ └─ current line number | |
" │ │ │ │ │ │ │ │ │ │ │ └─ current column number | |
" │ │ │ │ │ │ │ │ │ │ └─ left/right separator | |
" │ │ │ │ │ │ │ │ │ └─ file encoding | |
" │ │ │ │ │ │ │ │ └─ file format | |
" │ │ │ │ │ │ │ └─ file type |
This file contains hidden or 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
-- Aptechka raid frames: | |
-- https://github.com/rgd87/Aptechka | |
-- Usage: | |
-- Put this script into the AptechkaUserConfig\userconfig.lua file. | |
-- Moves the raid frames according to current spec | |
local Mover = CreateFrame('Frame') | |
Mover:RegisterEvent('PLAYER_ENTERING_WORLD') | |
Mover:RegisterEvent('GROUP_ROSTER_UPDATE') |
This file contains hidden or 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
--[[ | |
Slash command usage: | |
/raidscale 1.2 | |
/raidscale reset | |
/rs 1.2 | |
/rs reset | |
]]-- | |
--[ CONFIG ]-- |
This file contains hidden or 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
-- Peter Renström and Göran Nehlin | |
-- Advanced Functional Programming - Assignment 3 (Haskell) | |
-- 1. | |
-- Define an appropriate data type for binary search trees which uses strings | |
-- as keys. | |
-- | |
-- Define a function insert k v t that inserts a key k with value v into the | |
-- tree t and returns the new tree. |