Skip to content

Instantly share code, notes, and snippets.

View KimTrijnh's full-sized avatar
🎯
Focusing

Huong111 KimTrijnh

🎯
Focusing
View GitHub Profile
@KimTrijnh
KimTrijnh / README.md
Created June 20, 2019 07:49
hospify-core/

Hospify API service

Hospify Core is a backend service. It provides REST API for Hospify

Prerequired

  • Install postgresql (prefer v10)
  • Install golang, set up path (Unix only, google for Windows)
# .bash_profile
export GOPATH="/your/go/path" # /Users/<username>/Documents/go
@KimTrijnh
KimTrijnh / 30dayscoding.md
Last active January 17, 2019 10:20
Dailycoding

My coding dairy

@KimTrijnh
KimTrijnh / javascriptHint.md
Created January 15, 2019 11:12
Javascript from FFC

This is Javascript hint from FFC program

@KimTrijnh
KimTrijnh / HTML_CSS_BOOTSTRAP.md
Last active January 22, 2019 06:48
HTML5 & CSS & BOOTSTRAP

This is

  1. ALL ABOUT HTML5
  2. ALL ABOUT CSS3, SASS
  3. ALL ABOUT BOOTSTRAP
  4. RESPONSIVE
  5. jQuery
  6. VSC
  7. GIT & GITHUB
// tabs is an array of titles of each site open within the window
var Window = function(tabs) {
this.tabs = tabs; // we keep a record of the array inside the object
};
// When you join two windows into one window
Window.prototype.join = function (otherWindow) {
this.tabs = this.tabs.concat(otherWindow.tabs);
return this;
};
@KimTrijnh
KimTrijnh / oophints.js
Created January 12, 2019 18:03
For OOP in FCC
function Dog() {
this.name = "Rupert";
this.color = "brown";
this.numLegs = 4;
}
// Add your code below this line
let hound = new Dog();
@KimTrijnh
KimTrijnh / jshints.js
Last active January 20, 2019 01:43
JS hints
//1. function (let PROP in OBJECT) { do something}
// if OBJECT is a STR => ex: let str = 'abc'
// str is consider as Object str = {0: 'a', 1: 'b', 2:'c'}
//Reverse a String
function reverseString(str) {
let rStr ='';
for (let i in str) {
rStr += str[str.length-1-i]
}