Skip to content

Instantly share code, notes, and snippets.

@lucywyman
lucywyman / gist:c43f8cfb16cb1a61caca
Last active August 29, 2015 14:03
converter.py
from flask import Flask, render_template, request
import os
import string
import urllib2
import json
from time import sleep
from random import choice
# Disclaimer: I know this is one big, kind of messy file, but this is
# really just a weekend hack to get introduced to flask. Feel free to
<!DOCTYPE html>
<html>
<head>
<title>Boots and cats and boots and cats and...</title>
<link rel=stylesheet type=text/css href='./styles.css'>
</head>
<body>
<table id='board'>
<tr class='row'>
<td class='cell black' id='a1'></td>

Dr. Jekyll and Mr. Pelican

A comparison of Static site Generators

What even is a static site generator?

module HW1 where
import Prelude hiding (Enum(..), sum)
import Data.List hiding(sum)
--
-- * Part 1: Natural numbers
--
To put it bluntly, working for Mozilla is my dream job. I fell in love with Open Source
when I discovered the OSU Linux Users Group,and am passionate about continuing to contribute
to that community. I firmly believe Open Source software is one of the best ways to foster
innovation, participation, and education in the technology industry; software should be as
accessible and open as possible. Like most engineers I also love a good puzzle. One of the
most rewarding aspects of programming is finding the optimal solution to a difficult problem
-- especially those have an impact tools that I and others use. All of my experiences
contributing to Mozilla projects or speaking with Mozilla engineers have proven it to be
one of the most pleasant organizations to work with. Whether pushing the boundaries of The
Web Browser, systems programming, or mobile operating systems, Mozilla is at the forefront
@lucywyman
lucywyman / ks.cfg
Last active January 29, 2016 01:08
install
cdrom
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
rootpw cs312
firewall --disabled
timezone America/Los_Angeles
selinux --permissive
unsupported_hardware
@lucywyman
lucywyman / hw2.txt
Last active February 4, 2016 02:16
1.
- PTR: Pointer record, points to a canonical name, but DNS stops processing
and returns the name. Used for reverse lookups.
- MX: Mail record, Maps a domain name to a list of message transfer agents for
that domain
- TXT: Text record, originally for arbitrary human-readable data, but now
contains machine-readable metadata.
- CNAME: Canonical name, alias of one name to another, so DNS continues
trying to find the record using the new name.
- SOA: Starts of authority, Specifies authoritative information about a DNS zone
@lucywyman
lucywyman / site.yml
Last active February 22, 2016 03:55
---
- hosts: all
tasks:
- name: create loopback devices
shell: dd if=/dev/zero of=floppy0.img bs=1M count=200M && losetup /dev/loop0 floppy0.img
shell: dd if=/dev/zero of=floppy1.img bs=1M count=200M && losetup /dev/loop1 floppy1.img
- name: create volume group
shell: vgcreate ansible_vg /dev/loop0 /dev/loop1
- name: create data logical volume
shell: lvcreate -n data -L 50M ansible_vg
roles/
├── adduser
│   └── tasks
│   └── main.yml
├── clone-repo
│   └── tasks
│   └── main.yml
├── enable-httpd
│   ├── handlers
│   │   └── main.yml
define host {
use linux_server
display_name cs312-server
host_name cs312
address 140.211.15.183
}
define service {
use generic-service
display_name nagios-http