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
"Arc's nvimrc. | |
"Made in love and suffering | |
"For the best text editor | |
"NeoVim, I guess | |
"""""""""""""""""""" | |
"""" Colors & themes | |
"""""""""""""""""""" | |
" enables syntax highlighting |
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
var canvas = document.getElementById('canvas'); | |
var context; | |
var x = 100; | |
var y = 200; | |
var ix = 5; | |
var iy = 5; | |
function init() | |
{ | |
context = canvas.getContext('2d'); |
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
{ | |
"caret_style": "phase", | |
"color_scheme": "Packages/Predawn Twilight Theme/Predawn Twilight.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"fold_buttons": false, | |
"font_size": 10, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" |
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
<?php | |
class SqlRequest | |
{ | |
private static $fh_db; | |
private function __construct() | |
{ | |
} | |
public static function createItem($table, $data) |
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
;; remap fn to ctrl on mac | |
(setq ns-function-modifier 'control) | |
;; remap alt to option and meta to command | |
(setq mac-option-key-is-meta nil) | |
(setq mac-command-key-is-meta t) | |
(setq mac-command-modifier 'meta) | |
(setq mac-option-modifier nil) | |
;; Evil stuff |
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-5 | |
SOURCES:= $(wildcard src/*.c) | |
OBJECTS:= $(addprefix obj/,$(notdir $(SOURCES:.c=.o))) | |
CFLAGS:= -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -isystem /usr/local/include/SDL2 -Iinclude | |
LDFLAGS:= -L/usr/local/lib | |
LDLIBS:= -lSDL2 -lSDL2_image | |
EXECUTABLE:= game |
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
local ascii = {} | |
ascii.null = 0 | |
ascii.empty_smiley = 1 | |
ascii.smiley = 2 | |
ascii.heart = 3 | |
ascii.diamond = 4 | |
ascii.club = 5 | |
ascii.spade = 6 | |
ascii.dot = 7 | |
ascii.inverse_dot = 8 |
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
-Wall -Wtraditional -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wconversion -pedantic -std=iso9899:1999 |
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
behave mswin | |
set tabstop=4 "4 tabs/columns | |
set shiftwidth=4 "same for indentation | |
set number | |
set cursorline | |
set encoding=utf8 | |
set hlsearch | |
set nobackup | |
set nowb | |
set noswapfile |
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
;; Loading plugins and shit | |
(add-to-list 'load-path "~/elisp") | |
(add-to-list 'custom-theme-load-path "~/elisp/themes/") | |
(require 'php-mode) | |
;; MELPA repo | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) | |
(package-initialize) |
OlderNewer