Skip to content

Instantly share code, notes, and snippets.

View hoangtuleulao's full-sized avatar

Phong(VN) hoangtuleulao

View GitHub Profile
@hoangtuleulao
hoangtuleulao / index.html
Created December 18, 2020 03:55 — forked from redgeoff/index.html
Pinch Zoom And Pan With HammerJS
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>Pinch Zoom</title>
</head>
<body>
@hoangtuleulao
hoangtuleulao / .htaccess
Created April 18, 2019 14:29 — forked from julianpoemp/.angular-htaccess.md
Optimal .htaccess configuration for Angular 7, Angular 6, Angular 5 (and older) app in production incl. fix for the angular browser caching issue.
# INSTRUCTION:
# Place this file next to the app's index.html.
# There are two options for the redirection:
# Option 1) (default): Your app is directly on the root of the domain.
# Option 2): Your app is placed in a subfolder from the root of the domain.
#
# If you have issues with browser caching you can uncomment the BROWSER CACHING part
# For new versions of this Gist go to:
# https://gist.github.com/julianpoemp/bcf277cb56d2420cc53ec630a04a3566
@hoangtuleulao
hoangtuleulao / gist:d172b183db2065d1511843772ea40c25
Created August 20, 2018 15:18 — forked from spacecat/gist:b71918d49fbd520d18647b0ec3513525
Create a new Ubuntu VM in Azure with desktop and connect using RDP
http://c-nergy.be/blog/?p=10993
1. Create new Ubuntu Server 16.04 LTS in Azure
2. Open RDP in NSG
3. SSH to VM
4. sudo apt-get update
5. sudo apt-get install ubuntu-desktop
6. wget "http://www.c-nergy.be/downloads/install-xrdp-1.9.1.zip"
7. sudo apt-get install unzip
8. unzip install-xrdp-1.9.1.zip