idVendor=148f, idProduct=761a (148f:761a) MT7610U Ralink Technology, Corp. Manufacturer: MediaTek
The official support site is http://www.tp-link.com/en/download/Archer-T2U.html.
idVendor=148f, idProduct=761a (148f:761a) MT7610U Ralink Technology, Corp. Manufacturer: MediaTek
The official support site is http://www.tp-link.com/en/download/Archer-T2U.html.
Problem: when cirros boot, it takes too long to reach the login prompt, because it starts process of cloud-init.
qemu-image convert -f qcow2 -O vmdk cirros_0.3.5_i386.img cirros_0.3.5_i386.vmdk
#!/bin/bash | |
# Setup Ledger Nano S in Linux | |
# according to http://support.ledgerwallet.com/knowledge_base/topics/ledger-wallet-is-not-recognized-on-linux | |
# However, in Fedora, the "plugdev" group is not existed (obsolete). | |
# The solution is to replace `GROUP=\"plugdev\"` to `OWNER=\"<username>\"` in the script, for example: | |
# Original rule: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001", MODE="0660", GROUP="plugdev" | |
# Change to: SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001", MODE="0660", OWNER="ptantiku" | |
wget -q -O - https://www.ledgerwallet.com/support/add_udev_rules.sh | sed -re 's/GROUP=\\"plugdev\\"/OWNER=\\"'$(whoami)'\\"/' | sudo bash |
bzr branch lp:~openconnect/openconnect/trunk
import csv | |
from openpyxl import Workbook, load_workbook | |
infile = 'input.csv' | |
outfile = 'output.xlsx' | |
# wb = Workbook() # new file | |
wb = load_workbook( outfile ) # load existing file | |
ws = wb.active |
version: '2' | |
services: | |
web: | |
image: python:2.7 | |
volumes: | |
- $PWD/public_html:/web | |
ports: | |
- "443:443" | |
working_dir: /web | |
command: bash -c "python -m SimpleHTTPServer 443 2>&1" |
\documentclass[12pt,a4paper]{article} | |
\usepackage{fontspec} | |
\usepackage{xunicode} | |
\usepackage{xltxtra} | |
\XeTeXlinebreaklocale "th" | |
\renewcommand{\baselinestretch}{1.2} | |
\defaultfontfeatures{Scale=1.23} | |
%\fontspec[Scale=1.23]{TH SarabunPSK} %scale specific font |
#!/bin/bash | |
yum -y install texlive texlive-latex texlive-xetex | |
yum -y install texlive-collection-latex | |
yum -y install texlive-collection-latexrecommended | |
yum -y install texlive-xetex-def | |
yum -y install texlive-collection-xetex | |
#Optional | |
#yum -y install texlive-collection-latexextra | |
yum -y install texlive-xltxtra |
#!/bin/bash | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install -y libdatrie-dev libthai-dev | |
cd /tmp | |
mkdir libthai4r && curl -L https://github.com/ptantiku/libthai4r/tarball/master | tar xz --strip 1 -C libthai4r | |
cd libthai4r | |
ruby extconf.rb | |
make | |
sudo make install |