Skip to content

Instantly share code, notes, and snippets.

@lxc-xx
lxc-xx / .tmux.conf
Created January 26, 2018 12:49
tmux conf
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
@lxc-xx
lxc-xx / iterm2-solarized.md
Created February 6, 2017 19:22 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@lxc-xx
lxc-xx / readme.md
Created November 22, 2015 05:12 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

{
"metadata": {
"name": "",
"signature": "sha256:b99bf1f68a92860ccebd342a666077e249dfb487cea12a567d68facfaa39ab39"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@lxc-xx
lxc-xx / pedometer.pde
Last active December 31, 2015 09:49
Pedometer With Aruino
//IO output for LCD display
int _A=1;
int _B=2;
int _C=3;
int _D=4;
int _E=5;
int _F=6;
int _G=7;
int _DP=8;
/*
// KinectRecorder.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <fstream>
// OpenCV Header
#include <opencv2/core/core.hpp>
@lxc-xx
lxc-xx / video_capture.cpp
Created October 25, 2013 18:44
VideoCapture
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main()
{
@lxc-xx
lxc-xx / surf_gpu.cpp
Last active December 26, 2016 16:34 — forked from yoggy/curf_gpu.cpp
#include <SDKDDKVer.h>
#include <Windows.h>
#pragma warning(disable:4819)
#pragma warning(disable:4996)
// for OpenCV2
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/gpu/gpu.hpp"
@lxc-xx
lxc-xx / sift.cpp
Created October 21, 2013 18:30
OpenCV's SIFT implementation
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,
// copy or use the software.
//
//
// License Agreement
/*
Copyright 2009 NVIDIA Corporation. All rights reserved.
NOTICE TO LICENSEE:
This source code and/or documentation ("Licensed Deliverables") are subject
to NVIDIA intellectual property rights under U.S. and international Copyright
laws.
These Licensed Deliverables contained herein is PROPRIETARY and CONFIDENTIAL