A comparison of Static site Generators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module HW1 where | |
import Prelude hiding (Enum(..), sum) | |
import Data.List hiding(sum) | |
-- | |
-- * Part 1: Natural numbers | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw cs312 | |
firewall --disabled | |
timezone America/Los_Angeles | |
selinux --permissive | |
unsupported_hardware |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
roles/ | |
├── adduser | |
│ └── tasks | |
│ └── main.yml | |
├── clone-repo | |
│ └── tasks | |
│ └── main.yml | |
├── enable-httpd | |
│ ├── handlers | |
│ │ └── main.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
OlderNewer