Skip to content

Instantly share code, notes, and snippets.

@cigzigwon
cigzigwon / auth.ex
Created November 17, 2020 17:02
NS OAuth 1.0a Token Based Auth
@oauth_creds [
realm: "#{@acct_id}",
oauth_consumer_key: "<CONSUMER_KEY>",
oauth_consumer_secret: "<CONSUMER_SECRET>",
oauth_token: "<TOKEN>",
oauth_token_secret: "<TOKEN_SECRET>",
oauth_signature_method: "HMAC-SHA256",
oauth_version: "1.0"
]
@aesmail
aesmail / phoenix_channels_nativescript.md
Last active November 8, 2018 12:11
NativeScript + Phoenix Channels

I have been struggling (unnecessarily) to make my NativeScript app work seamlessly with Phoenix Channels.

I'm sure this is not the perfect solution, but after trying a lot of other solutions and none of them worked, this one worked for me like a charm.

I'm using:

  • macOS 10.12.6
  • phoenix 1.3.0
  • NativeScript 3.1.3
@ghl3
ghl3 / _ImmutableDatabase
Last active March 21, 2023 14:07
Implementation of an immutable database in postgres
We couldn’t find that file to show.