Skip to content

Instantly share code, notes, and snippets.

View barelyhuman's full-sized avatar

Siddharth Gelera (reaper) barelyhuman

View GitHub Profile
@barelyhuman
barelyhuman / goblin.sh
Last active January 15, 2022 10:04
simple wrapper around https://goblin.reaper.im for smaller shell scripts
goblin () {
curl -sf "https://goblin.reaper.im/$1@$2" | sh
$($3)
}
{
"basics": {
"name": "Siddharth Gelera",
"label": "Principal Developer",
"picture": "",
"email": "[email protected]",
"phone": "9885317891",
"website": "https://reaper.is",
"summary": "Full Stack Developer • Minimalist • OSS Fanatic",
"location": {
@barelyhuman
barelyhuman / vscode-minimal.json
Last active June 10, 2025 10:38
vscode-minimal.json
{
"editor.quickSuggestionsDelay": 1000,
"editor.lightbulb.enabled": "off",
"editor.selectionHighlight": true,
"editor.occurrencesHighlight": "singleFile",
"editor.formatOnSave": true,
"editor.fontFamily": "HurmitNerdFont",
"editor.fontSize": 13.5,
"editor.formatOnPaste": false,
"editor.tabSize": 2,
@barelyhuman
barelyhuman / main.js
Created June 29, 2021 20:52
Make API calls synchronous in web workers using atomics
// Simple js file that index.html has as a script src or the entry file of the app
let worker = new Worker("worker.js");
worker.postMessage({
url: "https://jsonplaceholder.typicode.com/todos/1",
});
@barelyhuman
barelyhuman / vscode-v2.json
Last active June 15, 2021 12:20
Version 2 of my current base vscode settings
{
// Theme and Layout settings
"workbench.colorTheme": "Vitesse Light",
"workbench.iconTheme": "quill-icons-minimal",
"workbench.productIconTheme": "icons-carbon",
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "none",
"editor.minimap.renderCharacters": false,
"workbench.startupEditor": "none",
"workbench.sideBar.location": "right",
@barelyhuman
barelyhuman / shell-setup.sh
Created April 30, 2021 01:55
my zsh base setup
#!/bin/zsh
if [ ! -d ~/.oh-my-zsh ]; then
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
if ! command -v git &> /dev/null
then
echo "git wasn't found, install it"
exit
@barelyhuman
barelyhuman / android-cli-setup.sh
Last active April 30, 2021 02:10
Setup Android tools for CLI , assumes jdk was already installed
#!/bin/bash
SDK_VERSION=commandlinetools-linux-6609375_latest.zip
ANDROID_BUILD_VERSION=30
ANDROID_TOOLS_VERSION=30.0.3
NDK_VERSION=20.1.5948944
# set default environment variables
ANDROID_HOME=$HOME/android
ANDROID_SDK_HOME=${ANDROID_HOME}
ANDROID_NDK=${ANDROID_HOME}/ndk/$NDK_VERSION
@barelyhuman
barelyhuman / sublime-base.json
Last active September 21, 2021 13:26
Base config for a decent looking sublime text
{
"color_scheme": "Packages/Materialize/schemes/Material Seti.tmTheme",
"font_face": "Ubuntu Mono Ligaturized",
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"theme": "Material Seti.sublime-theme",
"line_padding_top":4,
@barelyhuman
barelyhuman / full-stack-monorepo.md
Last active June 24, 2021 05:01
Full Stack Assignment

Full Stack Assignment

Deadline

  • 3 days after the initial commit

Evaluation Pointers

  • A Github repository to maintain the code
  • I'll go through you commit history to figure out your thought process so make sure you write your commits properly
  • The assignment is to test your skill level to what you claim to be so even if you can't complete the assignment completely, it is still fine to submit a half baked version till the deadline so we can at least analyse the code quality.
  • Your initial commit is just going to be a simple README.md file that has fountane assignment as its content or if using a boilerplate, the boilerplate is the initial commit.
(function () {
document
.querySelectorAll(".btn-link.timeline-comment-action")
.forEach((item) => item.click());
document.querySelectorAll("summary").forEach((item) => {
if (item.innerHTML.indexOf("Delete workflow run") > -1) {
item.click();
}
});