Skip to content

Instantly share code, notes, and snippets.

View vutranvn's full-sized avatar

Vu Tran vutranvn

View GitHub Profile
@vutranvn
vutranvn / something
Created May 17, 2017 15:46
What anything...
WwmoEsHNRPNmpFJU8qXwJsK4WC2b7S0rWa1lUJB3
K8DU5Y5MD1D54TET6HAP
@vutranvn
vutranvn / Docker Tuts
Last active April 18, 2017 03:04
All anything about docker
1. Install docker:
$ sudo apt-get update
$ sudo apt-get install -y docker.io
2. Start docker:
$ sudo systemctl start docker
3. Enable docker:
$ sudo systemctl enable docker
@vutranvn
vutranvn / Linode VPS Cheatsheet
Created March 29, 2017 18:25
For vps at Linode
### Run Up
1. Fixed /etc/hosts
2. Date Time
- check timezone. Change timezone
>date
>dpkg-reconfigure tzdata
3. Update and upgrade application
### Secure
@vutranvn
vutranvn / Android Curriculum Basic.md
Last active March 28, 2017 05:04
Self study android

Table Content

  1. Introdution and Settings
  2. Android Studio
    • Understanding the concept behind LogCat
    • Android Studio with LogCat Demo
    • More on Android Studio LogCat
  3. Startup
    • Run first app
    • XML
    • Properties and methods
@vutranvn
vutranvn / Url learn Photoshop
Last active February 28, 2017 08:11
Learn photoshop
* Kênh tiếng việt:
- Tự học Photoshop: www.youtube.com/tuhocphotoshop
- Thùy Uyên www.youtube.com/thuyuyeninfo_design
- Nguyễn Hoàng Phúc www.youtube.com/user/HPphotoshop
- Dương Trung Hiếu www.youtube.com/user/duongtrunghieu2009
- https://www.youtube.com/playlist?list=PLqGBGijj9U34y6FbeVtlRXowHCTMj3mRx
- https://hocps.wordpress.com/ch%C6%B0%C6%A1ng-trinh-h%E1%BB%8Dc/
* Kênh nước ngoài
@vutranvn
vutranvn / Add more resolution display Ubuntu
Created November 25, 2016 03:10
Add more resolution display Ubuntu
Add more resolution display
- Find out the name of your video device
sudo xrandr -q
Dell 2016H
cvt 1600 900 60
sudo xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
sudo xrandr --addmode VGA1 1600x900_60.00
Dell S2340L
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDpOf3KzV3snvzyver+qK0iZ6IUWkhRKDoAU3+avtQVf42QBOHIxJ/ZVly1Q967Fbf4DVKvCLYTWs/NJEpKz0eS4VwxImAaMP6TQzw3je/eLrIiTbMr07ikW6lH2fUWJt03R5jL4babk9gqFTZHUXkDklelSsuTvcGzNGrWxfi5Sla3iuQTSEEFJrwwsiE/uUKWuBmMJ61P+WMllwa55VVQE1bfjku/t01w3VqSIyM8Opgti+qJ5Z0MsOEAyCD7QNH4+5ddCFG1ZMDSYzcyNB9cIcpCn900Xbcx3caeW6wdbwW60c1OwQLhywB14VA0erOW9mOOdj3q8wRvM/2xWksQOxT+JSwIc16M6W2dK+uagkvNTKfB9kURVJd3if085dzvYUkAIgV9CxlRVclGzi/FjnOg0TEQiV1dhWjXs4YE2hUF5JMXrHjneHwfEYteQTfBVXfo3bGMf6dSkRl9zoTYjxgB+4J2Q3UoRFgq77OW5VUN053IMP0KFyW1iIMsIyu8IDBs9qkzzEA38Wz1svltyiGB6A3LYC/P1CmeoMDbm3QkILvp0rh5EmgkP1hC79A32D7hZcAnZmQTAvv+jHc0KGGXR+lIvGtTbiXCEvboNyIaGIFfAQEstCFiRg1gmgefPXoOf5eApzamypfGGPn5xwXnX61yTEG1YsT43HxeJw== [email protected]
@vutranvn
vutranvn / Fedora_command_useful
Created September 5, 2015 11:10
All command line are useful on Fedora
*** Install Chrome
- Enable Google YUM repository: create /etc/yum.repos.d/google-chrome.repo
cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - \$basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
@vutranvn
vutranvn / cmd_setup_lemp_centos
Created August 3, 2015 12:12
Command to setup LEMP on CentOS 6.5
aloha
@vutranvn
vutranvn / testOptGrpSelect.php
Last active August 29, 2015 14:21
Test Option Group Select
!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Demo nyro Modal</title>
<link rel="stylesheet" href="css/nyroModal.css" type="text/css" media="screen">
<script src="//code.jquery.com/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/jquery.nyroModal.js"></script>
<script type="text/javascript" src="js/jquery.nyroModal-ie6.js"></script>