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
#!/bin/zsh | |
# Check if jq is installed | |
if ! command -v jq &> /dev/null; then | |
echo "Error: jq is not installed. Please install it before continuing." | |
exit 1 | |
fi | |
# Check if a configuration file name is provided | |
if [[ -z $1 ]]; then |
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
#!/bin/zsh | |
# Force pairlist/blacklists and strategies update? | |
FORCEUPDATE=0 | |
# Add git commits | |
ADDGITCOMMITS=0 | |
# Default root path | |
ROOT_PATH="${HOME}" |
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 onTinyInspectorMouseOver(evt) { | |
if (evt.target == p || evt.target == c) { return; } | |
p.innerHTML = evt.target.tagName + " " + evt.target.className; | |
c.innerHTML = window.getComputedStyle(evt.target).getPropertyValue("width") + " x " + window.getComputedStyle(evt.target).getPropertyValue("height"); | |
evt.target.style.backgroundColor = "rgba(255, 0, 0, 0.15)"; | |
evt.target.style.border = "1px solid rgba(255, 0, 0, 0.5)"; | |
} | |
function onTinyInspectorMouseOut(evt) { | |
if (evt.target == p || evt.target == c) { return; } |
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
#!/bin/env zsh | |
# create webm and mp4 web version of video | |
webvideo() { | |
if [ -z "$1" ]; then | |
printf "\Video source not set\n" | |
exit 1 | |
fi | |
SOURCE="$1" |
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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"file_exclude_patterns": [ | |
"*.sublime-*", | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", |
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
/** | |
* jQuery.getTransitionDuration | |
* A jQuery plugin to get transition-duration in milliseconds | |
* Works with multiple values and supports all browser vendor prefixes | |
* | |
* Usage with single transition-duration values $(div).getTsDuration() | |
* Usage with multiple transition-duration values $(div).getTsDuration("opacity") (otherwise would return the first) | |
* | |
* Based on a gist by Chris Montes https://gist.github.com/mandelbro/4067903 | |
*/ |
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(factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['jquery', 'moment', 'moment-timezone'], factory); | |
} else if (typeof module === 'object' && module.exports) { | |
// Node/CommonJS | |
module.exports = function(root, jQuery, moment) { | |
if (jQuery === undefined) { | |
// require('jQuery') returns a factory that requires window to | |
// build a jQuery instance, we normalize how we use modules |
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
$smallphone: 480px; | |
$phone: 640px; | |
$tablet: 768px; | |
$desktop: 1024px; | |
$wide: 1440px; | |
// Grid breakpoints map | |
$breakpoints: (small: null, medium: "screen and (min-width: 768px)", large: "screen and (min-width: 1440px)"); | |
// Non-grid breakpoints map |
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
alias nom='npm cache clean && rm -rf node_modules && mkdir node_modules && tmutil addexclusion $(pwd)/node_modules && touch node_modules/.metadata_never_index && npm install' | |
alias bom='bower cache clean && rm -rf bower_components && mkdir bower_components && tmutil addexclusion $(pwd)/bower_components && touch bower_components/.metadata_never_index && bower install' |
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
<section class="shop-checkout--cart section-without-vertical-margin layout-grid is-active"> | |
<div class="row"> | |
<div class="col small-12 medium-8 medium-shift-2 large-6 large-shift-3"> | |
<header class="shop-checkout--cart--header"> | |
<h2>Riepilogo ordini</h2> | |
</header> | |
<article id="cart-item-riso" class="shop-checkout--cart-item"> | |
<div class="shop-checkout--cart-item--info riepilogo"> | |
<p class="shop-checkout--cart-item--name bentonsanslight__big uppercase"> | |
<span class="bentonsansbold">5 x</span> <a href="/shop-categoria.html" title="Riso" target="_self" class="shop-checkout--cart-item--link">Riso</a> |
NewerOlder