duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
-module(rle). | |
-export([encode/1]). | |
-export([decode/1]). | |
encode(List) -> | |
lists:flatten(lists:foldr( | |
fun (Prev, [[Count, Prev]|Rest]) -> | |
[[Count + 1, Prev]|Rest]; | |
(Current, Acc) -> |
// | |
// ReserveAmerica auto clicker v2 | |
// Wade Brainerd <[email protected]> | |
// | |
// This script repeatedly clicks the Book these Dates button | |
// for a ReserveAmerica campsite, e.g. Bahia Honda. Given a | |
// start time and duration, it will repeatdly click the button | |
// until the button disappears or the duration expires. | |
// | |
// Usage: |
Edward Snowden answered questions after a showing of CITIZENFOUR at the IETF93 meeting; this is a transcript of the video recording.
For more information, see the Internet Society article.
#!/usr/bin/env bash | |
# This function lets you easily create series of commands into a single call | |
# It will print each successive command, run it and, as long as it returned | |
# with code 0, continue to the next step. | |
# If any step fails, it will stop and let you pick it back up after you fix the | |
# issues. | |
# | |
# Example of script using this function: | |
# !/usr/bin/env bash |
This allows you to receive desktop notifications from grunt running inside of a local vagrant box.
grunt-notify
and add to dev dependenciesThis is done on the guest VM (within the vagrant box).
Using this modal found here - http://refills.bourbon.io/components/ copy the css as is and note the source of the custom modal directive will be the html plus some amends shown below. | |
add the modal (modal-dialog tag) to your Angular template file and add a couple of native directives to the body tag | |
ex | |
<body ng-app="baApp" ng-controller="MainCtrl" data-ng-init="init()" ng-class="{open: modalFlag, closed: !modalFlag}"> | |
<modal-dialog></modal-dialog> | |
(create a new template file 'modal.html') add code to modal.html |
$ ssh remote-host "epmd -names"
epmd: up and running on port 4369 with data:
name some_node at port 58769
Note the running on port
for epmd
itself and the port of the node you're interested in debugging. Reconnect to the remote host with these ports forwarded:
$ ssh -L 4369:localhost:4369 -L 58769:localhost:58769 remote-host
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
I want to give a code demo that shows progression of the code. I thought it would be great if I could craft the series of commits on a branch and have a single vim keystroke that would checkout the next (or previous) commit and force my buffers to reload. That would allow me to show one commit, then give me the freedom to live code how the next step is done, but when I advance to the next commit I know I'll have working code. It's like a safety harness for live coding.