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-mode | |
(phpcbf-standard . PSR2) | |
(eval . (progn | |
(php-enable-psr2-coding-style) | |
(phpcbf-enable-on-save) | |
(add-hook 'php-mode-hook 'php-enable-psr2-coding-style) | |
(add-hook 'php-mode-hook 'phpcbf-enable-on-save))))) | |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
package main | |
import ( | |
"flag" | |
"os" | |
"os/exec" | |
"reflect" | |
"time" | |
"log" | |
) |
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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"fmt" | |
"net/http" | |
"net/url" | |
"os" | |
"regexp" |
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
"Change default folder for ~ and .swp files | |
if( expand($TEMP) == "" ) | |
"Default for linux | |
let s:tempFolder = "/tmp" | |
else | |
"Default for windows | |
let s:tempFolder = expand($TEMP) | |
endif | |
let &directory=s:tempFolder | |
let &backupdir=s:tempFolder |
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
# Coffee source (must be publicly available) | |
COFFEE_FOLDER = public/src/coffee/ | |
JS_FOLDER = public/js/ | |
COFFEE = $(shell find $(COFFEE_FOLDER) -type f -name '*.coffee') | |
JS = $(patsubst $(COFFEE_FOLDER)%.coffee, $(JS_FOLDER)%.js, $(COFFEE)) | |
JS_MAP = $(patsubst $(COFFEE_FOLDER)%.coffee, $(JS_FOLDER)%.js.map, $(COFFEE)) | |
.PHONY: all clean | |
all: $(JS) $(JS_MAP) |
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 | |
error_reporting(E_ALL); | |
class O_o | |
{ | |
public $wth,$mode,$num; | |
function __construct() | |
{ | |
$this->wth = ""; | |
$this->mode; |