- enter copy mode using Control+b [
- navigate to beginning of text, you want to select and hit Control+Space
- move around using arrow keys to select region
- when you reach end of region simply hit Alt+w to copy the region
- now Control+b ] will paste the selection
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
# Extract the test by running python code | |
execute_process(COMMAND "python" "list_tests.py" OUTPUT_VARIABLE STR_TESTS | |
OUTPUT_STRIP_TRAILING_WHITESPACE | |
ERROR_STRIP_TRAILING_WHITESPACE) | |
separate_arguments(TEST_LIST UNIX_COMMAND ${STR_TESTS}) | |
foreach(ATEST ${TEST_LIST}) | |
#message(" +") |
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 sys | |
import random | |
# import argparse | |
def score_2048(highest_tile, probability_of_four = 0.2, verbose=False): | |
if verbose: | |
print "Input: ", highest_tile | |
if highest_tile == 4: | |
if random.random() <= probability_of_four: |
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
[ | |
// Refresh folder list with F5 | |
{ "keys": ["f5"], "command": "refresh_folder_list" } | |
] |
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
{ | |
"font_size": 14, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"RestructuredText" | |
], | |
"pep8_ignore": | |
[ | |
"E501" |