httrack example.com -O ./example.com -N100 −%i0 -I0 --max-rate 0 --disable-security-limits --near -v
httrack example.com -O ./example.com-3 -N100 -I0 -N "%p/%n%[month].%t" --max-rate 0 --disable-security-limits --near -v
<# | |
After Effects aerender.exe wrapper script | |
#> | |
[CmdletBinding(PositionalBinding = $false)] | |
param( | |
[String][parameter(Position=0)]$project_pparam, | |
[String]$project, | |
[String]$comp = "Main", | |
[string]$resolution = "Full", |
Via brew or other method
In order to work on every connection and on any TLD, dnsmasq
needs to be the first DNS resolver receving the query.
And since dnsmasq
is a local process, all DNS queries need to go to 127.0.0.1
On macOS, /etc/resolv.conf
is automaticaly created, depending on a variety of things (network settings, etc), so it cannot be edited.
/* | |
Utility to create and manage a stack of CSS transforms. | |
Supports namespaced properties. | |
Example: | |
var el = document.querySelector('#id'); | |
var tx = new Tx(); | |
Basic usage: |
/* | |
Streamlined Shopify theme development. | |
NOTE: depends on module gulp-shopify-theme | |
npm install --save-dev yargs gulp gulp-sass gulp-changed gulp-sourcemaps gulp-autoprefixer gulp-uglify gulp-concat gulp-replace gulp-plumber gulp-babel browser-sync gulp-if del gulp-add-src gulp-rename gulp-yaml gulp-shopify-theme | |
Highlights: | |
- https proxying via BrowserSync |
function getTranslate3d (el) { | |
var values = el.style.transform.split(/\w+\(|\);?/); | |
if (!values[1] || !values[1].length) { | |
return []; | |
} | |
return values[1].split(/,\s?/g); | |
} |
server { | |
server_name "~^((?<subdomain>www)\.)?(?<domain>location\.com)$"; | |
index index.php index.htm index.html default.asp; | |
## Performs 301 redirects to non-www plus other minor things. | |
#include templates/server.main.conf; | |
# -----------------------------------------------------------------------> | |
# set main domain root to _ | |
if ($subdomain = "") { |
/* From http://furbo.org/2015/07/09/i-left-my-system-fonts-in-san-francisco/ */ | |
* { font-family: -apple-system-font, HelveticaNeue, LucidaGrande; } | |
/* Dynamic Type feature */ | |
* { font-family: -apple-system-headline1, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-headline2, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-body, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-subheadline1, HelveticaNeue, LucidaGrande; } | |
* { font-family: -apple-system-subheadline2, HelveticaNeue, LucidaGrande; } |
function getTransforms (el) { | |
var values = []; | |
var re = /\w+\(.+?\)/gi; | |
var match = []; | |
while ((match = re.exec(el.style.transform)) !== null) { | |
values.push(match[0]); | |
} | |
return values; | |
} |
function getOffset (node) { | |
var doc = node.ownerDocument; | |
var docElem = doc.documentElement; | |
var win = doc.defaultView; | |
var rect; | |
var result; | |
try { | |
rect = node.getBoundingClientRect(); | |
} catch (e) { | |
return { left: 0, top: 0 }; |