Skip to content

Instantly share code, notes, and snippets.

On vacation


On vacation
Block or report user

Report or block lp6m

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jadercorrea / postgres
Created May 9, 2016
Postgres install commands for Elementary OS
View postgres
$ sudo sh -c "echo 'deb precise-pgdg main' > /etc/apt/sources.list.d/pgdg.list"
$ wget --quiet -O - | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install postgresql-common
$ sudo apt-get install postgresql-9.3 libpq-dev
$ sudo -u postgres createuser username -s
TonyMooori /
Last active Sep 22, 2019
import serial
from import list_ports
import time
def select_port():
ser = serial.Serial()
ser.baudrate = 19200 # ArduinoのSerial.beginで指定した値
ser.timeout = 0.1 # タイムアウトの時間
ports = list_ports.comports() # ポートデータを取得
You can’t perform that action at this time.