Skip to content

Instantly share code, notes, and snippets.

View fusionstrings's full-sized avatar

Dilip Kr. Shukla fusionstrings

View GitHub Profile
function App() {
return (
<div>
<h1>Hello, World! What's up</h1>
</div>
);
}
ReactDOM.render(<App />, document.getElementById("root"));
@fusionstrings
fusionstrings / chompfile.toml
Last active May 11, 2022 22:16
chomp script to auto generate export map
version = 0.1
default-task = 'build'
extensions = ['chomp@0.1:swc', 'chomp@0.1:jspm', 'chomp@0.1:npm']
[template-options.npm]
auto-install = true
[[task]]
@fusionstrings
fusionstrings / render.css
Created August 9, 2021 15:40
Renderer CSS
body {
color: blue;
}
### Keybase proof
I hereby claim:
* I am fusionstrings on github.
* I am fusionstrings (https://keybase.io/fusionstrings) on keybase.
* I have a public key ASAhwecmnbt6KpGrLrws8UvJ5RvQNBymrGfDOvV9m55Bjgo
To claim this, I am signing this object:
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@fusionstrings
fusionstrings / string.py
Created April 8, 2020 07:53
Python string interpolation
# https://www.programiz.com/python-programming/string-interpolation
f'Hello {name}! This is {program}'
@fusionstrings
fusionstrings / .config.toml
Last active May 24, 2019 09:50
How to run gitlab-runner GItlab CI locally
[[runners]]
clone_url = "absolute/path/of/repository"
#get tocken
kubectl describe secret kubernetes-dashboard --namespace=kube-system
# enable dashboard
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
# Open dashboard and login with token
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy
@fusionstrings
fusionstrings / redux-connection-provider.js
Created April 8, 2018 22:11
reusable redux connection using render prop
import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import {
someAction,
anotherAction
} from './actions.js';
class ReduxConnectionProvider extends React.Component {
@fusionstrings
fusionstrings / app.js
Created March 19, 2018 16:27
Parcel Express
import React from 'react';
import ReactDOM from 'react-dom';
function Hello(){
return (
<h1>Hello! Parcel App</h1>
);
}
function App(){