Skip to content

Instantly share code, notes, and snippets.

View winkerVSbecks's full-sized avatar
🥵

Varun Vachhar winkerVSbecks

🥵
View GitHub Profile
CmdUtils.CreateCommand({
name: "last.fm",
author: { name: "Juan Pablo Zapata", email: "[email protected]" },
homepage: "http://www.pendor.com.ar/ubiquity",
description: "Muestra los ultimos temas de un usuario en Last.fm.",
help: "<b>Uso:</b> lastfm <i>nombre del usuario</i>",
icon: "http://cdn.last.fm/flatness/favicon.ico",
takes: {"nombre de usuario": noun_arb_text},
//modifiers: {"mostrar": noun_arb_text},
CmdUtils.CreateCommand({
name: "mff",
author: { name: "winker" },
description: "Search matches on mff.",
help: "<b>Uso:</b> lastfm <i>nombre del usuario</i>",
icon: "http://cdn.last.fm/flatness/favicon.ico",
takes: {"nombre de usuario": noun_arb_text},
//modifiers: {"mostrar": noun_arb_text},
preview: function(pBlock, campo, mods) {
CmdUtils.CreateCommand({
name: "mff",
author: { name: "winker" },
description: "Search matches on mff.",
help: "<b>match:</b> mff <i>team vs team</i>",
icon: "http://builtwith.com/IMG/FAV/Fbtz.com.ico",
takes: {"team vs team": noun_arb_text},
//modifiers: {"mostrar": noun_arb_text},
preview: function(pBlock, campo, mods) {
@winkerVSbecks
winkerVSbecks / gist:39955
Created December 25, 2008 21:24
minninova
CmdUtils.CreateCommand({
name: "minni",
takes: {"search_string": noun_arb_text},
license: "Public domain",
preview: "Searches for torrent on PirateBay, Isohunt and Torrentz.",
execute: function( directObj ) {
var search_string = encodeURIComponent(directObj.text);
//Utils.openUrlInBrowser( "http://www.mininova.org/search/?search=" + search_string);
@winkerVSbecks
winkerVSbecks / gist:39956
Created December 25, 2008 21:32
search on mininova
CmdUtils.CreateCommand({
name: "mini",
takes: {"search_string": noun_arb_text},
license: "Public domain",
preview: "Searches for torrent on mininova.",
execute: function( directObj ) {
var search_string = encodeURIComponent(directObj.text);
//Utils.openUrlInBrowser( "http://www.mininova.org/search/?search=" + search_string);
@winkerVSbecks
winkerVSbecks / markdown.xml
Last active December 12, 2015 07:28 — forked from lg0/markdown.xml
<dict>
<key>name</key>
<string>diff: deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#EAE3CA</string>
<key>fontStyle</key>
@winkerVSbecks
winkerVSbecks / controller.js
Last active December 31, 2015 15:19
Meteor prevent re-loading data on each edit?
// TemplateBase.inspectionOrderFromService() is inspectionService.js
Template.assemble.items = function(result) {
var order = TemplateBase.inspectionOrderFromService();
if(order) {
return order.getInspectionItemsWithResult(result);
}
};
// AutoEd is an object with a list of all available assets (images, vids and animations)

Chrome Flags Breaking CSS In Strange Ways

If you have the Enable experimental Web Platform features flag set as enabled in Chrome you might have been noticed that interweb has been acting pretty weird. Here are some of the issues I encountered:

.flex-container {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
{
"203": {
"Nutr_No": 203,
"Units": "g",
"NutrDesc": "Protein",
},
"204": {
"Nutr_No": 204,
"Units": "g",
"NutrDesc": "Total lipid (fat)",