Skip to content

Instantly share code, notes, and snippets.

@misostack
misostack / Visual Studio Code Shortcut Keys.md
Last active December 19, 2019 03:33
Visual Studio Code Shortcut Keys

Visual Studio Code Shortcut Keys

  • Ctrl + B : Toggle sidebar
  • Ctrl + ` : Toggle Terminal
  • Ctrl + N : New File
  • Ctrl + P : Search file
  • Ctrl + Shift + X : Manage extensions
  • Ctrl + Shift + E : File Explorer
  • Ctrl + Shift + F : Search
  • Ctrl + Shift + G : Source Control
@misostack
misostack / go-quotes.md
Last active June 26, 2024 06:58
Go-Quotes

Important Quotes in GoLang

Go is a general-purpose language designed with systems programming in mind. It is strongly typed and garbage-collected and has explicit support for concurrent programming. Programs are constructed from packages, whose properties allow efficient management of dependencies

There are boolean constants, rune constants, integer constants, floating-point constants, complex constants, and string constants. Rune, integer, floating-point, and complex constants are collectively called numeric constants.

Encapsulation

Go developers generally only rely on encapsulation when it's necessary, such as when field data needs to be validated by

@misostack
misostack / go-stdlib-interface-selected.md
Created December 31, 2019 11:29 — forked from asukakenji/go-stdlib-interface-selected.md
Go (Golang) Standard Library Interfaces (Selected)

Go (Golang) Standard Library Interfaces (Selected)

This is not an exhaustive list of all interfaces in Go's standard library. I only list those I think are important. Interfaces defined in frequently used packages (like io, fmt) are included. Interfaces that have significant importance are also included.

All of the following information is based on go version go1.8.3 darwin/amd64.

@misostack
misostack / brainstorming.md
Last active March 1, 2024 15:40
headfirst-mvc-laravel

Brainstorming

Headfirst MVC

  • Targets : leaning and investigate MVC and Relation DB Design with Laravel(php) and MySQL

Sample project

Jim is a lecturer at a community college, and he wants an application to help him to keep track of the students he is advising. He

@misostack
misostack / english-quotes.md
Last active July 17, 2021 02:42
The English Quotes Version 1.0

List words

1.First list

  • dictates
  • intimate
  • appropriate
  • circumstance
  • individual
  • applicant
@misostack
misostack / package.json
Created March 4, 2020 04:09 — forked from adamreisnz/package.json
Simple pure npm scripts build process
{
"name": "project-name",
"description": "Template for static sites",
"version": "1.0.0",
"homepage": "http://www.project-name.com",
"author": {
"name": "Adam Reis",
"url": "http://adam.reis.nz"
},
"license": "UNLICENSED",
@misostack
misostack / stuns
Created May 18, 2020 17:39 — forked from zziuni/stuns
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@misostack
misostack / refactoring.md
Last active May 23, 2020 16:23
Refactoring is Important
  1. Don’t get attached to code
  2. No code is perfect
  3. All code experiences entropy
  4. You understand your code the best at the moment you’ve stopped writing it

Always keep an open mind

@misostack
misostack / nodeJs.crypto.calculatingHash.js
Created May 25, 2020 16:15 — forked from GuillermoPena/nodeJs.crypto.calculatingHash.js
NodeJS - CRYPTO : How to calculate a hash from file or string
var crypto = require('crypto')
, fs = require('fs')
// Algorithm depends on availability of OpenSSL on platform
// Another algorithms: 'sha1', 'md5', 'sha256', 'sha512' ...
var algorithm = 'sha1'
, shasum = crypto.createHash(algorithm)
// Updating shasum with file content
var filename = __dirname + "/anything.txt"