Skip to content

Instantly share code, notes, and snippets.

View aravindballa's full-sized avatar
🌱
building stuff

Aravind Balla aravindballa

🌱
building stuff
View GitHub Profile
import { ComponentType, useEffect, useRef } from "react"
import { createStore } from "https://framer.com/m/framer/store.js@^1.0.0"
import { addPropertyControls, ControlType } from "framer"
import { AxiomWithoutBatching } from "@axiomhq/js"
const axiom = new AxiomWithoutBatching({
token: "xaat-f7a91312-92ce-4c7f-8692-ebc92a52aabd",
orgId: "idya-ltra",
})
const axiomDataset = "framer-experiments"
@aravindballa
aravindballa / default-tailwind-colors.css
Last active May 25, 2020 11:11
Default Tailwind CSS colors
:root {
--transparent: transparent;
--current: currentColor;
--black: #000;
--white: #fff;
--gray-100: #f7fafc;
--gray-200: #edf2f7;
--gray-300: #e2e8f0;
class WelcomeComp extends React.Component {
constructor(props) {
super(props);
this.state = { name: '' }
if (props.name) this.state = { name: props.name };
}
updateName = name => this.setState({ name })
render() {
@aravindballa
aravindballa / only-yarn-package.json
Created May 8, 2018 12:37
Stop people from using npm and use yarn instead.
{
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('This library must be installed with Yarn: https://yarnpkg.com/ ')\""
}
// Just paste photos to host them on github
@aravindballa
aravindballa / delete-npmlock.sh
Created April 17, 2018 09:23
Delete node_modules and package-lock.json for root and all packages for lerna.
rm -rf node_modules/ package-lock.json
for d in packages/*/
do
rm -rf "$d"/node_modules "$d"/package-lock.json
echo "$d"
done
@aravindballa
aravindballa / open_vscode_windows.reg
Created April 4, 2018 04:48
Open with VS Code [Windows]
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\vscode]

Keybase proof

I hereby claim:

  • I am aravindballa on github.
  • I am balla (https://keybase.io/balla) on keybase.
  • I have a public key whose fingerprint is 0DFA 8F80 0681 56E4 A9D3 C55D 086D EA80 4CEF E0A9

To claim this, I am signing this object:

def index(request):
return render_to_response(‘index.html’)