THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| package tests | |
| import ( | |
| "testing" | |
| ) | |
| type S struct { | |
| t *testing.T | |
| } |
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Data> | |
| <Series> | |
| <id>83462</id> | |
| <Actors>|Nathan Fillion|Stana Katic|Molly C. Quinn|Jon Huertas|Seamus Dever|Tamala Jones|Susan Sullivan|Ruben Santiago-Hudson|Monet Mazur|</Actors> | |
| <Airs_DayOfWeek>Monday</Airs_DayOfWeek> | |
| <Airs_Time>10:00 PM</Airs_Time> | |
| <ContentRating>TV-PG</ContentRating> | |
| <FirstAired>2009-03-09</FirstAired> | |
| <Genre>|Drama|</Genre> |
| set cot=menu,menuone | |
| ino <BS> <BS><C-r>=getline('.')[col('.')-3:col('.')-2]=~#'\k\k'?!pumvisible()?"\<lt>C-n>\<lt>C-p>":'':pumvisible()?"\<lt>C-y>":''<CR> | |
| ino <CR> <C-r>=pumvisible()?"\<lt>C-y>":""<CR><CR> | |
| ino <Tab> <C-r>=pumvisible()?"\<lt>C-n>":"\<lt>Tab>"<CR> | |
| ino <S-Tab> <C-r>=pumvisible()?"\<lt>C-p>":"\<lt>S-Tab>"<CR> | |
| augroup MyAutoComplete | |
| au! | |
| au InsertCharPre * if |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| -- LICENSE | |
| -- | |
| -- This software is dual-licensed to the public domain and under the following | |
| -- license: you are granted a perpetual, irrevocable license to copy, modify, | |
| -- publish, and distribute this file as you see fit. | |
| -- VERSION 0.1.0 | |
| -- Author: Forrest Smith (github.com/forrestthewoods/lib_fts) | |
| -- Translated to Lua by Blake Mealey (github.com/blake-mealey) |
| #!/usr/bin/env python | |
| import os.path as p | |
| import subprocess | |
| import sys | |
| DIR_OF_THIS_SCRIPT = p.dirname( p.abspath( __file__ ) ) | |
| DIR_OF_YCMD = p.join( DIR_OF_THIS_SCRIPT, 'third_party', 'ycmd' ) | |
| sys.path.insert( 1, DIR_OF_YCMD ) |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft