Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kevia technoY2K

🏠
Working from home
View GitHub Profile
@technoY2K
technoY2K / Main.hs
Last active Feb 4, 2022
An example of using the blockfrost API.
View Main.hs
module Main (main) where
import Blockfrost.Client
import qualified Data.Text as T
main :: IO ()
main = do
project <- projectFromFile ".env"
result <- runBlockfrost project $ do
View delete_remote_git_branches.txt
git branch -r --merged | egrep -v "(^\*|master|dev)" | sed 's/origin\///' | xargs -n 1 git push origin --delete
@technoY2K
technoY2K / .eslintrc
Created Jul 13, 2018
basic eslintrc file for babel/react
View .eslintrc
{
"env": {
"es6": true,
"browser": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
@technoY2K
technoY2K / docker_cheat_sheet.md
Last active Dec 17, 2019
🍎macOS && 🐟fish shell && 🛳docker cheat sheet
View docker_cheat_sheet.md

List all containers

docker container ls -a

Remove all containers

docker container rm eval (docker container ls -a -q)
@technoY2K
technoY2K / index.html
Created Dec 29, 2017
Basic html5 template for React
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title></title>
</head>
<body>