clean CSS, collections

- [RM] zedashaw
- [GREAT] Bryan Ford
- [TOPIC] Duff device
- linuxcn: young hacker talk about free software
- android lock screen bypass
- oldlinux.org
This commit is contained in:
dongdigua 2022-12-02 16:02:55 +08:00
parent 1e497623c5
commit 4be4e9226d
3 changed files with 51 additions and 668 deletions

View File

@ -1,3 +1,6 @@
/*
https://github.com/rgb-24bit/org-html-theme-list org-joshua
*/
@media all
{
body {
@ -5,7 +8,6 @@
font-size: 14px;
line-height: 21px;
color: #333;
max-width: 62em;
margin: auto;
}
@ -63,12 +65,6 @@
list-style-position: outside;
}
/* #license { */
/* padding: .3em; */
/* border: 1px solid gray; */
/* background-color: #eeeeee; */
/* } */
h1 {
/*
font-family:Sans;
@ -121,16 +117,11 @@
a {
cursor: crosshair;
text-decoration: none;
color: #39c5bb;
color: #3399cc;
}
/* a:visited {text-decoration: none; color: #224444} */ /* Taken out because color too similar to text. */
a:visited {
text-decoration: none;
color: #39c5bb;
} /* this is now the color of the Unicorns horn */
a:hover {
text-decoration: underline;
color: #39c5bb;
color: #39c5bb; /* FROM miku */
}
ul, ol {
@ -162,10 +153,6 @@
color: #444;
}
.tag {
}
li {
margin: .4em;
}
@ -217,40 +204,13 @@
filter: alpha(opacity=100);
}
/* pre {border: 1px solid #555; */
/* background: #EEE; */
/* font-size: 9pt; */
/* padding: 1em; */
/* } */
/* pre { */
/* color: #e5e5e5; */
/* background-color: #000000; */
/* padding: 1.4em; */
/* border: 2px solid gray; */
/* } */
/* pre { */
/* background-color: #2b2b2b; */
/* border: 4px solid gray; */
/* color: #EEE; */
/* overflow: auto; */
/* padding: 1em; */
/* } */
pre {
font-family: Monaco, Consolas, "Lucida Console", monospace;
color: black;
background-color: #ffffff;
/* background-color: #f2f2f2; /\* FROM worg.css *\/ */
background-color: #d7dfed; /* FROM Bryan Ford */
padding: 1.2em;
/* border: 1px solid #dddddd; */
overflow: auto;
/*
-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
-moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
box-shadow: 0px 0px 4px rgba(0,0,0,0.23);
*/
}
div.summary {
@ -321,12 +281,7 @@
/* font-lock-keyword-face */
color: #4682b4;
}
.negation-char {
}
.regexp-grouping-backslash {
}
.regexp-grouping-construct {
}
.string {
/* font-lock-string-face */
color: #ccc79a;
@ -357,620 +312,11 @@
text-decoration: underline;
}
/* Styles for org-info.js */
.org-info-js_info-navigation
{
border-style:none;
}
#org-info-js_console-label
{
font-size:10px;
font-weight:bold;
white-space:nowrap;
}
.org-info-js_search-highlight
{
background-color:#ffff00;
color:#000000;
font-weight:bold;
}
#org-info-js-window
{
border-bottom:1px solid black;
padding-bottom:10px;
margin-bottom:10px;
}
.org-info-search-highlight
{
background-color:#adefef; /* same color as emacs default */
color:#000000;
font-weight:bold;
}
.org-bbdb-company {
/* bbdb-company */
font-style: italic;
}
.org-bbdb-field-name {
}
.org-bbdb-field-value {
}
.org-bbdb-name {
/* bbdb-name */
text-decoration: underline;
}
.org-bold {
/* bold */
font-weight: bold;
}
.org-bold-italic {
/* bold-italic */
font-weight: bold;
font-style: italic;
}
.org-border {
/* border */
background-color: #000000;
}
.org-buffer-menu-buffer {
/* buffer-menu-buffer */
font-weight: bold;
}
.org-builtin {
/* font-lock-builtin-face */
color: #da70d6;
}
.org-button {
/* button */
text-decoration: underline;
}
.org-c-nonbreakable-space {
/* c-nonbreakable-space-face */
background-color: #ff0000;
font-weight: bold;
}
.org-calendar-today {
/* calendar-today */
text-decoration: underline;
}
.org-comment {
/* font-lock-comment-face */
color: #b22222;
}
.org-comment-delimiter {
/* font-lock-comment-delimiter-face */
color: #b22222;
}
.org-constant {
/* font-lock-constant-face */
color: #5f9ea0;
}
.org-cursor {
/* cursor */
background-color: #000000;
}
.org-default {
/* default */
color: #000000;
background-color: #ffffff;
}
.org-diary {
/* diary */
color: #ff0000;
}
.org-doc {
/* font-lock-doc-face */
color: #bc8f8f;
}
.org-escape-glyph {
/* escape-glyph */
color: #a52a2a;
}
.org-file-name-shadow {
/* file-name-shadow */
color: #7f7f7f;
}
.org-fixed-pitch {
}
.org-fringe {
/* fringe */
background-color: #f2f2f2;
}
.org-function-name {
/* font-lock-function-name-face */
color: #0000ff;
}
.org-header-line {
/* header-line */
color: #333333;
background-color: #e5e5e5;
}
.org-help-argument-name {
/* help-argument-name */
font-style: italic;
}
.org-highlight {
/* highlight */
background-color: #b4eeb4;
}
.org-holiday {
/* holiday */
background-color: #ffc0cb;
}
.org-info-header-node {
/* info-header-node */
color: #a52a2a;
font-weight: bold;
font-style: italic;
}
.org-info-header-xref {
/* info-header-xref */
color: #0000ff;
text-decoration: underline;
}
.org-info-menu-header {
/* info-menu-header */
font-weight: bold;
}
.org-info-menu-star {
/* info-menu-star */
color: #ff0000;
}
.org-info-node {
/* info-node */
color: #a52a2a;
font-weight: bold;
font-style: italic;
}
.org-info-title-1 {
/* info-title-1 */
font-size: 172%;
font-weight: bold;
}
.org-info-title-2 {
/* info-title-2 */
font-size: 144%;
font-weight: bold;
}
.org-info-title-3 {
/* info-title-3 */
font-size: 120%;
font-weight: bold;
}
.org-info-title-4 {
/* info-title-4 */
font-weight: bold;
}
.org-info-xref {
/* info-xref */
color: #0000ff;
text-decoration: underline;
}
.org-isearch {
/* isearch */
color: #b0e2ff;
background-color: #cd00cd;
}
.org-italic {
/* italic */
font-style: italic;
}
.org-keyword {
/* font-lock-keyword-face */
color: #a020f0;
}
.org-lazy-highlight {
/* lazy-highlight */
background-color: #afeeee;
}
.org-link {
/* link */
color: #0000ff;
text-decoration: underline;
}
.org-link-visited {
/* link-visited */
color: #8b008b;
text-decoration: underline;
}
.org-match {
/* match */
background-color: #ffff00;
}
.org-menu {
}
.org-message-cited-text {
/* message-cited-text */
color: #ff0000;
}
.org-message-header-cc {
/* message-header-cc */
color: #191970;
}
.org-message-header-name {
/* message-header-name */
color: #6495ed;
}
.org-message-header-newsgroups {
/* message-header-newsgroups */
color: #00008b;
font-weight: bold;
font-style: italic;
}
.org-message-header-other {
/* message-header-other */
color: #4682b4;
}
.org-message-header-subject {
/* message-header-subject */
color: #000080;
font-weight: bold;
}
.org-message-header-to {
/* message-header-to */
color: #191970;
font-weight: bold;
}
.org-message-header-xheader {
/* message-header-xheader */
color: #0000ff;
}
.org-message-mml {
/* message-mml */
color: #228b22;
}
.org-message-separator {
/* message-separator */
color: #a52a2a;
}
.org-minibuffer-prompt {
/* minibuffer-prompt */
color: #0000cd;
}
.org-mm-uu-extract {
/* mm-uu-extract */
color: #006400;
background-color: #ffffe0;
}
.org-mode-line {
/* mode-line */
color: #000000;
background-color: #bfbfbf;
}
.org-mode-line-buffer-id {
/* mode-line-buffer-id */
font-weight: bold;
}
.org-mode-line-highlight {
}
.org-mode-line-inactive {
/* mode-line-inactive */
color: #333333;
background-color: #e5e5e5;
}
.org-mouse {
/* mouse */
background-color: #000000;
}
.org-negation-char {
}
.org-next-error {
/* next-error */
background-color: #eedc82;
}
.org-nobreak-space {
/* nobreak-space */
color: #a52a2a;
text-decoration: underline;
}
.org-org-agenda-date {
/* org-agenda-date */
color: #0000ff;
}
.org-org-agenda-date-weekend {
/* org-agenda-date-weekend */
color: #0000ff;
font-weight: bold;
}
.org-org-agenda-restriction-lock {
/* org-agenda-restriction-lock */
background-color: #ffff00;
}
.org-org-agenda-structure {
/* org-agenda-structure */
color: #0000ff;
}
.org-org-archived {
/* org-archived */
color: #7f7f7f;
}
.org-org-code {
/* org-code */
color: #7f7f7f;
}
.org-org-column {
/* org-column */
background-color: #e5e5e5;
}
.org-org-column-title {
/* org-column-title */
background-color: #e5e5e5;
font-weight: bold;
text-decoration: underline;
}
.org-org-date {
/* org-date */
color: #a020f0;
text-decoration: underline;
}
.org-org-done {
/* org-done */
color: #228b22;
font-weight: bold;
}
.org-org-drawer {
/* org-drawer */
color: #0000ff;
}
.org-org-ellipsis {
/* org-ellipsis */
color: #b8860b;
text-decoration: underline;
}
.org-org-formula {
/* org-formula */
color: #b22222;
}
.org-org-headline-done {
/* org-headline-done */
color: #bc8f8f;
}
.org-org-hide {
/* org-hide */
color: #e5e5e5;
}
.org-org-latex-and-export-specials {
/* org-latex-and-export-specials */
color: #8b4513;
}
.org-org-level-1 {
/* org-level-1 */
color: #0000ff;
}
.org-org-level-2 {
/* org-level-2 */
color: #b8860b;
}
.org-org-level-3 {
/* org-level-3 */
color: #a020f0;
}
.org-org-level-4 {
/* org-level-4 */
color: #b22222;
}
.org-org-level-5 {
/* org-level-5 */
color: #228b22;
}
.org-org-level-6 {
/* org-level-6 */
color: #5f9ea0;
}
.org-org-level-7 {
/* org-level-7 */
color: #da70d6;
}
.org-org-level-8 {
/* org-level-8 */
color: #bc8f8f;
}
.org-org-link {
/* org-link */
color: #a020f0;
text-decoration: underline;
}
.org-org-property-value {
}
.org-org-scheduled-previously {
/* org-scheduled-previously */
color: #b22222;
}
.org-org-scheduled-today {
/* org-scheduled-today */
color: #006400;
}
.org-org-sexp-date {
/* org-sexp-date */
color: #a020f0;
}
.org-org-special-keyword {
/* org-special-keyword */
color: #bc8f8f;
}
.org-org-table {
/* org-table */
color: #0000ff;
}
.org-org-tag {
/* org-tag */
font-weight: bold;
}
.org-org-target {
/* org-target */
text-decoration: underline;
}
.org-org-time-grid {
/* org-time-grid */
color: #b8860b;
}
.org-org-todo {
/* org-todo */
color: #ff0000;
}
.org-org-upcoming-deadline {
/* org-upcoming-deadline */
color: #b22222;
}
.org-org-verbatim {
/* org-verbatim */
color: #7f7f7f;
text-decoration: underline;
}
.org-org-warning {
/* org-warning */
color: #ff0000;
font-weight: bold;
}
.org-outline-1 {
/* outline-1 */
color: #0000ff;
}
.org-outline-2 {
/* outline-2 */
color: #b8860b;
}
.org-outline-3 {
/* outline-3 */
color: #a020f0;
}
.org-outline-4 {
/* outline-4 */
color: #b22222;
}
.org-outline-5 {
/* outline-5 */
color: #228b22;
}
.org-outline-6 {
/* outline-6 */
color: #5f9ea0;
}
.org-outline-7 {
/* outline-7 */
color: #da70d6;
}
.org-outline-8 {
/* outline-8 */
color: #bc8f8f;
}
.outline-text-1, .outline-text-2, .outline-text-3, .outline-text-4, .outline-text-5, .outline-text-6 {
/* Add more spacing between section. Padding, so that folding with org-info.js works as expected. */
}
.org-preprocessor {
/* font-lock-preprocessor-face */
color: #da70d6;
}
.org-query-replace {
/* query-replace */
color: #b0e2ff;
background-color: #cd00cd;
}
.org-regexp-grouping-backslash {
/* font-lock-regexp-grouping-backslash */
font-weight: bold;
}
.org-regexp-grouping-construct {
/* font-lock-regexp-grouping-construct */
font-weight: bold;
}
.org-region {
/* region */
background-color: #eedc82;
}
.org-rmail-highlight {
}
.org-scroll-bar {
/* scroll-bar */
background-color: #bfbfbf;
}
.org-secondary-selection {
/* secondary-selection */
background-color: #ffff00;
}
.org-shadow {
/* shadow */
color: #7f7f7f;
}
.org-show-paren-match {
/* show-paren-match */
background-color: #40e0d0;
}
.org-show-paren-mismatch {
/* show-paren-mismatch */
color: #ffffff;
background-color: #a020f0;
}
.org-string {
/* font-lock-string-face */
color: #bc8f8f;
}
.org-texinfo-heading {
/* texinfo-heading */
color: #0000ff;
}
.org-tool-bar {
/* tool-bar */
color: #000000;
background-color: #bfbfbf;
}
.org-tooltip {
/* tooltip */
color: #000000;
background-color: #ffffe0;
}
.org-trailing-whitespace {
/* trailing-whitespace */
background-color: #ff0000;
}
.org-type {
/* font-lock-type-face */
color: #228b22;
}
.org-underline {
/* underline */
text-decoration: underline;
}
.org-variable-name {
/* font-lock-variable-name-face */
color: #b8860b;
}
.org-variable-pitch {
}
.org-vertical-border {
}
.org-warning {
/* font-lock-warning-face */
color: #ff0000;
font-weight: bold;
}
.rss_box {
}
.rss_title, rss_title a {
}
.rss_items {
}
.rss_item a:link, .rss_item a:visited, .rss_item a:active {
}
.rss_item a:hover {
}
.rss_date {
}
#postamble {
padding: .3em;
margin-bottom: 1em;
border: 1px solid gray;
background-color: #f4f4f4;
background-color: #d7dfed; /* same as pre */
}
#show_source {
@ -1019,7 +365,7 @@ div#preamble div#plupperButton a img {
}
blockquote {
background: #f9f5d7;
background: #f9f5d7; /* FROM Xe */
padding: 10px;
border-radius: 10px;
-moz-border-radius: 10px;

View File

@ -1,5 +1,6 @@
#+TAGS: elixir(e) rust(r) c(c) lisp(l) python(p) nim(n)
#+TAGS: lowlevel(w) frontend(f) backend(b) hack(h) algorithm(a) math(t)
#+TAGS: lowlevel(w) frontend(f) backend(b) algorithm(a) math(t)
#+TAGS: hack(h) funny(y)
#+TAGS: emacs(m) linux(x) iot(i) plan9(9) BSD(B)
#+OPTIONS: toc:1 ^:{}
@ -20,10 +21,17 @@
#+ATTR_HTML: :width 256px
[[http://xahlee.info/emacs/misc/i/Marisa_Kirisame_emacs_magic.png]]
** [[http://www.yinwang.org/][王垠]]
** TODO [[https://zedshaw.com][Zed A. Shaw]]
** [[http://ruanyifeng.com/blog/][阮一峰]] :rssub:
** [[http://www.hackdig.com/][黑客技术]] :hack:
really good website, butt, no rss
** [[https://bford.info][Bryan Ford]]
leads the [[https://dedis.epfl.ch][Decentralized/Distributed Systems (DEDIS) lab]]
#+BEGIN_QUOTE
Two Principles of Deadlines:
1. All deadlines converge on the same day—Deadline Day.
2. Every day is Deadline Day.
#+END_QUOTE
*** [[https://bford.info/pub/net/p2pnat/][Peer-to-Peer Communication Across Network Address Translators]]
** [[https://shakaianee.top/][易姐]]
** [[https://floooh.github.io/][floooh(The Brain Dump)]] :c:
07 年开始, cpu emulator
@ -110,7 +118,21 @@ from ruanyifeng
**** [[https://xeiaso.net/blog/v-vaporware-2019-06-23][V for Vaporware]]
经典永流传~
*** [[https://xeiaso.net/blog/nim-and-tup-2015-06-10][Nim and Tup]]
*** [[https://xeiaso.net/blog/openssl-3.x-secvuln-incoming][You should prepare for the OpenSSL 3.x secvuln]]
*** [[https://xeiaso.net/blog/openssl-alarm-fatigue][OpenSSL gave everyone alarm fatigue]]
funny byte
#+BEGIN_SRC diff
--- a/crypto/punycode.c
+++ b/crypto/punycode.c
@@ -181,7 +181,7 @@ int ossl_punycode_decode(const char *pEncoded, const size_t enc_len,
n = n + i / (written_out + 1);
i %= (written_out + 1);
- if (written_out > max_out)
+ if (written_out >= max_out)
return 0;
memmove(pDecoded + i + 1, pDecoded + i,
#+END_SRC
**** [[https://mta.openssl.org/pipermail/openssl-announce/2022-November/000243.html][OpenSSL Security Advisory]]
*** [[https://xeiaso.net/blog/rip-twitter][Goodbye Twitter, Hello Fediverse!]]
** [[https://lantian.pub/][蓝天]]
@ -186,6 +208,16 @@ GE d@ s: a C++$ UBL+++$ P++(--)$ L++(-)$ !E W+++(-)$ !N !o K--? w !O !M !V PS++
** [[http://www.jinbuguo.com][金步国作品集]] :lowlevel:linux:
kernel, LFS
** [[https://blog.pg999w.top/too-many-channels/][Too many channels in Rust but only one in Go]] :rust:
** [[https://bugs.xdavidhu.me/google/2022/11/10/accidental-70k-google-pixel-lock-screen-bypass/][Accidental $70k Google Pixel Lock Screen Bypass]]
** TODO [[https://herman.bearblog.dev][Herman]]
** [[https://linux.cn/article-14388-1.html][linuxcn: 少年黑客对自由软件的自由漫谈]]
linuxcn 里唯一一个让我感觉很有必要把链接放在这的文章
** [[https://mthli.xyz][Matthew Lee]]
*** [[https://mthli.xyz/duff-device/][深入理解达夫设备]]
**** [[https://swtch.com/duffs-device/td-1983.txt][mail archive]]
*** [[https://mthli.xyz/stackful-stackless/][有栈协程与无栈协程]]
**** [[https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html][PuTTY's author: Coroutines in C]]
** B
*** [[https://blog.yangmame.org/][yanemame]]
猴哥推荐的
@ -232,12 +264,14 @@ plan9
*** [[https://youtu.be/Fq9chEBQMFE][what if I try to malloc too much memory]]
*** [[https://youtu.be/zJ-8DZhzBEE][what your favourite pl says about you]]
*** [[https://youtu.be/ziXgdkTfmPU][tsoding irc client in ocaml]]
#+BEGIN_QUOTE
0:50 List.fold_left faster than fold_right, but haskell is opposite
1:00 I like ocaml, that's how python should look like,
but ocaml itself is not ideal, you have to take ocaml and throw O away, and that's perfect
1:03 to be fair p___hub is more interesting than this, that's for sure, so let's use Makefile (instead of dune)
1:50 sexplib?
2:14 "how many american server you have already hacked" - "I don't count them I'm sorry"
#+END_QUOTE
*** [[https://youtu.be/Utse8P_L8k0][ArcaOS: Modern OS/2 ]]
*** [[https://youtu.be/1z0ULvg_pW8][集线器,交换机和路由器的区别]]
**** [[https://youtu.be/TIiQiw7fpsU][MAC Address Explained]]
@ -347,3 +381,6 @@ worth reading
** [[http://decss.zoy.org][42 ways to distribute DeCSS]]
*** [[http://www.cs.cmu.edu/~dst/DeCSS/Kesden/index.html][Lecture 33: Content Scrambling System]]
** [[https://custodians.online/chinese.html][声援 Library Genesis 和 Sci-Hub]]
** [[https://tholman.com/cursor-effects/][90's Cursor Effects]]
*** [[https://theuselessweb.com][The Useless Web]]
** [[http://oldlinux.org][OldLinux.org]]

View File

@ -46,8 +46,8 @@
:preserve-breaks t
:org-html-validation-link nil
;; https://github.com/rgb-24bit/org-html-theme-list org-joshua
:html-head "<link rel='stylesheet' type='text/css' href='css/main.css' />"
;; :html-head-include-default-style nil
:html-link-home "https://dongdigua.github.io"
:html-link-up "./../posts"
:html-postamble t