Skip to content

Instantly share code, notes, and snippets.

View davidqiu1993's full-sized avatar

David Qiu davidqiu1993

View GitHub Profile
@davidqiu1993
davidqiu1993 / process_demo_video.sh
Created December 11, 2019 20:21
Process demo video in Linux
#!/bin/bash
INPUT_VIDEO="input.mp4"
OUTPUT_VIDEO="output.mp4"
SPEED_UP=20
RESIZE=1280:960
mencoder "$INPUT_VIDEO" -speed $SPEED_UP -vf scale=$RESIZE -ovc lavc -o "$OUTPUT_VIDEO"
@davidqiu1993
davidqiu1993 / ubuntu_setup.sh
Created October 12, 2018 07:21
Ubuntu Setup
#!/bin/bash
# basic
sudo apt-get install -y gcc g++
sudo apt-get install -y git
# node.js
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
@davidqiu1993
davidqiu1993 / install_python_research_packages.sh
Last active March 13, 2019 17:44
Python Packages for Research
# General
pip install numpy scipy matplotlib ipython jupyter pandas sympy nose argparse tqdm
# Machine Learning
pip install tensorflow keras Theano sklearn scikit-image
# OpenCV
pip install opencv-python
# Natural Language Processing
@davidqiu1993
davidqiu1993 / autoware_install.md
Last active May 20, 2018 08:23
Autoware Everything

General Infrustructure

Basic Ubuntu Packages

sudo apt-get update
sudo apt-get install gcc g++ git vim

ROS for Autoware

@davidqiu1993
davidqiu1993 / Research.md
Last active June 6, 2020 14:35
A collection of useful stuffs for research.

Research

A collection of useful stuffs for research.

Publication

This section tells where to publish.

@davidqiu1993
davidqiu1993 / restoreLayout.m
Created March 7, 2018 04:35
MATLAB restore default layout (windows and views)
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default');
@davidqiu1993
davidqiu1993 / CasADi_derivatives.py
Created December 22, 2017 20:15
CasADi derivatives example, including gradients, hessians, and jacobians
#!/usr/bin/env python
"""
derivatives.py
CasADi derivatives example.
"""
__version__ = "1.0.0"
__author__ = "David Qiu"
__email__ = "dq@cs.cmu.edu"
@davidqiu1993
davidqiu1993 / grub_boot.txt
Created October 29, 2017 04:25
boot ubuntu from grub manually
set root=(hd0,gpt7)
linux /vmlinuz root=/dev/sda7
initrd /initrd.img
boot