sudo add-apt-repository ppa:fossfreedom/byzanz
sudo apt-get update && sudo apt-get install byzanz
sudo apt-get install byzanz
byzanz-record --duration=15 --x=200 --y=300 --width=700 --height=400 out.gif
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "https://example-video-url.m3u8" -c copy video.mp4 |
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "ProjetName", | |
"dependsOn": ["Rails", "Webpack", "Redis", "Sidekiq"] | |
}, | |
{ | |
"label": "Rails", | |
"type": "shell", |
// jshint esversion:6 | |
let data = ''; | |
const getSet = { | |
get: ()=> { | |
return data; | |
}, | |
set: (val)=> { | |
data = val; |
@for $i from 1 through 7 | |
.list-btn | |
& > li:nth-child(#{$i}) | |
+animation-delay(400ms + ($i*30)) |
(function () { | |
'use strict'; | |
var querySelector = document.querySelector.bind(document); | |
function setSidebarHeight(){ | |
var sidebar = querySelector('.sidebar'); | |
var documentHeight = document.documentElement.scrollHeight; | |
sidebar.style.height = documentHeight+'px'; | |
console.log(documentHeight); |
@for $i from 1 through 5 | |
.mb-#{($i*10)} | |
margin-bottom: (($i*10)+px) |
$icons: sprite-map('icons/*.png') | |
i | |
+inline-block | |
background-image: $icons | |
@each $icon in sprite_names($icons) | |
.icn-#{$icon} | |
+sprite-dimensions($icons, $icon) | |
background-position: sprite-position($icons, $icon) |
/* ========================================================================== | |
* CSS3 Animate Mixin | |
* ========================================================================== | |
=animate($name: fadeIn, $duration: 0.5s, $delay: .2s, $function: linear, $mode: both) | |
+experimental(animation, $name $duration $delay $function $mode) | |
=keyframes($name) | |
@-webkit-keyframes #{$name} | |
@content |