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
{ | |
"Africa/Abidjan": { | |
"long": "Greenwich Mean Time", | |
"short": "GMT" | |
}, | |
"Africa/Accra": { | |
"long": "Greenwich Mean Time", | |
"short": "GMT" | |
}, | |
"Africa/Addis_Ababa": { |
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
<Events> | |
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> | |
<System> | |
<Provider Guid="{9e814aad-3204-11d2-9a82-006008a86939}" /> | |
<EventID>0</EventID> | |
<Version>2</Version> | |
<Level>0</Level> | |
<Task>0</Task> | |
<Opcode>0</Opcode> | |
<Keywords>0x0</Keywords> |
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
var jsdom = require("jsdom"); | |
var html = '<html><svg "xmlns=http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100"></svg></html>'; | |
jsdom.env({ | |
features: { | |
QuerySelector: true | |
}, | |
html: html, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
div { | |
height: 90%; | |
width: 90%; |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+up"], "command": "swap_line_up"}, | |
{ "keys": ["ctrl+down"], "command": "swap_line_down"}, | |
{ "keys": ["ctrl+d"], "command": "duplicate_line"}, | |
{ "keys": ["ctrl+y"], "command": "run_macro_file", "args": {"file": "Packages/User/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+alt+right"], "command": "next_view" }, | |
{ "keys": ["ctrl+alt+left"], "command": "prev_view" }, | |
{ "keys": ["ctrl+g"], "command": "find_next" }, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta charset="utf-8"> </meta> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.css" /> | |
<script src="http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.js"></script> |
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
class GameOver < RTanque::Bot::Brain | |
NAME = 'Honkeytank Blues' | |
include RTanque::Bot::BrainHelper | |
require 'pry' | |
def setup | |
@once = true |
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
Raphael.st.getBBox = function () { | |
var x = [], | |
y = [], | |
x2 = [], | |
y2 = []; | |
for (var i = this.items.length; i--;) if (!this.items[i].removed) { | |
var box = this.items[i].getBBox(); | |
// For lack of a better return value, empty sets return 'infinite' bounding boxes | |
// But we shouldn't contaminate their parent bounds with this |
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
class GameOver < RTanque::Bot::Brain | |
NAME = 'DanceTheTankgo' | |
include RTanque::Bot::BrainHelper | |
require 'pry' | |
def tick! | |
## main logic goes here | |
# use self.sensors to detect things |