I hereby claim:
- I am enaeseth on github.
- I am enaeseth (https://keybase.io/enaeseth) on keybase.
- I have a public key whose fingerprint is E840 8BD0 D34F 9BB1 5604 68C5 F846 DCC3 1899 A1E2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
\begin{enumerate} | |
\setcounter{enumi}{-1} % make counting start at zero instead of one | |
\item I spent five minutes preparing this example. (0) | |
\item \begin{enumerate} | |
\item First sub-problem (1a) | |
\item Second sub-problem (1b) | |
\end{enumerate} | |
\item An answer to a problem with no sub-parts (2) |
/** | |
* Returns the ${2:description}. | |
* @return ${2:description} | |
*/ | |
public ${3:String} get${1/./\u$0/}() { | |
return ${1:fieldName}; | |
} |
import java.net.*; // for DatagramSocket, DatagramPacket, and InetAddress | |
import java.io.*; // for IOException | |
public class UDPEchoClientTimeout { | |
// Resend timeout (milliseconds) | |
private static final int TIMEOUT = 3000; | |
// Maximum retransmissions | |
private static final int MAXTRIES = 5; | |
public static void main(String[] args) throws IOException { |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |
Another very common justification for the hourglass model is that students must learn it before they move on to more creative forms of writing. It doesn't take much reflection to see that this is nonsense. You don't learn to hit a tennis ball by strapping your upper arm to your body, and when you can manage to make a stroke with this crippling disadvantage, unstrap your arm so you can swing more freely. You learn by trying to hit naturally, if awkwardly, from the outset and, by practice, gradually learn to hit more accurately. The same should apply to writing. The hourglass method has little to do with learning or with writing. Few people who master it go on to write more creative essays. They have been so deeply damaged by their training they're usually too scared to venture beyond it in case they make mistakes. (p. 7)
function! AutoOpenNERDTree() | |
if has('gui_running') && argc() == 0 | |
:NERDTree | |
endif | |
endfunction | |
function! AutoFocusAwayFromNERDTree() | |
if has('gui_running') && argc() == 0 | |
:wincmd l | |
endif |
>>> from datetime import datetime | |
>>> int32_max = (2 ** 31) - 1 | |
>>> # year 2038 problem: | |
... datetime.utcfromtimestamp(int32_max) | |
datetime.datetime(2038, 1, 19, 3, 14, 7) | |
>>> # but minute resolution gets us much further: | |
... datetime.utcfromtimestamp(int32_max * 60) | |
datetime.datetime(6053, 1, 23, 2, 7) |
_id: 4db8bc0940d6754d71220000 # A database-assigned unique ID | |
type: 'email/send' # The type of event that occurred | |
time: 2011-04-27T02:43:15Z # When the event happened | |
email: # Information about the email: | |
id: 'r1nyJw' # A unique identifier for the message | |
message: 'new request' # The type of email that was sent | |
receiving_user: | |
id: 'fLHPtl' # The ID of the user who got the message | |
email: 'eric@thumbtack.com' # The email address the message was sent to |