I hereby claim:
- I am jcamenisch on github.
- I am jcamenisch (https://keybase.io/jcamenisch) on keybase.
- I have a public key ASCEpa9m45ZXvTh8ihYqM3wsfzxJXPC3sPtBFfYl5Dfdcgo
To claim this, I am signing this object:
| # !/bin/bash | |
| # mapped to lw (as in log work) this script simply appends any parameters as a new line in worklog.txt in ~/ | |
| # no parameters will print the last 10 messages | |
| # -o opens the worklog in VIM and immediately jumps to the last line. | |
| # -l gets the tux to tell you the last message. | |
| # -u deletes the last message (u as in undo). | |
| # -uv also posts the message to idone this. | |
| defmodule Chop do | |
| def guess(actual, low..high) do | |
| n = div(low + high, 2) | |
| IO.puts "Is it #{n}?" | |
| _next_guess(actual, low..high, n) | |
| end | |
| defp _next_guess(actual, _.._, actual) do | |
| actual | |
| end |
| defmodule Chop do | |
| def guess(actual, low..high) do | |
| next_guess = fn | |
| (n) when n == actual -> actual | |
| (n) when n > actual -> guess(actual, low..n) | |
| (n) when n < actual -> guess(actual, n..high) | |
| end | |
| n = div(low + high, 2) | |
| IO.puts "Is it #{n}?" |
| <!DOCTYPE html> | |
| <head> | |
| <title>Demo Contact Form - Submit a ticket to UV via JSONP</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
| <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" /> | |
| <style type="text/css"> #contact_form { margin: 20px auto; width: 500px; } </style> | |
| </head> | |
| <body> | |
| <div id="contact_form"> |
I hereby claim:
To claim this, I am signing this object:
| ###################################################################### | |
| # INPUT MODULE | |
| import line_storage | |
| ###################################################################### | |
| ## CIRCULAR SHIFTER | |
| # | |
| # Make circ_index store something represetning all circular shifts | |
| # |