Skip to content

Instantly share code, notes, and snippets.

@sysang
sysang / README.md
Created January 5, 2018 07:03 — forked from subfuzion/README.md
vim/neovim configuration

I recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.

It's currently synchronized with my .vimrc config except for a block of neovim-specific terminal key mappings.

This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.

These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,

@sysang
sysang / deep-learning.md
Last active August 9, 2023 01:43
Awesome Git Repositories: Deep Learning, NLP, Compute Vision, Model & Paper, Chatbot, Tensorflow, Julia Lang, Software Library, Reinforcement Learning
@sysang
sysang / utilities.md
Last active October 4, 2021 17:29
Awesome Git repositories: dotfiles, jupyter, neovim, ssh, zsh, utility
@sysang
sysang / README.md
Last active March 25, 2020 10:25
Very simple XDebug trace web GUI, forked from https://github.com/splitbrain/xdebug-trace-tree

XDebug Trace Tree

This is a simple PHP script to display XDebug traces in a tree like visualization. It can collapse parts that you're not interested in when analysing the trace, making it much easier to follow the program flow.

Installation is simple. Just clone this dierectory to somewhere in your webserver and it should automatically list all available trace files.

Important: this is meant a personal debugging - it should not be installed on a public webserver (Its passing full file paths).

@sysang
sysang / 000_useful-scripts.md
Last active May 17, 2022 05:02
Useful Scripts

Useful Scripts

CSSCurlyBrace.html

dockerfile(PHP7.2 Deployment)

dockerfile(PHP5.6 Deployment)

docker-compose(sample).yml

my-xdebug.ini

vhost.conf

Apache2 virtual host config sample

start_kcpturn_client

To improve ssh connection

@sysang
sysang / 000_neovim.md
Last active August 27, 2020 03:33
memo for neovim usage

jupyter_execute

Execute nbconver of docker container to convert ipynb to html

Dockerfile

Jupyter notebook container base on https://hub.docker.com/r/nvidia/cuda/

run_jupyter_cuda_enabled.md

Step to manually create jupyter notebook with cuda enabled

main.min.js

To modify file to make Jupyter Notebook reload file without restart kernel

@sysang
sysang / onedark.vim
Created June 12, 2020 02:36 — forked from addoull/onedark.vim
Change cterm colors to get a better color shceme
" Vim Color File
" Name: onedark.vim
" Maintainer: https://github.com/joshdick/onedark.vim/
" License: The MIT License (MIT)
" Based On: https://github.com/MaxSt/FlatColor/
" A companion [vim-airline](https://github.com/bling/vim-airline) theme is available at: https://github.com/joshdick/airline-onedark.vim
" +-----------------+
" | Color Reference |
@sysang
sysang / .htaccess
Created June 26, 2020 10:49 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
# How to echobot with XMPP, BOSH, and Strophe
1. Setup ejabberd(http://www.ejabberd.im/) server and setup account admin@localhost.local
NOTE: localhost should be enough. If you setup something else, make sure you add it at /etc/hosts like this
#/etc/hosts
127.0.0.1 localhost.local
NOTE: Also download Psi(http://psi-im.org/), and make sure you can connect to your ejabberd server.
2. Download strophe(http://code.stanziq.com/strophe/) and place it (eg: /Users/makoto/work/sample/strophejs-1.0)