Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prefix | |
unbind C-b | |
set-option -g prefix C-x | |
#reload setting | |
bind C-r source-file ~/.tmux.conf \; display "Reloaded!" | |
##status bar | |
#set -g status-interval 10 | |
#set -g status-bg colour100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pandas as pd | |
def main(): | |
df = pd.read_csv('app_master.csv', index_col=None) | |
json = df.to_json(orient='records',force_ascii=False) | |
print(json) | |
with open("app_master.json", mode='w') as f: | |
f.write(json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+u", | |
"command": "cursorRight", | |
"when": "editorTextFocus" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prefix | |
unbind C-b | |
set-option -g prefix C-x | |
#reload setting | |
bind C-r source-file ~/.tmux.conf \; display "Reloaded!" | |
##status bar | |
#set -g status-interval 10 | |
#set -g status-bg colour100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import tensorflow as tf | |
from tensorflow.keras.models import Sequential | |
from tensorflow.keras.layers import Conv2D, MaxPooling2D, MaxPooling2D, Flatten, Dense, Dropout | |
import numpy as np | |
def generate_data(): | |
x = np.random.rand(100, 20, 30, 10) | |
t = np.concatenate([np.ones(50),np.zeros(50)]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove Lock = Caps_Lock | |
keycode 66 = Control_L | |
add Control = Control_L | |
add Shift = Muhenkan | |
!remove mod1 = Alt_R | |
!keycode 108 = Return | |
keycode 101 = BackSpace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Sample of KEYBOARD.CNF for the IBM-PC/AT 101-key keyboard. | |
; See KEYCODE.TXT for the description of the format. | |
; | |
; This file based on IBMKEYB.CNF | |
; 1. send the symbol of each key top "as-is" at editor keypad. | |
; | |
[VT editor keypad] | |
;Up arrow key | |
Up=328 | |
;Down arrow key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import flask | |
from flask import Flask, request, jsonify | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): |
NewerOlder