- 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)
| ---Utility for keymap creation. | |
| ---@param lhs string | |
| ---@param rhs string|function | |
| ---@param opts string|table | |
| ---@param mode? string|string[] | |
| local function keymap(lhs, rhs, opts, mode) | |
| opts = type(opts) == 'string' and { desc = opts } | |
| or vim.tbl_extend('error', opts --[[@as table]], { buffer = bufnr }) | |
| mode = mode or 'n' | |
| vim.keymap.set(mode, lhs, rhs, opts) |
/opt)THIS GIST IS EXTREMELY OBSOLETE. DO NOT FOLLOW THESE INSTRUCTIONS. SERIOUSLY.
IF YOU IGNORE THE ABOVE WARNING, YOU AGREE IN ADVANCE THAT YOU DIDN'T GET THESE INSTRUCTIONS FROM ME, THAT I WARNED YOU, AND THAT I RESERVE THE RIGHT TO POINT AND LAUGH MOCKINGLY IF AND WHEN SOMETHING BREAKS HORRIBLY.
I'll do a write-up of current custom-kernel procedures over on Random Bytes ( https://randombytes.substack.com/ ) one day soon.
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; | |
| } | |
| /* |