Skip to content

Instantly share code, notes, and snippets.

View bonniesimon's full-sized avatar
Confused , Frustrated and Caffeinated.☕

Bonnie Simon bonniesimon

Confused , Frustrated and Caffeinated.☕
View GitHub Profile
@schacon
schacon / better-git-branch.sh
Created January 13, 2024 18:41
Better Git Branch output
#!/bin/bash
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NO_COLOR='\033[0m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'
NO_COLOR='\033[0m'
@kashifulhaque
kashifulhaque / NvChad.md
Last active June 20, 2025 14:04
Neovim NvChad keybinds

Neovim keybinds

  • Capital letters do the opposite of small letters in command (Press shift to trigger capital letters)
  • _ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
    • 0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)
  • $ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)
  • d$ will delete from wherever your cursor is till the end of the line
  • f<character> to move cursor to the first occurrence of <character>
    • f( to move cursor to first occurence of (
  • t<character> to move cursor to upto but not on the first occurrence of <character>
  • t( to move cursor to first occurence of (
@sheminanto
sheminanto / postman-set-csrf-token.js
Created November 24, 2022 10:40
Postman pre-request script to set csrf token as a variable before every requests
pm.sendRequest({
url: "localhost:3000/",
method: "GET",
header :{
"accept": "*/*",
}
},(err, res)=> {
const $ = cheerio.load(res.text());
const csrfToken = $("meta[name='csrf-token']").attr("content");
pm.collectionVariables.set("xsrf-token", csrfToken);
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active June 20, 2025 15:42
Make Firefox fast again
@fransafu
fransafu / install_oh_my_zsh_amazon_linux.md
Created April 23, 2022 06:33
Install Oh-My-Zsh on Amazon EC2 instance running Amazon Linux

Install Oh-My-Zsh on Amazon EC2 instance running Amazon Linux

  1. Check for updates

    • sudo yum update -y
  2. Install dependencies

    • sudo yum install -y zsh util-linux-user
  3. Change to zsh to default

  • sudo chsh -s /usr/bin/zsh $USER
@MaxMatti
MaxMatti / README.md
Last active April 8, 2025 20:08
Using a secondary browser as Messenger for MS Teams only (open all links in other browser)

How to use a secondary browser as MS Teams messenger only

Chrome for Teams, Firefox for everything else

  1. install both browsers
  2. install the chrome-extension Open in Firefox
  3. add teams.microsoft.com as PWA in Chome
  4. go to the settings for "Open in Firefox" and select to open everything except *.microsoft.com in firefox

Firefox for Teams, Chrome for everything else

# Title of Your Project [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Check%20out%20this%20cool%20project&url=https://github.com/Cool/Project&hashtags=project,opensource)
![Github License](https://img.shields.io/badge/license-MIT-green)
![Code Coverage](https://img.shields.io/badge/coverage-90%25-green)
![React Version](https://img.shields.io/badge/react-v16.12.0-blue.svg)
![example](https://mdn.mozillademos.org/files/10529/inspector.png)
#### Description of your project
@rstacruz
rstacruz / README.md
Last active April 20, 2025 07:18
Setting up Jest with ESM

Setting up Jest with ESM

Here are some different ways on how to set up Jest to support ESM. This applies for Jest v25, Node v13, and Babel v7.

Method A: Native Node.js support

Node v14 and Jest v26 support ESM natively with the --experimental-vm-modules flag.

Install cross-env:

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active June 19, 2025 07:19
Online Resources For Web Developers (No Downloading)
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active June 22, 2025 07:10
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub