Hide and show full size DIV containers with CSS3 transitions on translate, rather than top, right, bottom, or left offset.
A Pen by Andrea Collet on CodePen.
#!/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 |
#!/bin/zsh | |
# Force pairlist/blacklists and strategies update? | |
FORCEUPDATE=0 | |
# Add git commits | |
ADDGITCOMMITS=0 | |
# Default root path | |
ROOT_PATH="${HOME}" |
<?php $favicon_path = "/docroot/img/ico/"; ?> | |
<!-- Default --> | |
<link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico"/> | |
<!-- For IE6+ --> | |
<link rel="shortcut icon" href="<?php echo $favicon_path; ?><?php echo $favicon_path; ?>favicon.ico" type="image/x-icon"> | |
<!-- For IE6+ --> | |
<link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico"> |
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; } |
#!/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" |
{ | |
"folders": [ | |
{ | |
"file_exclude_patterns": [ | |
"*.sublime-*", | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", |
/** | |
* 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 | |
*/ |
(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 |
{ | |
"folders": | |
[ | |
{ | |
"follow_symlinks": true, | |
"path": "/", | |
"folder_exclude_patterns": [ | |
".sass-cache", | |
"app/cache", | |
"bin", |
Hide and show full size DIV containers with CSS3 transitions on translate, rather than top, right, bottom, or left offset.
A Pen by Andrea Collet on CodePen.