Skip to content

Instantly share code, notes, and snippets.

🇰🇷
Work Hard to be Lazy

DaeIn Lee LazyRen

🇰🇷
Work Hard to be Lazy
Block or report user

Report or block LazyRen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LazyRen
LazyRen / settings.json
Created Jul 3, 2019
vscode setting(osX)
View settings.json
{
"better-comments.tags": [
{
"tag": "!",
"color": "#FF2D00",
"strikethrough": false,
"backgroundColor": "transparent"
},
{
"tag": "* !",
@LazyRen
LazyRen / keybindings.json
Created Jul 3, 2019
vscode keybinding(osX)
View keybindings.json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "shift+tab",
"command": "tab",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus"
},
{
"key": "alt+=",
"command": "editor.action.revealDefinition",
View superEndLineWiColin.sublime-macro
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
View Default (OSX).sublime-keymap
[
{
"keys": ["super+i"],
"command": "unexpand_tabs",
"args": { "set_translate_tabs": true }
},
//open finder
{
"keys": ["super+shift+x"],
View Preferences.sublime-settings
{
"always_show_minimap_viewport": true,
"binary_file_patterns":
[
"*.dds",
"*.eot",
"*.gif",
"*.ico",
"*.jar",
"*.jpeg",
@LazyRen
LazyRen / Python cmd.sublime-build
Created Aug 23, 2018
mac sublime build system code. Use with matching .sh file!
View Python cmd.sublime-build
{
"shell_cmd": "sh /Users/lazyren/Documents/Programming/python_cmd.sh \"${file}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"selector": "source.python",
"env": {"PYTHONIOENCODING": "utf-8"}
}
@LazyRen
LazyRen / C++ cmd.sublime-build
Created Aug 23, 2018
mac sublime build system code. Use with matching .sh file!
View C++ cmd.sublime-build
{
"shell_cmd": "g++ -std=c++14 ${file_name} -o ${file_base_name}.out && sh /Users/lazyren/Documents/Programming/cpp_cmd.sh \"${file}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c++",
}
@LazyRen
LazyRen / C cmd.sublime-build
Created Aug 23, 2018
mac sublime build system code. Use with matching .sh file!
View C cmd.sublime-build
{
"shell_cmd": "gcc ${file_name} -o ${file_base_name}.out && sh /Users/LazyRen/Documents/Programming/c_cmd.sh \"${file}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c"
}
@LazyRen
LazyRen / python_cmd.sh
Created Aug 23, 2018
mac sublime-text python build&execute shell script
View python_cmd.sh
#!/bin/sh
osascript -e '
on run parameters
set TID to text item delimiters
set text item delimiters to " "
set myfile to parameters as text
set text item delimiters to TID
tell application "Finder"
set fileName to name of (POSIX file myfile as alias)
set filePath to do shell script ("dirname " & quoted form of myfile)
You can’t perform that action at this time.