snipt

Ctrl+h for KB shortcuts

Markdown

Intro to Node on AWS Lambda for S3 and Kinesis

https://snippets.siftie.com/embed/d734d37f456766ad41a66be320d54cfe/
/raw/d734d37f456766ad41a66be320d54cfe/
d734d37f456766ad41a66be320d54cfe
markdown
Markdown
1
2016-12-18T05:51:44
True
False
True
May 11, 2015 at 12:00 AM
/api/public/snipt/140445/
intro-to-node-on-aws-lambda-for-s3-and-kinesis
<p><a href="http://eng.localytics.com/taming-aws-lambda-for-s3-and-kinesis-at-localytics/">Read on eng.localytics.com &raquo;</a></p>
blog

Text only

PostgreSQL: Create a user and a database, set as owner, and grant privileges.

1
2
3
CREATE USER bob WITH PASSWORD 'bazzy';
CREATE DATABASE baz WITH OWNER bob;
GRANT ALL PRIVILEGES ON DATABASE baz to foo;
https://snippets.siftie.com/embed/77daad8174ebf6c04b747a8d2617ce17/
/raw/77daad8174ebf6c04b747a8d2617ce17/
77daad8174ebf6c04b747a8d2617ce17
text
Text only
3
2019-03-01T14:11:33
True
False
False
Dec 17, 2015 at 02:24 PM
/api/public/snipt/140056/
postgresql-create-a-user-and-a-database-set-as-owner-and-grant-privileges-5a568550
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>CREATE USER bob WITH PASSWORD &#39;bazzy&#39;; </span><span id="L-2"><a name="L-2"></a>CREATE DATABASE baz WITH OWNER bob; </span><span id="L-3"><a name="L-3"></a>GRANT ALL PRIVILEGES ON DATABASE baz to foo; </span></pre></div> </td></tr></table>
postgres, postgresql, psql

Text only

No you can't do that.

1
2
3
4
Welcome to Swift!  Type :help for assistance.
  1> let 1 = 2
<REPL>:1:5: error: expected pattern
let 1 = 2
https://snippets.siftie.com/embed/1c78391ff16ae02a0ac6a669a46a66f3/
/raw/1c78391ff16ae02a0ac6a669a46a66f3/
1c78391ff16ae02a0ac6a669a46a66f3
text
Text only
4
2019-03-05T00:48:04
True
False
False
/api/public/snipt/135228/
no-you-cant-do-that-62753c8b
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Welcome to Swift! Type :help for assistance. </span><span id="L-2"><a name="L-2"></a> 1&gt; let 1 = 2 </span><span id="L-3"><a name="L-3"></a>&lt;REPL&gt;:1:5: error: expected pattern </span><span id="L-4"><a name="L-4"></a>let 1 = 2 </span></pre></div> </td></tr></table>

Markdown

Ionic Framework Quickstart

  • npm install ionic cordova ios-sim -g
  • git clone https://github.com/driftyco/ionic-angular-cordova-seed.git
  • cd ionic-angular-cordova-seed
  • cordova platform add ios
  • ionic emulate ios
https://snippets.siftie.com/embed/7bf201b7fadb1e4902284bcdde11afe6/
/raw/7bf201b7fadb1e4902284bcdde11afe6/
7bf201b7fadb1e4902284bcdde11afe6
markdown
Markdown
5
2019-03-20T05:45:40
True
False
False
/api/public/snipt/115478/
ionic-framework-quickstart
<ul> <li><code>npm install ionic cordova ios-sim -g</code></li> <li><code>git clone https://github.com/driftyco/ionic-angular-cordova-seed.git</code></li> <li><code>cd ionic-angular-cordova-seed</code></li> <li><code>cordova platform add ios</code></li> <li><code>ionic emulate ios</code></li> </ul>