One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
function f() { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
This guide assumes you are using Ubuntu and have some basic linux command-line know-how.
Download the server https://www.factorio.com/download-headless/stable:
/* | |
A Tiny Lisp Arithmetic Parser | |
---------------------------------- | |
Built with <3 by @alanrsoares | |
*/ | |
// functional helpers | |
const apply = f => (...xs) => xs.reverse().reduceRight(f) | |
const compose = (...fs) => (...args) => | |
(([g, ...gs]) => |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
#lang racket | |
;; This file departs from the book* a little bit, because, reading the book | |
;; made some older things I had read in the Simply Scheme book "click in". | |
;; In particular, I finally understood how I could go around and implement | |
;; map-filter-reduce on my own, so, this is my stab at it. | |
;; | |
;; *where book == The Little Schemer | |
;; Map works as follows: It takes a function argument and a list of atoms, and |
Ansible playbook to setup HTTPS using Let's encrypt on nginx. | |
The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS. | |
The server pass A rating on [SSL Labs](https://www.ssllabs.com/). | |
To use: | |
1. Install [Ansible](https://www.ansible.com/) | |
2. Setup an Ubuntu 16.04 server accessible over ssh | |
3. Create `/etc/ansible/hosts` according to template below and change example.com to your domain | |
4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder) |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Using optional BOM (0xEF 0xBB 0xBF) --> | |
<!-- From http://forum.openstreetmap.org/viewtopic.php?id=7186 --> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="http://openstreetmap.org/osm/0.6" | |
xmlns="http://openstreetmap.org/osm/0.6"> | |
<xs:element name="osm"> | |
<xs:complexType> | |
<xs:sequence> |
You have a repository, call it alice/repo
. You would like to transfer it to the user bob
, so it will become bob/repo
.
However, you make heavy use of the GitHub Pages feature, so that people are often accessing https://alice.github.io/repo/
. GitHub will helpfully redirect all of your repository stuff hosted on github.com after the move, but will not redirect the GitHub Pages hosted on github.io.
7 | |
2 | |
1 | |
0 | |
4 | |
1 | |
4 | |
9 | |
5 | |
9 |