Skip to content

Instantly share code, notes, and snippets.

View blackmatch's full-sized avatar
🎯
Focusing

blackmatch blackmatch

🎯
Focusing
View GitHub Profile
@blackmatch
blackmatch / buffer_demo.txt
Created March 20, 2019 03:23
oracle buffer demo.
<Buffer 23 21 63 d0 8d 17 42 e2 78 f0 3a 95 68 a4 6b bb bf dd ea 86 83 f1 67 b2 dd 8e b6 63 cc ea ba de b6 2b 73 dd 1f ba 95 b1 35 34 15 ff 04 6c 14 4d 8c 28 ... >
<Buffer d0 91 3f cd 23 c9 a4 6d 9a f8 92 17 da 2d 14 15 6c f3 2f 06 4a 52 28 29 61 09 36 f8 3d 4a 5d c0 c6 ff 30 84 67 62 fe 3c a8 71 f1 ec 64 53 a1 6e 44 22 ... >
<Buffer ac 34 01 87 08 0d 45 9b f7 47 4d ba 36 61 4d e2 73 62 e7 b3 01 41 d3 86 0c 72 4e 7c 97 81 71 1a e3 73 2e 4e 1a c7 18 27 e7 90 04 9c a0 86 ae 2c 1d 21 ... >
<Buffer c0 58 09 38 09 7f 54 d5 c6 fe 98 61 a2 a1 da 8b 63 e7 fb 83 40 03 a1 34 83 3c c7 7e 2f 80 17 16 c7 5f 71 b2 38 c1 73 e2 04 c7 e0 c5 7c 54 a4 51 0b 4c ... >
<Buffer cd 8b 60 ca 26 65 91 46 36 c5 79 90 a4 19 e0 6b 9e 06 0a 4d 08 49 48 02 17 f0 35 a3 04 82 c1 0f 6e 18 e6 31 e0 42 1c 27 d4 4e 93 d4 cc a3 09 d5 12 e8 ... >
<Buffer 25 d3 12 88 9d 2c 52 35 69 fc b3 0b 15 4d d2 19 6c f3 34 10 42 09 e4 41 03 d7 8f 7b 69 ea 90 62 fc c2 66 18 c2 00 93 1a 37 16 ee ba 28 8c 36 69 aa 8d ... >
<Buffer 09 16 8d 46 a5 20 2d cd 8b d3 94
@blackmatch
blackmatch / default.conf
Created December 2, 2017 16:29
nginx default config file.
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
@blackmatch
blackmatch / toColumnName.js
Created November 15, 2017 07:37
convert number to excel column name
const getColumnName = (num) => {
let ret = '';
for (a = 1, b = 26; (num -= a) >= 0; a = b, b *= 26) {
ret = String.fromCharCode(parseInt((num % b) / a) + 65) + ret;
}
return ret;
}
@blackmatch
blackmatch / remove_node.sh
Created November 14, 2017 09:06
remove node.js and npm from macOS completely
#!/bin/bash
echo 'begin remove node.js and npm'
rm -rf /usr/local/lib/node
rm -rf /usr/local/lib/node_modules
rm -rf /usr/local/include/node
rm -rf /usr/local/include/node_modules
@blackmatch
blackmatch / .eslintrc
Last active June 30, 2017 03:30
node style guide
{
"env": {
"node": true
},
"rules": {
"array-bracket-spacing": [2, "never"],
"block-scoped-var": 2,
"brace-style": [2, "1tbs"],
"camelcase": 1,
"computed-property-spacing": [2, "never"],
@blackmatch
blackmatch / item2_config.txt
Created June 6, 2017 15:39
mac os item2 config
# ======== custom terminal color begin =========
#enables colorin the terminal bash shell export
export CLICOLOR=1
#sets up thecolor scheme for list export
export LSCOLORS=gxfxcxdxbxegedabagacad
#sets up theprompt color (currently a green similar to linux terminal)