Skip to content

Instantly share code, notes, and snippets.

View sanketsahu's full-sized avatar

Sanket Sahu sanketsahu

View GitHub Profile
@sanketsahu
sanketsahu / babel-in-browser.js
Created January 15, 2023 09:14
Running Babel in the browser
import { useState } from "react";
const Babel = require("@babel/standalone");
const Parser = require("@babel/parser");
function isStyledFunctionCall(node) {
return (
node.type === 'CallExpression' &&
node.callee.type === 'Identifier' &&
@sanketsahu
sanketsahu / my-macos-setup-for-developers.md
Created May 21, 2020 17:51
My MacOS Setup for Developers

Installing a new Mac for Developers

Old system

  • Copy .ssh folder, .zshrc aliases

  • VSCode > Upload settings on Settings Sync.

New system

  • Paste .ssh folder, .zshrc aliases

  • iCloud login restores Desktop, Documents etc.

@sanketsahu
sanketsahu / ReactiveConf-CFP.md
Last active August 22, 2022 04:54
CFP: Reactive Conf: Introducing the React Native Builder

This is a proposal for ReactiveConf 2017 open call for Lightning talks. If you'd like to make this talk happen, please 🌟 this gist and retweet my tweet. 🙏


We are building something that would bring designer and developer on the same file!

Introducing BuilderX

A design tool which writes React Native code for you

BuilderX Demo

✅ Don't just prototype but code as a designer

@sanketsahu
sanketsahu / ReduxDevTools-for-MobX-State-Tree.ts
Created August 16, 2017 16:06
Using Redux DevTools with mobx-state-tree
import { createStore } from "redux";
import { onSnapshot } from "mobx-state-tree";
export default class ReduxDevTools {
static logger(state = {}, action: { state: any; type: string }) {
return action.state;
}
static init(state: any) {
const store: any = createStore(
@sanketsahu
sanketsahu / cloudSettings
Last active November 7, 2021 11:48
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-20T12:34:47.434Z","extensionVersion":"v3.4.3"}
@sanketsahu
sanketsahu / ListItem.jsx
Created February 13, 2017 13:40
NativeBase ListItem Example
<ListItem icon>
<Left>
<Button style={{ backgroundColor: '#FF9501' }}>
<Icon active name="plane" />
</Button>
</Left>
<Body>
<Text>Airplane Mode</Text>
</Body>
<Right>
@sanketsahu
sanketsahu / Best-AngularJS-Themes.md
Last active August 29, 2015 14:21
Best AngularJS Themes

Best AngularJS Themes

  • Ani Theme is an AngularJS Dashboard theme based on Bootstrap 3. It has subtle and smooth animation on widgets and page transitions. Checkout the demo and judge it yourself.

    Features:

  • Bootstrap AngularJS theme

@sanketsahu
sanketsahu / Top-and-Expert-Laravel-Developers.md
Last active February 27, 2024 10:11
Top & Expert Laravel Developers

Top & Expert Laravel Developers

  • Sanket is an expert Laravel 5 and Laravel 5.1 developer who loves to organize and create large scale Laravel applications with the use of Redis Queues and Amazon services. Other than Laravel he is also crazy about experiments with AngularJS, ReactJS, React Native and other new tech.