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
""" | |
Marks an element of a GraphQL schema as only available via a preview header | |
""" | |
directive @preview( | |
""" | |
The identifier of the API preview that toggles this field. | |
""" | |
toggledBy: String! | |
) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION |
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
Sub exe() | |
Dim i As Integer | |
Dim j As Integer | |
Dim lastRow As Integer | |
Dim cUp As Double | |
Dim cDown As Double | |
lastRow = 8 ' 자료가 있는 마지막 행의 숫자를 적습니다. |
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
function! SimpleBalloon() | |
return 'Cursor is at line/column: ' . v:beval_lnum . ', ' . v:beval_col . | |
\ ' in file ' . bufname(v:beval_bufnr) . | |
\ '. Word under cursor is: "' . v:beval_text . '"' | |
endfunction | |
set balloonexpr=SimpleBalloon() | |
set ballooneval |
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
function exam { | |
wiki=`stat -f "%N" ~/johngrib.github.io/_wiki` | |
if [ "$1" = "-l" ]; then | |
egrep 'parent\s*:\s*command-line' $wiki/* -l 2> /dev/null \ | |
| xargs grep 'summary' \ | |
| sed "s,"$wiki"/,,; s,\.md:summary,," \ | |
| column -ts':' | sort | |
return 0 | |
fi |
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/local/bin/bash | |
MYGITHUB=johngrib | |
RAW=/tmp/$MYGITHUB-github | |
TABLE=/tmp/$MYGITHUB-github-table | |
COLORS=/tmp/$MYGITHUB-github-colors | |
curl -s https://github.com/$MYGITHUB/ > $RAW | |
TITLE=`cat /tmp/johngrib-github | pcregrep -M '[0-9,]+ contributions\s*\n\s*in the last year'` |
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 bash | |
function list() { | |
tempFile1=/tmp/`uuidgen` | |
tempFile2=/tmp/`uuidgen` | |
cat test > $tempFile1 | |
_line=`{ grep -En "^\\s*$" $tempFile1 | cut -d: -f1; wc -l $tempFile1 | awk '{print $1}'; }` | |
_start=2 | |
for ln in $_line; do |
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
augroup git_commit_helper | |
autocmd FileType gitcommit set textwidth=50 | |
autocmd FileType gitcommit set colorcolumn=+1 | |
autocmd FileType gitcommit highlight ColorColumn ctermbg=235 guibg=#2c2d27 | |
augroup END |
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
package main | |
import "fmt" | |
func main() { | |
c := make(chan int, 3) | |
quit := make(chan int) | |
go func() { |
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
import turtle as t | |
t.shape("turtle") # 이 부분 | |
t.fd(100) | |
t.lt(120) | |
t.fd(100) | |
t.lt(120) | |
t.fd(100) | |
t.left(120) |
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
import turtle as t | |
t.shape("turtle") # 이 부분 | |
t.fd(100) | |
t.lt(120) | |
t.fd(100) | |
t.lt(120) | |
t.fd(100) | |
t.left(120) |
NewerOlder