do # apply diff from other pane
dp # push diff to other pane
]c # jump to next change
[c # jump to previous change
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 unittest | |
from typing import List, Tuple, Set | |
class Solution: | |
def solve(self, puzzle: List[List[int]]) -> List[List[int]]: | |
self.columns = [set() for _ in range(9)] | |
self.rows = [set() for _ in range(9)] | |
self.squares = [[set() for _ in range(3)] for _ in range(3)] | |
self.res = [row[:] for row in puzzle] |
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
"""Try to make python code py2 py3 compatible. | |
However, in the near future, python2 support will be ended. | |
""" | |
# py2 | |
print 'Hello World!' | |
# py3 | |
print('Hello World!') |
This note illustrates how to adjust resolution using keyboard shorcut using built-in app automator
.
After setting up, I can use two actions:
- Switch to Highest resolution
- Switch to Default resolution
I'm new to apple script, so the rule is very simple.