I hereby claim:
- I am rodolf0 on github.
- I am rudolph (https://keybase.io/rudolph) on keybase.
- I have a public key whose fingerprint is D2BF F90C D22C D209 B816 1F88 83BA 0B45 9642 1CE3
To claim this, I am signing this object:
data:text/html,<div class="wrap"> <h1>Todo<span>, no fuss lists</span></h1> <input placeholder="Add a todo" type="text" id="item" /> <button id="go">Save</button> <span class="help">* tap to delete</span> <ul id="tudu_list"> </ul> </div><script type="text/javascript">var tudu_list = document.getElementById('tudu_list'); var item = document.getElementById('item'); var new_li; var new_obj = {}; function prependElement(parentID,child) { parent=parentID; parent.insertBefore(child,parent.childNodes[0]); } function remove(element){ element.parentNode.removeChild(element); } function deleteItem(){ var answer = confirm('Sure you want to remove this?'); if(answer){ var deleteId = this.getAttribute('rel'); remove(this); } } function addItem(){ if(item.value !== ''){ new_li = document.createElement('li'); new_li.innerHTML = item.value; prependElement(tudu_list, new_li); new_li.onclick = deleteItem; item.value = ''; } } function callAdd(e){ if(event.keyCode == 13){ addItem(); } } item.onkeyup = function(e){ callAdd(e) }; |
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> | |
<!-- | |
For other language: Instead of `ace/mode/ruby`, Use | |
Markdown -> `ace/mode/markdown` | |
Python -> `ace/mode/python` | |
C/C++ -> `ace/mode/c_cpp` | |
Javscript -> `ace/mode/javascript` | |
Java -> `ace/mode/java` | |
Scala- -> `ace/mode/scala` |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD 150,000 ns 0.15 ms | |
Read 1 MB sequentially from memory 250,000 ns 0.25 ms | |
Round trip within same datacenter 500,000 ns 0.5 ms |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- OPML generated by NetNewsWire --> | |
<opml version="1.1"> | |
<head> | |
<title>mySubscriptions</title> | |
</head> | |
<body> | |
<outline text="Advanced Analytic Techniques" description="This blog is part of class project to explore various analytic techniques used by modern intelligence analysts." title="Advanced Analytic Techniques" type="rss" version="RSS" htmlUrl="http://advat.blogspot.com/" xmlUrl="http://advat.blogspot.com/feeds/posts/default"/> | |
<outline text="Asian Efficiency - Time Management and Productivity" description="" title="Asian Efficiency - Time Management and Productivity" type="rss" version="RSS" htmlUrl="http://www.asianefficiency.com" xmlUrl="http://feeds.feedburner.com/asianefficiency"/> | |
<outline text="Bret Victor's website" description="" title="Bret Victor's website" type="rss" version="RSS" htmlUrl="http://worrydream.com/" xmlUrl="http://worrydream.com/feed.xml"/> |
commit 22b2ceeb92b0e392d85283a261367e88ba080ddc | |
Author: Rodolfo Granata <warlock.cc@gmail.com> | |
Date: Sat Oct 7 20:23:01 2017 -0400 | |
Allow defining custom clickable URL handlers. | |
A utility function will check for $HOME/.gnome-terminal-customurls.rc. | |
This file should be in Key-value ini like format with 2 values per group. | |
Example |
diff --git a/src/terminal-screen.c b/src/terminal-screen.c | |
index cadfeacd..b56afad0 100644 | |
--- a/src/terminal-screen.c | |
+++ b/src/terminal-screen.c | |
@@ -154,9 +154,8 @@ static void update_color_scheme (TerminalScreen *screen); | |
static char* terminal_screen_check_hyperlink (TerminalScreen *screen, | |
GdkEvent *event); | |
-static void terminal_screen_check_extra (TerminalScreen *screen, | |
- GdkEvent *event, |
Test on top of https://github.com/jwilm/alacritty/pull/3126/commits/ea54fb0b2a7959c5f8544ffe960c1a0bd7591c55 | |
9:59:11 ~/tmp/vtebench 0 $ ./target/release/vtebench -w $(tput cols) -h $(tput lines) -b 104857600 alt-screen-random-write > /tmp/100mb.vte | |
20:00:49 ~/tmp/vtebench 0 $ echo ./target/release/vtebench -w $(tput cols) -h $(tput lines) -b 104857600 alt-screen-random-write > /tmp/100mb.vte | |
20:00:54 ~/tmp/vtebench 0 $ echo ./target/release/vtebench -w $(tput cols) -h $(tput lines) -b 104857600 alt-screen-random-write | |
./target/release/vtebench -w 186 -h 55 -b 104857600 alt-screen-random-write | |
20:01:05 ~/tmp/vtebench 0 $ ./target/release/vtebench -w $(tput cols) -h $(tput lines) -b 104857600 alt-screen-random-write > /tmp/100mb.vte | |
20:01:11 ~/tmp/vtebench 0 $ ls -lh /tmp/100mb.vte | |
-rw-r--r--. 1 rudolph rudolph 101M Dec 30 20:01 /tmp/100mb.vte |
20:04:50 ~/tmp/alacritty 0 $ git checkout master | |
Switched to branch 'master' | |
Your branch is up to date with 'origin/master'. | |
20:04:54 ~/tmp/alacritty 0 $ git log | head | |
commit 9da0c042d4d4ef72b4488424df5c20d14d4e9585 | |
Author: Christian Duerr <contact@christianduerr.com> | |
Date: Tue Dec 24 20:51:06 2019 +0000 | |
Fix screen reset not clearing cell flags |
####### Runs for Text-Object branch with RegexSet | |
23:42:14 ~/tmp/alacritty 0 $ perf stat -r 10 cat /tmp/100mb.vte | |
Performance counter stats for 'cat /tmp/100mb.vte' (10 runs): | |
690.95 msec task-clock:u # 0.160 CPUs utilized ( +- 0.06% ) | |
0 context-switches:u # 0.000 K/sec | |
0 cpu-migrations:u # 0.000 K/sec | |
57 page-faults:u # 0.082 K/sec |