This file contains hidden or 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
| [global_config] | |
| title_transmit_bg_color = "#000000" | |
| [keybindings] | |
| switch_to_tab_1 = <Alt>1 | |
| switch_to_tab_2 = <Alt>2 | |
| switch_to_tab_3 = <Alt>3 | |
| switch_to_tab_4 = <Alt>4 | |
| switch_to_tab_5 = <Alt>5 | |
| switch_to_tab_6 = <Alt>6 | |
| switch_to_tab_7 = <Alt>7 |
This file contains hidden or 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
| struct tty_ldisc { | |
| int magic; | |
| char* name; | |
| int num; | |
| int flags; | |
| /* | |
| * The following routines are called from above. | |
| */ | |
| int (*open)(struct tty_struct*); | |
| void (*close)(struct tty_struct*); |
This file contains hidden or 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
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| windowSize: [1024, 768], | |
| // Choose either "stable" for receiving highly polished, | |
| // or "canary" for less polished but more frequent updates | |
| updateChannel: 'stable', |
This file contains hidden or 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
| /** | |
| ****************************************************************************** | |
| * @file : main.c | |
| * @brief : Main program body | |
| ****************************************************************************** | |
| ** This notice applies to any and all portions of this file | |
| * that are not between comment pairs USER CODE BEGIN and | |
| * USER CODE END. Other portions of this file, whether | |
| * inserted by the user or by software development tools | |
| * are owned by their respective copyright owners. |
This file contains hidden or 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
| {"lastUpload":"2018-06-05T02:58:12.185Z","extensionVersion":"v2.9.2"} |
This file contains hidden or 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
| from flask import Flask | |
| from flask import request | |
| app = Flask(__name__) | |
| @app.route('/store' , methods=['POST']) | |
| def create_store(): | |
| print(request.data) | |
| print(request.get_json()) | |
| return 'haha' |
This file contains hidden or 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
| #!/bin/bash | |
| nohup /usr/share/code-insiders/code-insiders $* > /dev/null 2>&1 & | |
| # rename `code.sh` to `code` and put it to some $PATH (e.g. /usr/local/bin/code) |
This file contains hidden or 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
| [global_config] | |
| focus = mouse | |
| title_inactive_bg_color = "#000000" | |
| title_inactive_fg_color = "#2e3436" | |
| title_transmit_bg_color = "#000000" | |
| title_transmit_fg_color = "#ef2929" | |
| [keybindings] | |
| switch_to_tab_1 = <Alt>1 | |
| switch_to_tab_2 = <Alt>2 | |
| switch_to_tab_3 = <Alt>3 |
This file contains hidden or 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
| echo 'Adding repository of sierra theme ...' | |
| sudo add-apt-repository ppa:dyatlov-igor/sierra-theme -y | |
| echo 'Adding repository of spotify ...' | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 | |
| echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list | |
| echo 'Updating apt ...' | |
| sudo apt update |
This file contains hidden or 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
| echo 'Updating apt ...' | |
| sudo apt update | |
| echo 'Installing minimal deps ...' | |
| sudo apt install -y openssh-server git vim vim-gtk3 tmux tree gparted zsh-antigen terminator curl build-essential | |
| echo 'Upgrading system ...' | |
| sudo apt upgrade -y | |
| echo 'Installing custom dev env ...' |