Skip to content

Instantly share code, notes, and snippets.

View tuantmtb's full-sized avatar

Trần Minh Tuấn tuantmtb

View GitHub Profile
@tuantmtb
tuantmtb / install virtualenv ubuntu 16.04.md
Created January 30, 2024 15:46 — forked from frfahim/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@tuantmtb
tuantmtb / reactjs-learning-path-2020.md
Created June 27, 2020 13:10 — forked from paulnguyen-mn/reactjs-learning-path-2020.md
Lộ trình học ReactJS cơ bản cho người mới bắt đầu 2020 🚀

Lộ trình học ReactJS cơ bản cho người mới bắt đầu 2020 🎉

  • Đôi tượng: mới bắt đầu học ReactJS mà không biết học những gì.
  • Yêu cầu kiến thức:
@tuantmtb
tuantmtb / ngrams.py
Created February 13, 2020 08:56 — forked from benhoyt/ngrams.py
Print most frequent N-grams in given file
"""Print most frequent N-grams in given file.
Usage: python ngrams.py filename
Problem description: Build a tool which receives a corpus of text,
analyses it and reports the top 10 most frequent bigrams, trigrams,
four-grams (i.e. most frequently occurring two, three and four word
consecutive combinations).
NOTES
@tuantmtb
tuantmtb / vue-history-prerender-nginx.md
Created February 8, 2019 02:40 — forked from inecmc/vue-history-prerender-nginx.md
Nginx config for Vue.js history mode + Prerender.io
# Force to use https
server {
    listen 80;
    listen [::]:80;
    server_name example.com;
    return 301 https://$server_name$request_uri;
}

# Default server configuration
@tuantmtb
tuantmtb / dedict.c
Created July 6, 2017 03:31 — forked from josephg/0dedict.py
Apple dictionaries
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
#define CHUNK 16384
/*
40 Length of the zlib stream
@tuantmtb
tuantmtb / mac-apps.md
Created March 25, 2017 06:14 — forked from erikreagan/mac-apps.md
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik