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
| { | |
| "coc.preferences.extensionUpdateCheck": "daily", | |
| "python.jediEnabled": false, | |
| "diagnostic.virtualTextCurrentLineOnly": false, | |
| "diagnostic.virtualText": true, | |
| "suggest.enablePreview": true, | |
| "git.enableGutters": true, | |
| "clangd.semanticHighlighting": true, | |
| "rust-analyzer.updates.channel": "nightly", | |
| "rust-analyzer.procMacro.enable": true, |
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
| call plug#begin() | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'tpope/vim-surround' | |
| Plug 'airblade/vim-gitgutter' | |
| "Plug 'itchyny/lightline.vim' | |
| Plug 'cespare/vim-toml' | |
| Plug 'tpope/vim-sleuth' | |
| Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
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
| import os | |
| import sys | |
| import subprocess | |
| import signal | |
| import time | |
| from typing import List | |
| basedir = os.path.dirname(os.path.realpath(__file__)) |
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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import subprocess | |
| import signal | |
| import time | |
| from typing import List | |
| basedir = os.path.dirname(os.path.realpath(__file__)) |
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
| import React from 'react'; | |
| export const Row: React.FC = props => { | |
| return <div className="row">{props.children}</div>; | |
| }; | |
| export interface ColProps { | |
| size: number; | |
| device: 'xs' | 'sm' | 'md' | 'lg'; | |
| } |
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
| call plug#begin('~/.vim/plugged') | |
| " Make sure you use single quotes | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'tpope/vim-surround' | |
| Plug 'airblade/vim-gitgutter' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| Plug 'nathanaelkane/vim-indent-guides' |
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
| // Type definitions for battlecode | |
| // Project: battlecode.org 2019 | |
| // Definitions by: Ryozuki <Discord: Ryozuki#1984> | |
| // Thanks to the docs https://battlecode.org/dash/docs | |
| declare module "battlecode" { | |
| export enum SPECS { | |
| CASTLE, | |
| CHURCH, | |
| PILGRIM, |
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
| #include <iostream> | |
| using namespace std; | |
| int number_of_digits(int n) { | |
| if(n < 10) | |
| return 1; | |
| return 1 + number_of_digits(n / 10); | |
| } |
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
| function(context, a) | |
| { | |
| a = a || {} | |
| var internalBuffer = [] | |
| var charPatterns = { | |
| a: [ | |
| [0, 0, 1, 0, 0], | |
| [0, 1, 0, 1, 0], | |
| [1, 0, 0, 0, 1], |
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
| function(c, a) | |
| { | |
| a = a || {} | |
| var r = #fs.multivac.renderer() | |
| var clone = #fs.scripts.lib().clone | |
| var log = [] | |
| var squareWidth = 9 | |
| var squareHeight = 7 | |
| var boardRect = r.Rect(2, 2, 8 * squareWidth, 8 * squareHeight) | |
| const words = "abcdefgh" |