Skip to content

Instantly share code, notes, and snippets.

foo is boring I am Bar Horing

Bar Horing Amir barhoring

foo is boring I am Bar Horing
View GitHub Profile
barhoring / index.html
Created Apr 8, 2022
simple html + css to start coding
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../assets/style.css" />
<title>Starter Files and Tooling Setup!</title>
# run like:
# LINK=*********/*****************/
# sh $LINK
# example
# sh*********/*****************/
barhoring / index.js
Created Oct 2, 2021 — forked from zkat/index.js
npx is cool
View index.js
#!/usr/bin/env node
console.log('yay gist')
barhoring / SetFileList.html
Created Jun 16, 2021 — forked from guest271314/SetFileList.html
Set the FileList of <input type="file"> to arbitrary File objects
View SetFileList.html
<!DOCTYPE html>
<!-- guest271314 11-12-2017 -->
<!-- see -->
barhoring /
Created Jun 8, 2021
How to deploy a routed React app to gh-pages

How to deploy a routed React app to gh-pages

Add homepage to package.json "homepage": "https://{user_name}{repo_name}/",

Install gh-pages package

npm i gh-pages

Replace all '/' in the app with process.env.PUBLIC_URL

barhoring / .babelrc
Created Jun 7, 2021
ESLint + Prettier + Babel configuration
View .babelrc
"plugins": ["syntax-dynamic-import"]
barhoring / main.js
Created Dec 20, 2020
create promise array and use axios to wait for all to return
View main.js
const axios = require('axios');
const fs = require('fs');
const dependencies = [
barhoring /
Created Nov 24, 2020
Django - Iterate over queryset
qs = Clinic.objects.prefetch_related('users')
values = tmp.values()
for item in values:
barhoring /
Created Sep 25, 2020 — forked from citrusui/
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<summary>How do I dropdown?</summary>
This is how you dropdown.