I hereby claim:
- I am hamen on github.
- I am ivanmorgillo (https://keybase.io/ivanmorgillo) on keybase.
- I have a public key whose fingerprint is 618F 9A54 DF87 E499 676E E6A1 852F 1BC9 1EC6 94CC
To claim this, I am signing this object:
CmdUtils.CreateCommand({ | |
name: "latex", | |
description: "Write LaTex and render it with mimetex ", | |
help: "Write down some LaTex statement, i.e. \frac{1}{S^2 - 1}", | |
author: {name: "Ivan Morgillo", email: "imorgillo [at] sanniolug [dot] org"}, | |
license: "GPL v3", | |
homepage: "http://hamen.org", | |
arguments: {object: noun_arb_text}, | |
preview: function(pblock, args) { | |
var postdata = args.object.text; |
CmdUtils.makeSearchCommand({ | |
author: {name: "Ivan Morgillo", email: "imorgillo [at] sanniolug [dot] org"}, | |
homepage: "http://hamen.org", | |
license: "GPL v3", | |
description: "Search Bing for your words", | |
name: "bing", | |
url: "http://www.bing.com/search?q={QUERY}&form=QBLH&filt=all", | |
parser: {container: "div#results > ul.sb_results > li", | |
title: "div.sb_tlst h3", | |
preview: "p"} |
CmdUtils.makeSearchCommand({ | |
name: "devmo", | |
description: "Search developer.mozilla.com for your words", | |
author: {name: "Ivan Morgillo", email: "imorgillo [at] sanniolug [dot] org"}, | |
homepage: "http://hamen.org", | |
license: "GPL v3", | |
url: "https://developer.mozilla.org/Special:Search?search={QUERY}&type=fulltext", | |
parser: {container: "div#searchResults > ul > li", title: "div.title > a + a", preview: "div.searchpreview" | |
} | |
}); |
// This is just a customization of original Twitter Ubiquity command by Mozilla | |
// I just replaced some strings. For credits refer to mozilla.com | |
const IDENTICA_STATUS_MAXLEN = 140; | |
CmdUtils.CreateCommand({ | |
names: ["identi.ca", "share using identi.ca"], | |
arguments: [ | |
{role: "object", label: 'status', nountype: noun_arb_text}, | |
{role: "alias", nountype: noun_type_twitter_user} | |
], |
I hereby claim:
To claim this, I am signing this object:
public class MockStrings { | |
public static final String s | |
= "Non si intrometta! No, aspetti, mi porga l'indice; ecco lo alzi così... guardi, guardi, guardi; lo vede il dito? Lo vede che stuzzica, che prematura anche. E lei.. cosa si sente? Professore, non le dico. Antani come trazione per due anche se fosse supercazzola bitumata, ha lo scappellamento a destra."; | |
public static final String m | |
= "Ma che antifurto, mi faccia il piacere! Questi signori qui stavano sonando loro. Sorella? Eh!? Col tarapia tapioco come se fosse la supercazzola per lei. Voglio il cappellano, il cappellano! Ho visto la Madonna! Non si intrometta!No, aspetti, mi porga l'indice; ecco lo alzi così... guardi, guardi, guardi; lo vede il dito? Lo vede che stuzzica, che prematura anche."; | |
public static final String l | |
= "Ah, pardon. Tarapio tapioco come se fosse Antani, la supercazzola prematurata con dominus reveriscum blinda. Come, prego? Tarapio sulla supercazzola con scappellamento destro o |
#!/bin/sh | |
# License for any modification to the original (linked below): | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# Sebastiano Poggi wrote this file. As long as you retain | |
# this notice you can do whatever you want with this stuff. If we meet some day, | |
# and you think this stuff is worth it, you can buy us a beer in return. | |
# | |
# Based on http://bit.ly/295BHLx |
interface KeyValueStorage { | |
fun getAll(): Map<String, *> | |
fun contains(key: String): Boolean | |
fun remove(key: String): Boolean | |
fun getBoolean(key: String, defaultValue: Boolean): Boolean | |
fun putBoolean(key: String, value: Boolean): Boolean |
#!/bin/bash | |
CMD="./gradlew clean test" | |
# Check if we actually have commits to push | |
commits=`git log @{u}..` | |
if [ -z "$commits" ]; then | |
exit 0 | |
fi | |
$CMD | |
RESULT=$? | |
if [ $RESULT -ne 0 ]; then |
// ==UserScript== | |
// @name Telegram - Jump to first unread message | |
// @namespace https://ivanmorgillo.com/ | |
// @version 0.1 | |
// @description Kinda Slack shortcut | |
// @author Ivan Morgillo | |
// @match https://web.telegram.org/* | |
// @grant none | |
// ==/UserScript== |