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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>delete.stupid.apple.garbage</string> | |
| <key>Program</key> | |
| <string>/bin/sh</string> | |
| <key>ProgramArguments</key> | |
| <array> |
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
| v9.5.0 |
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
| HTTP/1.0 200 OK | |
| Server: alphapd | |
| Date: Sun Feb 12 16:21:12 2017 | |
| Pragma: no-cache | |
| Cache-Control: no-cache | |
| Content-type: text/html |
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
| package com.example; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.concurrent.*; | |
| public class Main { | |
| static void run(int inputSize, int batchSize) throws Exception { | |
| ExecutorService executor = Executors.newCachedThreadPool(); | |
| BlockingQueue<Integer> q = new LinkedBlockingQueue<>(2 * batchSize); |
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
| NFD |
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
| git init --bare dotfiles.git | |
| cd dotfiles.git/ | |
| git config: | |
| core.worktree=/home/josh/ | |
| status.showuntrackedfiles=no |
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
| use std::net::{TcpListener, TcpStream}; | |
| use std::thread; | |
| use std::io::{stderr,Write,Read}; | |
| use std::env::args; | |
| macro_rules! unwrap_fmt { | |
| ($expr:expr) => (match $expr { | |
| Ok(val) => val, | |
| Err(err) => panic!("{}", err) | |
| }) |
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
| <link rel="import" href="../speech-mic/speech-mic.html"> | |
| <link rel="import" href="../google-map/google-map.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; |
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
| ~$ TZ=Pacific/Apia date -d @1325239199 | |
| Thu Dec 29 23:59:59 SDT 2011 | |
| ~$ TZ=Pacific/Apia date -d @1325239200 | |
| Sat Dec 31 00:00:00 WSDT 2011 |
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
| ~$ python3 -m timeit -s 'add=lambda x,y:x+y' $'x=0\nfor i in range(1000000):x=add(x,1)\nassert x==1000000' | |
| 10 loops, best of 3: 189 msec per loop | |
| ~$ pypy3 -m timeit -s 'add=lambda x,y:x+y' $'x=0\nfor i in range(1000000):x=add(x,1)\nassert x==1000000' | |
| 100 loops, best of 3: 2.2 msec per loop | |
| ~$ python3 -m timeit -s 'from ctypes import c_long;add=lambda x,y:c_long(c_long(x).value+c_long(y).value).value' $'x=0\nfor i in range(1000000):x=add(x,1)\nassert x==1000000' | |
| 10 loops, best of 3: 1.07 sec per loop | |
| ~$ pypy3 -m timeit -s 'from ctypes import c_long;add=lambda x,y:c_long(c_long(x).value+c_long(y).value).value' $'x=0\nfor i in range(1000000):x=add(x,1)\nassert x==1000000' | |
| 10 loops, best of 3: 530 msec per loop | |
| ~$ python3 -m timeit -s 'from ctypes import c_long' $'x=c_long(0)\nfor i in range(1000000):x.value+=1\nassert x.value==1000000' | |
| 10 loops, best of 3: 217 msec per loop |