!(A || B) == (!A && !B)
!(A && B) == (!A || !B)
# /etc/nginx/nginx.conf | |
user deployer staff; | |
# Change this depending on your hardware | |
worker_processes 4; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
multi_accept on; |
# /etc/nginx/sites-available/default | |
upstream trucoin.com { | |
# fail_timeout=0 means we always retry an upstream even if it failed | |
# to return a good HTTP response (in case the Unicorn master nukes a | |
# single worker for timing out). | |
# for UNIX domain socket setups: | |
server unix:/tmp/trucoin_rails.socket fail_timeout=0; | |
} |
User-agent: Googlebot | |
User-agent: ArchitextSpider | |
User-Agent: msnbot | |
User-Agent: yahoo-slurp | |
User-Agent: teoma | |
User-Agent: bingbot | |
Disallow: /*? | |
Disallow: /browse | |
Disallow: /users/ |
""" | |
License: MIT | |
Author: Heath Matlock | |
Problem: https://en.wikipedia.org/wiki/Weasel_program | |
""" | |
import string | |
import random | |
from time import time | |
from operator import itemgetter |
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" | |
CodeBehind="Default.aspx.cs" Inherits="TekLinksCal._Default" %> | |
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> | |
</asp:Content> | |
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> | |
<h2> | |
It works bro! | |
</h2> | |
<p> |
-----> Writing config/database.yml to read from DATABASE_URL | |
-----> Preparing app for Rails asset pipeline | |
Running: rake assets:precompile | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
fatal: Not a git repository (or any of the parent directories): .git | |
rake aborted! | |
could not connect to server: Connection refused | |
Is the server running on host "127.0.0.1" and accepting | |
TCP/IP connections on port 5432? |
$ bundle exec yard doc | |
Files: 7 | |
Modules: 1 ( 0 undocumented) | |
Classes: 5 ( 0 undocumented) | |
Constants: 1 ( 0 undocumented) | |
Methods: 17 ( 0 undocumented) | |
100.00% documented | |
$ rake verify_measurements | |
Coverage: 99.5% (threshold: 95%) |
def api_attributes | |
attributes_for_api = [ | |
:bceg_factor, | |
:building_or_contents, | |
:coinsurance, | |
:commercial_deductible, | |
:commercial_percentage_deductible, | |
:construction, | |
:coverage, | |
:coverage_type, |
attrcolor b ".I" | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
defbce "on" | |
term screen-256color-bce | |
defscrollback 100000 | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d/%Y %{W}%C %{g}]' |