$ gpspipe -w # log to stdout
$ gpspipe -w -o abc.log # log to a file
To auto-log on startup, insert the following line to the file /etc/rc.local
:
<?php | |
namespace Dnp\DnpPlugins\ImageProcessing; | |
use TYPO3\CMS\Core\Http\RequestFactory; | |
use TYPO3\CMS\Core\Log\LogManager; | |
use TYPO3\CMS\Core\Resource; | |
use TYPO3\CMS\Core\Resource\Processing\ImageCropScaleMaskTask; | |
use TYPO3\CMS\Core\Utility\GeneralUtility; |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
// | |
// map-fetch($map, $keys) | |
// | |
// An easy way to fetch a deep value in a multi-level map. Works much like | |
// map-get() except that you pass multiple keys as the second parameter to |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
The concept for Grand Decentral has moved to: https://github.com/grand-decentral-station/concept
Everyone is welcome to join us and help with this idea.
The reflow appens as many times as there are frames per seconds. It recalculate all positions that change in order to diplay them. Basically, when you scroll you execute a function where you move things between two reflows. But there are functions that triggers reflows such as jQuery offset, scroll... So there are two things to take care about when you dynamically change objects in javascript to avoid too many reflows: