Skip to content

Instantly share code, notes, and snippets.

View MarJaysonSanAgustin's full-sized avatar
🌏
Working from anywhere

Mar Jayson San Agustin MarJaysonSanAgustin

🌏
Working from anywhere
View GitHub Profile
@MarJaysonSanAgustin
MarJaysonSanAgustin / cloudSettings
Created September 28, 2021 02:24 — forked from john20xdoe/cloudSettings
VSCode public settings for Dev 1 team
{"lastUpload":"2020-04-21T01:22:44.724Z","extensionVersion":"v3.4.3"}
@MarJaysonSanAgustin
MarJaysonSanAgustin / README-Template.md
Created February 2, 2020 05:28 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@MarJaysonSanAgustin
MarJaysonSanAgustin / index.js
Created October 21, 2017 05:28 — forked from badnorseman/index.js
An OOP example
'use strict'
const express = require('express')
const bodyParser = require('body-parser')
const todos = require('./todos')
require('./env')
const app = express()
app.use(bodyParser.json())
app.use(express.static('public'))
@MarJaysonSanAgustin
MarJaysonSanAgustin / header.component.html
Created August 13, 2017 15:04 — forked from 2n2n/header.component.html
Accessing the body tag of the angular app and toggling the class using angular 4 attribute directives
// since the <body> tag is inside the index.php and doesn't have any component.ts
<a alphaToggleNav class="sidebar-toggle" data-toggle="offcanvas" role="button">
// the alphaToggleNav directive will find the body tag, and will change the className depending on the state.
@MarJaysonSanAgustin
MarJaysonSanAgustin / uploadFile.ts
Created June 5, 2017 15:27 — forked from aitorjs/uploadFile.ts
Upload file using angular2 and nodejs (express)
// FRONTEND (angular2)
// product-form.compontent.html
<input type="file" (change)="fileChangeEvent($event)" placeholder="Upload file..." />
<button type="button" (click)="upload()">Upload</button>
// product-form.compontent.ts
import { Component, OnInit } from '@angular/core';
import { Http } from '@angular/http';
@Component({