- Homebrew, run
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
from the command line to install it. - Homebrew Cask, run
brew tap caskroom/cask
from the command line to install it. - Alfred, buy the powerpack to get the full use of it.
- Spectacle
- Fish shell
- VLC
- Unarchiver
- f.lux
- n, run
brew install n
from the command line to install it. - Fisherman, run
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
from the command line to install it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express'; | |
import { ApolloServer } from 'apollo-server-express'; | |
import { ApolloServerPlugin } from 'apollo-server-plugin-base'; | |
import * as Sentry from '@sentry/node'; | |
Sentry.init({ | |
environment: process.env.APP_ENV, | |
// see why we use APP_NAME here: https://github.com/getsentry/sentry-cli/issues/482 | |
release: `${process.env.APP_NAME}-${process.env.APP_REVISION}` || '0.0.1', | |
dsn: process.env.SENTRY_DSN, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// curl -sS https://getcomposer.org/installer | php | |
// php composer.phar require aws/aws-sdk-php | |
// export AWS_ACCESS_KEY_ID=... | |
// export AWS_SECRET_ACCESS_KEY=... | |
$streamName = '<INSERT_YOUR_STREAMNAME_HERE>'; | |
$numberOfRecordsPerBatch = 10000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* UUID class | |
* | |
* The following class generates VALID RFC 4122 COMPLIANT | |
* Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
* | |
* UUIDs generated validates using OSSP UUID Tool, and output | |
* for named-based UUIDs are exactly the same. This is a pure | |
* PHP implementation. |