Skip to content

Instantly share code, notes, and snippets.

Fabrizio Calderan fcalderan

Block or report user

Report or block fcalderan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View _progetto-richiamo-rondini.md

Progetto Richiamo per rondini

Costo dei materiali per la realizzazione singolo dispositivo audio (acquistando il materiale per slot di 4 prototipi)

Microcontrollore Esp8266/01 ......... 3,00€
Speaker 3W .......................... 3,50€
DFplayer Mini ....................... 2,00€
View gist:0cb3865f327567b4a2a01695b3528315
#Progetto Richiamo per rondini
---
Costo dei materiali per la realizzazione singolo dispositivo audio
(acqistando il materiale per slot di 4 prototipi)
```
Microcontrollore Esp8266/01 ......... 3,00€
Speaker 3W .......................... 3,50€
View reg_replace_rules.sublime-settings
{
"format": "3.0",
"replacements": {
// Remove production urls from page
"tim_remove_production_urls": {
"find": "\\?q=\\d*",
"replace": "",
"greedy": true
},
// Localize SDR assets urls
@fcalderan
fcalderan / google-showimage.js
Last active Jun 4, 2018
Restore "Show image" in google image results
View google-showimage.js
/* Usage:
* when Google image returns some results, before choosing an image just inject
* this code into the JS console and a new button with a direct link to the image
* will appear inside the overlay.
*/
var config = {
attributes: true,
childList: false,
characterData: false,
@fcalderan
fcalderan / 1) tidy-numbers-stmt.txt
Last active Mar 9, 2018
An implementation of the problem B - Tidy numbers: Google Code Jam 2017
View 1) tidy-numbers-stmt.txt
# Complete statement of the problem
# https://code.google.com/codejam/contest/3264486/dashboard#s=p1
# Tatiana likes to keep things tidy. Her toys are sorted from smallest
# to largest, her pencils are sorted from shortest to longest and her computers
# from oldest to newest. One day, when practicing her counting skills, she
# noticed that some integers, when written in base 10 with no leading zeroes,
# have their digits sorted in non-decreasing order. Some examples of this are 8,
# 123, 555, and 224488. She decided to call these numbers tidy. Numbers that do
# not have this property, like 20, 321, 495 and 999990, are not tidy.
@fcalderan
fcalderan / ftf.sh
Last active Feb 25, 2016
From the Front Early Bird Detector
View ftf.sh
#!/bin/sh
# set last 2 digits of the current year
year=16
# set terminal title
echo "\033]0;FTF Early Bird Checker\007";
@fcalderan
fcalderan / Jekyll-base64.md
Last active Aug 2, 2019
A Base64 image encoder plugin for JekyllRB
View Jekyll-base64.md

#Jekyll Base64 Encoder A Liquid tag for base64 encoding

Note: this plugin requires Colorize:

gem install colorize
@fcalderan
fcalderan / SassMeister-input-HTML.html
Last active Aug 29, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
@fcalderan
fcalderan / SASS aspect ratio.css
Last active Aug 29, 2015
Generated by SassMeister.com.
View SASS aspect ratio.css
section {
width: 35%;
}
section div {
/* Aspect ratio: 16:9 */
height: 0;
width: 100%;
position: relative;
padding-bottom: 56.25%;
}
@fcalderan
fcalderan / ffmpeg.txt
Created Jun 16, 2015
Handy FFmpeg commands
View ffmpeg.txt
# Build ffmpeg on MacOs
# https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX
> brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265
# Conversion to WEBM format:
# http://trac.ffmpeg.org/wiki/Encode/VP8
> ffmpeg -i input-file.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output-file.webm
You can’t perform that action at this time.