- Requisites: brew
Install nvm:
brew install nvm| #!/bin/sh | |
| # make sure you have imagemagick installed: brew install imagemagick | |
| # your app_icons.sh file should have the correct permissions: run `chmod 775 app_icons.sh` in your terminal from where you put this file | |
| # put your `my_icon.png` next to this file and run ./app_icons.sh to export your app icons | |
| x=my_icon.png | |
| y=${x%.*} | |
| # delete the export directory so we start clean |
| /* | |
| Copy this into the console of any web page that is interactive and doesn't | |
| do hard reloads. You will hear your DOM changes as different pitches of | |
| audio. | |
| I have found this interesting for debugging, but also fun to hear web pages | |
| render like UIs do in movies. | |
| */ | |
| const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
First, check your current config (example output in homebrew.mxcl.postgresql.plist.xml lower down in this gist):
cat ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plistMost importantly, note the -D /usr/local/var/postgres argument.
Second, shut down your current PostgreSQL.
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
| "Update": "true" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "443" | |
| } |
A quick guide to write a very very simple "ECHO" style module to redis and load it. It's not really useful of course, but the idea is to illustrate how little boilerplate it takes.
Step 1: open your favorite editor and write/paste the following code in a file called module.c
#include "redismodule.h"
/* ECHO <string> - Echo back a string sent from the client */
int EchoCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {##QUERY (PostgreSQL 9.4)
WITH RECURSIVE t(n) AS (
VALUES(1337)
UNION ALL
SELECT CASE WHEN n%2=0 THEN n/2 ELSE 3*n+1 END FROM t WHERE n > 1)
SELECT * FROM tPicking the right architecture = Picking the right battles + Managing trade-offs
| Code | Desc | Details | |
|---|---|---|---|
| 10001 | Account is not active | https://www.twilio.com/docs/api/errors/10001 | |
| 10002 | Trial account does not support this feature | https://www.twilio.com/docs/api/errors/10002 | |
| 10003 | Incoming call rejected due to inactive account | https://www.twilio.com/docs/api/errors/10003 | |
| 11100 | Invalid URL format | https://www.twilio.com/docs/api/errors/11100 | |
| 11200 | HTTP retrieval failure | https://www.twilio.com/docs/api/errors/11200 | |
| 11205 | HTTP connection failure | https://www.twilio.com/docs/api/errors/11205 | |
| 11206 | HTTP protocol violation | https://www.twilio.com/docs/api/errors/11206 | |
| 11210 | HTTP bad host name | https://www.twilio.com/docs/api/errors/11210 | |
| 11215 | HTTP too many redirects | https://www.twilio.com/docs/api/errors/11215 |