Skip to content

Instantly share code, notes, and snippets.

View fusionstrings's full-sized avatar

Dilip Kr. Shukla fusionstrings

View GitHub Profile
import { build, LoadResponse, Parser } from 'npm:@deno/eszip';
const moduleURL =
'https://raw.githubusercontent.com/fusionstrings/fusionstrings/refs/heads/creation/package/src/dom/home.ts';
const importmapURL =
'https://raw.githubusercontent.com/fusionstrings/fusionstrings/refs/heads/creation/deno.json';
const path = new URL('./home.ts', import.meta.url).href;
console.log(path);
async function main() {
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 = ['[email protected]:swc', '[email protected]:jspm', '[email protected]: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 {