- made up by Intel for the Itanium ABI
- legacy
- all sequentially consistent
- operate on arbitrary integer-based types
This file contains hidden or 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 subprocess, functools | |
| # Do you often use Python in place of bash? | |
| # Do you want to simply just run thing and get output? | |
| # Here's a wrapper function for automating whatever you'd like. | |
| # Use shell=True and you can use pipes and env vars! | |
| # Throw in a string! Throw in an arg list! Throw in a pathlib.Path maybe! | |
| # Use it everywhere! 3 bazillion devices run r('foo')! | |
| r = functools.partial(subprocess.check_output, text=True) |
This file contains hidden or 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
| (require 'asdf) | |
| (require 'alexandria) | |
| (require 'cl-ppcre) | |
| (defparameter inp "467..114.. | |
| ...*...... | |
| ..35..633. | |
| ......#... | |
| 617*...... | |
| .....+.58. | |
| ..592..... |
This file contains hidden or 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
| (ql:quickload :cl-ppcre) | |
| (ql:quickload "split-sequence") | |
| (ql:quickload :alexandria) | |
| ; (load "inp.lisp") | |
| (defvar inp "two1nine | |
| eightwothree | |
| abcone2threexyz | |
| xtwone3four |
This file contains hidden or 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
| #! /usr/bin/env python | |
| """ | |
| Pandoc filter to convert svg files to pdf as suggested at: | |
| https://github.com/jgm/pandoc/issues/265#issuecomment-27317316 | |
| """ | |
| __author__ = "Jerome Robert, Emil J. Tywoniak" | |
| import mimetypes | |
| import subprocess |
NewerOlder