Companion summary to Syntax's MAXIMUM VS Code Productivity — Navigating Codebases Quickly video for Windows.
- Go Back:
Ctrl+Left Arrow - Go Forward:
Ctrl+Right Arrow
Tailwind v4 has new syntax for arbitrary values, variants, properties, and more. Here's the cheatsheet that I would have wanted when I first started using it.
margin or color. Are set to a value.| kinesis = boto3.client( | |
| 'kinesis', | |
| region_name=awsRegion, | |
| aws_access_key_id=accessKeyId, | |
| aws_secret_access_key =secretAccessKey | |
| ) |
| function getEntriesFromAElements(element) { | |
| return element.querySelectorAll('a') | |
| .map(e => ({ e.text : e.getAttribute('href') } )); | |
| } |
| for i in range(5): | |
| print(i) |
| # create a list of 2d indices of A in decreasing order by the size of the | |
| # (real) entry of A that they index to | |
| def sortedIndices(A): | |
| indexList = [(i,j) for i in range(A.shape[0]) for j in range(A.shape[1])] | |
| indexList.sort(key=lambda x: -A[x]) | |
| return np.array(indexList) |
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: ingress | |
| spec: | |
| rules: | |
| - http: | |
| paths: | |
| - path: / | |
| backend: |