-
brew install gnupg2 pinentry-mac
(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg2 --gen-key
-
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
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
FROM node:0.10.38 | |
RUN apt-get update -qq && apt-get install -y \ | |
git \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENV TZ=Asia/Singapore | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
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 React from 'react'; | |
import { connect } from 'react-redux'; | |
import { fromJS } from 'immutable'; | |
const props = { someId: '123' }; | |
const Simple = (props) => ( | |
<div>testing</div> | |
); | |
export default connect( |
- Step 1: Press
cmd + ,
- Step 2: Find Workbench>Settings: Editor
- Step 3: Choose
json
- Step 4: Copy and paste the below,
{
"workbench.colorTheme": "Default Light+",
"terminal.integrated.shell.osx": "/bin/zsh",
"git.enableSmartCommit": true,
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
type Message = { | |
text: string; | |
type: 'Error' | 'Warning' | 'Info'; | |
}; | |
type Item = { | |
product: string; | |
quantity: number; | |
price: number; | |
total: number; | |
totalGST: number; |
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
{ | |
"Chilli": { | |
"prefix": "zc", | |
"body": ["🌶"], | |
"description": "Log to console" | |
}, | |
"Normal Log": { | |
"prefix": "zl", | |
"body": ["console.log('$1');"], | |
"description": "Log to console" |
I hereby claim:
- I am anupvarghese on github.
- I am anupvarghese (https://keybase.io/anupvarghese) on keybase.
- I have a public key ASAQpfwZ3FvmoItBc8kdw1QujGLPWlKeFlE7S6zr5bBv8Ao
To claim this, I am signing this object: