Skip to content

Instantly share code, notes, and snippets.

View sriraman's full-sized avatar

sriraman sriraman

View GitHub Profile
@sriraman
sriraman / machine.js
Created August 18, 2020 09:24
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'PROFILE',
initial: 'idle',
context: {
user: null
},
states: {
idle: {
on: {
SUBMIT: 'updating'
@sriraman
sriraman / cloudSettings
Last active June 1, 2017 18:38
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-06-01T18:38:40.513Z","extensionVersion":"v2.8.1"}

Mar 17, 2017 at 8:00 PM

From Apple

2. 5 Performance: Software Requirements (iOS)

Thank you for submitting your app.

Upon further review, we found your app out of compliance with the following guideline(s):

@sriraman
sriraman / .eslintrc.json
Created July 28, 2016 08:18
React Native ESLint config
{
"extends": "standard",
"parser": "babel-eslint",
"installedESLint": true,
"plugins": [
"standard",
"react"
],
"parserOptions": {
"ecmaVersion": 6,
@sriraman
sriraman / 0_reuse_code.js
Created February 8, 2016 03:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/* Very Small mobile */
@media only screen and (max-width: 309px) {
.container{
width: 280px;
}
}
/* Normal Mobile - Portrait */
/ this file is called slides.slim in the gist
section
h1 HackerDeck
p Vagmi Mudumbai
section
markdown:
HackerDeck is a hacker friendly presentation tool. You write your markup in [Slim](http://www.slimframework.com/) and put it on gist.