Skip to content

Instantly share code, notes, and snippets.

$ sh audio_cloverALC-130.sh
Agreement
The audio_cloverALC script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC script is
provided as is and without any kind of warranty.
File: audio_cloverALC-130.command_v0.5
Release Mode
@qxj
qxj / surfingkeys.js
Last active October 23, 2017 16:47
configuration for Surfingkeys
// surfingkeys.js
//
// - map: normal mode
// - imap: insert mode
// - vmap: visual mode
// - cmap: omnibar mode
//
// Simluate Vim keybind
map("<Ctrl-[>", "<Esc>");
@qxj
qxj / .cvimrc
Last active October 21, 2017 14:41
configuration for cVim (chrome-vim)
" .cvimrc
" vim: ts=2 sts=2 sw=2 expandtab
" let configpath = '~/.cvimrc'
" set localconfig
" Settings
set autoupdategist
set hud
set smoothscroll
'''
需要拟合的平面:y = W1 * x1_data + W2*x2_data + b,其中,已知x1_data、x2_data和y,但是都包含一点噪声。
'''
import tensorflow as tf
import numpy as np
# Create 100 phony x, y data points in NumPy, y = x * 0.1 + 0.3
x1_data = np.random.rand(100).astype(np.float32)
x2_data = np.random.rand(100).astype(np.float32)
@qxj
qxj / calc.cc
Created July 18, 2017 04:06
摘自Programming -- Principles and Practice Using C++ by Bjarne Stroustrup
/*
*Caculator Parser
*
* expression
* term
* expression + term
* expression - term
*
* term
* primary
@qxj
qxj / default.custom.yaml
Created May 23, 2017 04:14
Rime customized configuration
# -*- mode: yaml -*-
#
# default.custom.yaml
#
# Composed by Julian Qian <junist@gmail.com>
#
patch:
"menu/page_size": 5
@qxj
qxj / README.md
Created May 22, 2017 15:31
EM算法demo - 混合高斯模型参数求解

EM算法demo

混合高斯模型参数求解

@qxj
qxj / README.md
Last active May 20, 2017 17:46
Random Sampling
@qxj
qxj / README.md
Created May 13, 2017 15:15
Notes about tensorflow

Notes about tensorflow

@qxj
qxj / README.md
Created May 10, 2017 01:34
LR demo based on dmlc/ps-lite

LR demo based on dmlc/ps-lite