Skip to content

Instantly share code, notes, and snippets.


Link linkdesu

View GitHub Profile
linkdesu /
Last active Apr 11, 2022
[vim] #cheatsheet


Show version


Solve indent problems when pasting

:set paste

turn line number on/off

:set nu

linkdesu / nginx.conf
Last active Jul 10, 2021 — forked from Stanback/nginx.conf
[nginx-cross-origin] Example Nginx configuration for adding cross-origin resource sharing (CORS) support to reverse proxied APIs #nginx #conf
View nginx.conf
# CORS header support
# One way to use this is by placing it into a file called "cors_support"
# under your Nginx configuration directory and placing the following
# statement inside your location block(s):
# include cors_support;
# For more information on CORS, please see:
linkdesu / summonEruda.js
Last active Sep 27, 2019
Summon eruda devtool when you cast the spell.
View summonEruda.js
;(function () {
var step = 0
function load (url, callback) {
var script = document.createElement('script');
script.src = url;
script.onload = callback;
function summonEruda (e) {
if ( && {