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
{ "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
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
#cloud-config | |
# multipass launch -c4 -m8g -d20g -n cricket --cloud-init <url> | |
# multipass exec cricket -- sudo cloud-init status --wait | |
# cat ~/.ssh/id_rsa.pub | multipass exec cricket tee .ssh/authorized_keys | |
package_update: true | |
package_upgrade: true | |
users: | |
- name: ubuntu | |
uid: 1000 | |
groups: sudo |
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
const carriageReturnIndicator = "⏭️"; //WARNING: There is a regexp replace that uses this literal value. | |
const spaceReplacerChar = " "; // ◽ | |
const pluginClassName = "speedReadingPlugin"; | |
function updateReadTimeEstimate(phrases, speedWPM) { | |
var readTimeEstimateEl = document.getElementById("readTimeEstimate"); | |
readTimeEstimateEl.innerText = | |
"Expected time to read the whole document at current speed: " + | |
((phrases.length * 60000) / speedWPM / 1000 / 60).toFixed(1) + | |
"min."; |
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 GitHub2Linkedin | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/* | |
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net | |
// @grant none | |
// //@require http://code.jquery.com/jquery-latest.js |
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
[ | |
{ | |
"fiscal_code": "000010R70E884F", | |
"markdown": "Buongiono 0, carta di identita in scadenza.", | |
"subject": "Scadenza Carta Identita" | |
}, | |
{ | |
"fiscal_code": "000110R70E884F", | |
"markdown": "Buongiono 1, carta di identita in scadenza.", | |
"subject": "Scadenza Carta Identita" |
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
function main(args) { | |
if(args.url) { | |
return new Promise(function(resolve) { | |
let url = new URL(args.url); | |
if(args.username) | |
url.username = args.username; | |
if(args.password) | |
url.password = args.password | |
require('http').get(url, function handleHttp(resp) { | |
let data = ''; |
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
{ | |
"verb": "saveAndRun", | |
"code": "def main(args):\n return {\"body\": \"Mirella\"}\n", | |
"params": { | |
"name": "nimbella" | |
}, | |
"playgroundId": "206473", | |
"actionName": "samplePython", | |
"runtime": "python:default" | |
} |
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
[ | |
{ "x": 0, "y": 0, "m": "red" } | |
] |
NewerOlder