Skip to content

Instantly share code, notes, and snippets.

View ac360's full-sized avatar

Austen ac360

View GitHub Profile

Serverless Frameworkコントリビューションガイド

コントリビューションの種類

  • フォーラムでの回答
  • issueを立ててバグ報告
  • slackの場でトラブルシューティング
  • ドキュメントの翻訳
  • GitHub上でスターを付ける
  • プラグインを開発して公開
  • Tipsなどをブログにまとめて公開
  • examplesリポジトリへのユースケース追加
@nikgraf
nikgraf / question.md
Last active April 17, 2019 22:24
Providing sensitive information to a Lambda

I’m struggling with providing sensitive information like a password or api key to a Lambda:

In the AWS docs it says: When you create or update Lambda functions that use environment variables, AWS Lambda encrypts them using the AWS Key Management Service.

But they also mention

Storing Sensitive Information

For sensitive information, such as database passwords, we recommend you use client-side encryption using
@nikgraf
nikgraf / reactive-2016.md
Last active August 5, 2021 15:31
Proposal for lightning talk at Reactive Conf 2016

Rich text editing with DraftJS Plugins

Earlier this year Facebook open sourced its React based rich text editing framework Draft.js. At Facebook it powers status updates, comments & notes. Others used it to build editors matching Medium’s experience.

Together with a whole team of open source contributors I built a plugin architecture on top of Draft.js. In this talk I walk you through the existing plugins and show how you can build your own feature-rich text editor for the web with only a handful lines of code. 🤓

Draft JS Plugins Logo

@stevebowman
stevebowman / AWSLambdaSimpleSMS.js
Last active June 22, 2023 12:09
AWS Lambda Function to send an SMS message via the Twilio API
console.log('Loading event');
// Twilio Credentials
var accountSid = '';
var authToken = '';
var fromNumber = '';
var https = require('https');
var queryString = require('querystring');
@maephisto
maephisto / Javascript ISO country code to country name conversion
Last active November 3, 2023 21:05
ISO 3166-1 alpha-2 country code to country name conversion with a simple Javascript implementation, an array and a function.
var isoCountries = {
'AF' : 'Afghanistan',
'AX' : 'Aland Islands',
'AL' : 'Albania',
'DZ' : 'Algeria',
'AS' : 'American Samoa',
'AD' : 'Andorra',
'AO' : 'Angola',
'AI' : 'Anguilla',
'AQ' : 'Antarctica',
@joeLepper
joeLepper / gulpfile.js
Created January 10, 2014 18:59
My Gulpfile
var gulp = require('gulp')
, jshint = require('gulp-jshint')
, csslint = require('gulp-csslint')
, sass = require('gulp-sass')
, gconcat = require('gulp-concat')
, uglify = require('gulp-uglify')
, rename = require('gulp-rename')
, ngmin = require('gulp-ngmin')
, gzip = require('gulp-gzip')
, jade = require('gulp-jade')