This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#include <Carbon/Carbon.h> | |
typedef uint64_t CGSConnection; | |
extern CGSConnection _CGSDefaultConnection(void); | |
#define CGSDefaultConnection _CGSDefaultConnection() | |
typedef uint64_t CGSSpace; | |
typedef enum _CGSSpaceType { | |
kCGSSpaceUser, | |
kCGSSpaceFullscreen, |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine.UI; | |
/* UI Particle Scaling script by Tobi Tobasco Nollero, questions: [email protected], http://tobiasnoller.com/ | |
* Just drag this script on any canvas which has child particle systems underneath. | |
* Add your resolution change listener to scale your particles when changing resolutions. | |
* Prewarmed particle system emitting on begin play, will probably not be affected by the script the first time they fire. | |
* Feel free to use this script in any project. |
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference/hit 1.5 ns 4 cycles | |
Floating-point add/mult/FMA operation 1.5 ns 4 cycles | |
L2 cache reference/hit 5 ns 12 ~ 17 cycles | |
Branch mispredict 6 ns 15 ~ 20 cycles | |
L3 cache hit (unshared cache line) 16 ns 42 cycles | |
L3 cache hit (shared line in another core) 25 ns 65 cycles | |
Mutex lock/unlock 25 ns | |
L3 cache hit (modified in another core) 29 ns 75 cycles |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
(especially while expanding)
Warning: The exact commands may not match for your particular linux OS / Synology(NAS) device. I had to customize the commands after exploring my particular system's setup.
If you're new to linux, or this is a new piece of hardware / a new synology device, jump down to the section called "Inspecting a setup"