Skip to content

Instantly share code, notes, and snippets.

View sabuhish's full-sized avatar
💭
Pythonic, Linux lover

Sabuhi sabuhish

💭
Pythonic, Linux lover
  • Baku Azerbaijan
View GitHub Profile
@sabuhish
sabuhish / gist:ae51a08c6cd58cc9f0c2b95816f67f6e
Created February 5, 2022 15:18 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@sabuhish
sabuhish / comments.md
Created January 16, 2022 09:45 — forked from adamveld12/comments.md
Go Code Review Comments

Go Code Review Comments

This page collects common comments made during reviews of Go code, so that a single detailed explanation can be referred to by shorthands. This is a laundry list of common mistakes, not a style guide.

You can view this as a supplement to http://golang.org/doc/effective_go.html.

Please discuss changes before editing this page, even minor ones. Many people have opinions and this is not the place for edit wars.

@sabuhish
sabuhish / irc.md
Last active October 10, 2020 06:57 — forked from xero/irc.md
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
@sabuhish
sabuhish / curl.md
Created June 29, 2020 14:06 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@sabuhish
sabuhish / basic-mongo-queries.js
Created April 11, 2020 15:27 — forked from dipaktelangre/basic-mongo-queries.js
MongoDB: Indexing - Create, Update, Delete and Analyze MongoDb Indexes
//show databases
show dbs
//Use Database test
use test
// show collections from the database
show collections
// show counts of records in collection
@sabuhish
sabuhish / gist:f994c41f4e0b00366408b5a064675701
Created February 14, 2020 09:35 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@sabuhish
sabuhish / vscode_shortcuts.md
Created November 2, 2019 06:28 — forked from bradtraversy/vscode_shortcuts.md
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

Official List of all commands

Open/View