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
mmc@0x23F00000 { | |
cd-gpios = <&gpio 5>; | |
wp-gpios = <&gpio 6>; | |
}; |
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
#define _GNU_SOURCE | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <assert.h> |
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
matching = { | |
'{': '}', | |
'(': ')' | |
} | |
def find_first_dot(line): | |
paren_stack = [] | |
for pos, ch in enumerate(line): | |
if ch in matching: |
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
""" | |
Usage: head [options] [FILE]... | |
-c K, --bytes=K print the first K bytes of each file; | |
with the leading `-', print all but the last | |
K bytes of each file | |
-n K, --lines=K print the first K lines instead of the first 10; | |
with the leading `-', print all but the last | |
K lines of each file [default: 10] | |
-q, --quiet, --silent never print headers giving file names |