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
CmdUtils.CreateCommand({ | |
names: ["shotit"], | |
arguments: [{role: "object", nountype: noun_arb_text, label: "image format"}], | |
description: _("Publishes the current browser snapshot on the web and puts a link to it in the clipboard."), | |
homepage: "http://dailyffs.com/index.php/share-screen/", | |
author: {name: "Lucho Yankov"}, | |
license: "GPL", | |
preview: _("Publishes the current browser snapshot on the web and puts a link to it in the clipboard."), | |
help: _("To specify the image format just put 'jpeg' or 'png' as command's parameter, if no format is specified and the image is smaller than 1200KB it will be saved as PNG, otherwise the JPEG format will be used."), |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>MultiDraw - Offline</title> | |
<meta charset="UTF-8"> | |
<script type="text/javascript"> | |
window.onload = function() { | |
try { | |
var s = new WebSocket("ws://" + document.location.host + ":6789/"); | |
s.onopen = function(e) { document.title = 'MultiDraw - Online'; } |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Mandelbrot + Web Workers!</title> | |
</head> | |
<body> | |
<canvas id="canvas" width="800" height="600" style="float: left">There should be a canvas here?!</canvas> | |
<script type="text/javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Game of Life</title> | |
</head> | |
<body> | |
<canvas id="canvas" width="400" height="300">There should be a canvas somewhere here.... :-/</canvas> | |
<script type="text/javascript"> | |
var canvas = document.getElementById('canvas'); | |
var 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
// ==UserScript== | |
// @name UTM param stripper | |
// @author Paul Irish | |
// @namespace http://github.com/paulirish | |
// @version 1.1 | |
// @description Drop the UTM params from a URL when the page loads. | |
// @extra Cuz you know they're all ugly n shit. | |
// @include http://* | |
// ==/UserScript== |
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
kicker -e 'X="`pylint -r n **/*.py 2>/dev/null | tee /dev/tty | sed -n 2p`"; if [ -n "$X" ]; then curl -s -L -G --data-urlencode "message=$X" http://localhost:1337/fail; fi' **/*.py |
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
config_dict = { | |
'group1': { | |
'server1': { | |
'apps': ('nginx', 'mysql'), | |
'cpus': 4 | |
}, | |
'maintenance': True | |
}, | |
'firewall_version': '1.2.3', | |
'python2.7': True |
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
javascript:(function(fontUrl,font,style){if(location.protocol==='https:'){fontUrl='https://lachezar.github.io/assets/fonts/SansBullshitSans.ttf'}else{fontUrl='http://dailyffs.com/sansbullshitsans/SansBullshitSans.ttf';}font='@font-face{font-family:SansBullshitSans;src:url('+fontUrl+');font-weight:normal}';style=document.createElement('style');style.innerHTML=font+'*{font-family:SansBullshitSans!important;font-feature-settings:\'liga\',\'dlig\';font-variant-ligatures:common-ligatures;}';document.head.appendChild(style);}()); |
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
/* | |
* Copyright (C) 2015 Jared Rummler <[email protected]> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
# This file is responsible for configuring your application | |
# and its dependencies with the aid of the Mix.Config module. | |
use Mix.Config | |
config :kafka_ex, | |
# a list of brokers to connect to in {"HOST", port} format | |
brokers: [ | |
{"localhost", 9092} | |
], | |
# the default consumer group for worker processes, must be a binary (string) |
OlderNewer