- Check here for the pinout. You will also need a 1.8V level shifter.
- Go to https://toolchains.bootlin.com
- Select arch: armv7-eabihf
- Select libc: glibc
- Download bleeding-edge
- Uncompress it (for example to
/opt
)
/opt
)Here's a list of mildly interesting things about the C language that I learned mostly by consuming Clang's ASTs. Although surprises are getting sparser, I might continue to update this document over time.
There are many more mildly interesting features of C++, but the language is literally known for being weird, whereas C is usually considered smaller and simpler, so this is (almost) only about C.
struct foo {
struct bar {
int x;
*** SKK-JISYO.mahjong 2017-09-23 23:40:44.398832446 +0900 | |
--- SKK-JISYO-new.mahjong 2017-09-23 23:43:31.818838527 +0900 | |
*************** | |
*** 1,3 **** | |
--- 1,6 ---- | |
+ ;;; -*- coding: utf-8 -*- | |
+ ;; okuri-ari entries. | |
+ ;; okuri-nasi entries. | |
やくまん /役満;[麻雀]/ | |
さんばいまん /三倍満;[麻雀]/ |
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md)) | |
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md)) | |
all : $(SLIDES) $(HANDOUTS) | |
%.md.slides.pdf : %.md | |
pandoc $^ -t beamer --slide-level 2 -o $@ | |
%.md.handout.pdf : %.md | |
pandoc $^ -t beamer --slide-level 2 -V handout -o $@ |
diff --git a/scripts/osv/modules/api.py b/scripts/osv/modules/api.py | |
index 59a709d..7b88415 100644 | |
--- a/scripts/osv/modules/api.py | |
+++ b/scripts/osv/modules/api.py | |
@@ -29,7 +29,7 @@ class java_app(object): | |
def _to_args_list(text_or_list): | |
if not text_or_list: | |
return [] | |
- if isinstance(text_or_list, basestring): | |
+ if isinstance(text_or_list, str): |
#include <Foundation/Foundation.h> | |
int main() | |
{ | |
printf("%s\n", @selector(infectedWIXOSS:)); | |
return 0; | |
} | |
/* |