Skip to content

Instantly share code, notes, and snippets.

View aditya2337's full-sized avatar
🎯
Focusing

Aditya aditya2337

🎯
Focusing
View GitHub Profile
@aditya2337
aditya2337 / .gitignore
Last active August 22, 2022 11:22 — forked from sidoshi/.gitignore
copy-sandbox-env
node_modules/
@aditya2337
aditya2337 / machine.js
Last active July 22, 2021 14:04
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'Booking new',
initial: 'open',
states: {
initiated: {
},
open: {
on: {
NOTIFY_LOGEX: 'sanityCheckDestination'
@aditya2337
aditya2337 / machine.js
Last active July 20, 2021 14:27
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'Booking new',
initial: 'open',
states: {
initiated: {
},
open: {
on: {
NOTIFY_LOGEX: 'sanityCheck'
@aditya2337
aditya2337 / machine.js
Last active July 12, 2021 11:08
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
license: mit
@aditya2337
aditya2337 / .block
Created April 21, 2020 13:18
fresh block
license: mit
@aditya2337
aditya2337 / .block
Last active April 21, 2020 13:33
fresh block
license: mit
@aditya2337
aditya2337 / machine.js
Created January 24, 2020 02:46
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
gitstatus=`git status 2> /dev/null`
if [[ `echo $gitstatus | grep "Changes to be committed"` != "" ]]
then
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1***)/'
elif [[ `echo $gitstatus | grep "Changes not staged for commit"` != "" ]]
then
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1**)/'
elif [[ `echo $gitstatus | grep "Untracked"` != "" ]]
then
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1*)/'
{
// Place your settings in this file to overwrite the default settings
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"editor.renderWhitespace": "boundary",
"editor.rulers": [100],
"editor.cursorBlinking": "solid",
"workbench.iconTheme": "vscode-icons",
"editor.fontFamily": "Operator Mono light, 'Fira Code'",