The gist for: Code PaLOUsa Testing Application Boundaries.
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import random | |
import click | |
@click.command() | |
@click.argument('length', type=click.INT) |
I hereby claim:
- I am rsyring on github.
- I am randysyring (https://keybase.io/randysyring) on keybase.
- I have a public key ASAB9i5eth_mEtEPjCuc64rj3P9PEXrohrZe790bJn8yRwo
To claim this, I am signing this object:
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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html data-ember-extension="1"> | |
<head> | |
<title>Choosing a TDS protocol version</title> | |
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79"> | |
<link rel="HOME" title="FreeTDS User Guide" href="http://www.freetds.org/userguide/index.htm"> | |
<link rel="UP" title="Install FreeTDS" href="http://www.freetds.org/userguide/install.htm"> | |
<link rel="PREVIOUS" title="Install FreeTDS" href="http://www.freetds.org/userguide/install.htm"> | |
<link rel="NEXT" title="servername Lookup" href="http://www.freetds.org/userguide/name.lookup.htm"> |
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 collections import defaultdict | |
def autokeyed_dict(): | |
return defaultdict(autokeyed_dict) | |
mydict = autokeyed_dict() | |
mydict['properties']['recent_conversion_event_name']['value'] = 'Test Drive Form' |
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
def test_noqa_lines(codeString): | |
g = tokenize.generate_tokens(StringIO(codeString).readline) # tokenize the string | |
for toknum, tokval, srow, _, _ in g: | |
if toknum == N_TOKENS: | |
pass # do something |
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
import os | |
from os import path as osp | |
import sys | |
import keyring | |
paths_to_link = ( | |
'/usr/lib/python2.7/dist-packages/dbus', | |
'/usr/lib/python2.7/dist-packages/_dbus_bindings.so', | |
'/usr/lib/python2.7/dist-packages/_dbus_glib_bindings.so', |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<?xml-stylesheet type='text/xsl' href='freb.xsl'?> | |
<!-- saved from url=(0014)about:internet --> | |
<failedRequest url="http://localhost:80/testapp4.0/default.aspx" | |
siteId="1" | |
appPoolId="Classic .NET AppPool" | |
processId="6860" | |
verb="POST" | |
remoteUserName="" | |
userName="" |
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
rvm install 1.8.7 | |
No binary rubies available for: downloads/ruby-1.8.7-p371. | |
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. | |
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-p371, this may take a while depending on your cpu(s)... | |
ruby-1.8.7-p371 - #downloading ruby-1.8.7-p371, this may take a while depending on your connection... | |
ruby-1.8.7-p371 - #extracting ruby-1.8.7-p371 to /usr/local/rvm/src/ruby-1.8.7-p371 | |
ruby-1.8.7-p371 - #extracted to /usr/local/rvm/src/ruby-1.8.7-p371 | |
Applying patch /usr/local/rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch | |
Applying patch /usr/local/rvm/patches/ruby/1.8.7/no_sslv2.diff | |
ruby-1.8.7-p371 - #configuring |
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
using System; | |
using NUnit.Framework; | |
using SomeProject.Tests.Utils; | |
namespace Some.Project.Tests { | |
[SetUpFixture] | |
public class DBInit { |