Skip to content

Instantly share code, notes, and snippets.

View carloskim123's full-sized avatar
:electron:
java

Carlos Kimutai Kirui carloskim123

:electron:
java
View GitHub Profile
@michaelminter
michaelminter / git-colors.md
Created October 1, 2012 00:35
Colors in git

Bored with just black and white in your git status? Add some colour!

Open up your global Git configuration file (it should be found in ~/.gitconfig) and enter this into it:

[color]
  ui = auto
[color "branch"]
  current = yellow reverse
  local = yellow

remote = green

@carloskim123
carloskim123 / Script.js
Created June 22, 2023 02:16
File System Api
const fileContentDiv = document.getElementById('file-content');
let fileHandle;
const pickerOpts = {
types: [
{
description: "Images",
accept: {
"image/*": [".png", ".gif", ".jpeg", ".jpg", ".js", ".html", ".css", ".go"],
},