.. toctree:: :maxdepth: 2 :numbered: *
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/perl | |
use strict; | |
my $script_name = $ARGV[0]; | |
my $file_contents = ""; | |
while(<>) { | |
if($_ =~ /\[caption.*/) { | |
my %imageData; |
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/perl | |
use strict; | |
my $script_name = $ARGV[0]; | |
my $file_contents = ""; | |
while(<>) { | |
if($_ =~ /\[youtube\](.*)\[\/youtube\]/) { | |
if($1 =~ /[\?&]v=([^&]+).*/) { |
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
# Tell - The de-coupling allows me to write the example without having to write an example of the Keychain class | |
class EncryptionKey: | |
def __init__(self, keychain): | |
self.keychain = keychain | |
def decrypt(self, password): | |
if _decrypt(password): | |
self.keychain.unlock() |
I hereby claim:
- I am mlopes on github.
- I am mlopes (https://keybase.io/mlopes) on keybase.
- I have a public key whose fingerprint is 0F50 1723 91FB 6D17 9644 BB99 FA9E A8FB 66EA AA8E
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
Feature: API user adds credentials to an agile keychain | |
So that I can store my passwords | |
As an API user | |
I must be able to add credentials to the keychain | |
Scenario: Adding website credentials to the keychain | |
Given I have an initialised keychain | |
When I assign my credentials to a key in the keychain | |
Then that data should be stored in the keychain |
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> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>About</title> | |
<meta name="viewport" content="width=device-width"> | |
<meta name="description" content="- I have to tell you something!<br />- What is it?<br />- There's a lemon behind the sofa!"> | |
<link rel="canonical" href="http://thelemonbehindthesofa.com/about/"> |
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
D/AndroidRuntime( 1433): | |
D/AndroidRuntime( 1433): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<< | |
D/AndroidRuntime( 1433): CheckJNI is ON | |
D/dalvikvm( 1433): Trying to load lib libjavacore.so 0x0 | |
D/dalvikvm( 1433): Added shared lib libjavacore.so 0x0 | |
D/dalvikvm( 1433): Trying to load lib libnativehelper.so 0x0 | |
D/dalvikvm( 1433): Added shared lib libnativehelper.so 0x0 | |
D/AndroidRuntime( 1433): Calling main entry com.android.commands.pm.Pm | |
I/ActivityManager( 995): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1444 uid=10004 gids={1015, 2001, 1028} | |
E/Trace ( 1444): error opening trace file: No such file or directory (2) |
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
dist/dist-sandbox-9747bf3a/build/vindinium/vindinium training XXXX --url http://vindinium.org/ --turns 90 | |
vindinium: StatusCodeException (Status {statusCode = 400, statusMessage = "Bad Request"}) [("Server","nginx"),("Date","Tue, 07 Oct 2014 17:35:58 GMT"),("Content-Type","text/plain; charset=utf-8"),("Content-Length","32"),("Connection","keep-alive"),("X-Response-Body-Start","Vindinium - The game is finished"),("X-Request-URL","POST http://vindinium.org:80/api/b3xfb06k/8ynm/play")] (CJ {expose = []}) |
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 Data.Text (Text) | |
import qualified Data.Yaml as Y | |
import Data.Yaml (FromJSON(..), (.:)) | |
import Data.ByteString (ByteString) | |
import Text.RawString.QQ | |
import Control.Applicative | |
actionsYml :: ByteString | |
actionsYml = [r| | |
action: |
OlderNewer