Skip to content

Instantly share code, notes, and snippets.

View keevitaja's full-sized avatar
💭
building jedmud

Tanel Tammik keevitaja

💭
building jedmud
View GitHub Profile
[
{
"command": "escape"
},
{
"command": "expand_selection",
"args": {"to": "word"}
},
{
"command": "copy"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
======================================================================
Peacock modified by Keevitaja
======================================================================
A Sublime Text 2 / Textmate theme.
Copyright (c) 2014 Dayle Rees / Tanel Tammik
Released under the MIT License <http://opensource.org/licenses/MIT>
======================================================================
#!/bin/bash
# you need pdftk pdfseparate inkscape
tmp_folder="tmp_folder"
files=""
output=""
mkdir $tmp_folder
echo "Splitting files ..."
if ($filter == 'min') {
if ($hint == 'js') {
$filter = new JsMinFilter();
} elseif ($hint == 'css') {
$filter = new CssMinFilter();
}
} elseif ($filter == 'less') {
if ($this->config->get('streams::assets.filters.less') == 'php') {
$filter = new LessFilter($this->parser);
} else {
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="jedhi_pup_tracker"
author="Jedhi"
id="c364d2e34c3fca301b9b5d03"
language="Lua"
"use strict";
const net = require('net');
// const REMOTE_ADDR = 198.178.123.109;
// const REMOTE_PORT = 6555;
const REMOTE_ADDR = 'aardmud.org';
const REMOTE_PORT = 4000;
"use strict";
/*
data.txt:
1
2
3
4
5
6
"use strict";
const trigger = require('./trigger');
const system = require('./system');
let results = [];
trigger.set({
event: 'plugin.start',
pattern: 'Listing all areas in range 1 to 210',
@keevitaja
keevitaja / transformable.js
Last active July 20, 2016 20:05
javascript draggable & resizable elements example
'use strict';
class Transformable {
constructor(element) {
this.element = element;
this.dragging = false;
this.resizing = false;
}
offsetX(event) {
'use strict';
const Queue = require('./../libs/queue');
const def = (str)=> {
return /^[wesndu]$/.test(str);
};
const raw = (start, goal, rooms, level, portals)=> {
let que = new Queue();