View this code at http://livecoding.io/9690914
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> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="main-container" class="container"> | |
<div class="page-header"> | |
<h1>MS Treatment Options</h1> | |
</div> |
View this code at http://livecoding.io/9688745
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; | |
use warnings; | |
use IO::Socket::INET; | |
use IO::Select; | |
open my $log,'>>','test.log'; | |
$| = 1; |
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
package com.mycompany; | |
public class Main { | |
public static void main(String[] args){ | |
Map<String,Object> versions = ResourceGrabber.grabLibraryVersions(); | |
System.out.println("joda-time: " + versions.get("joda-time").toString()); | |
} | |
} |
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
# placed in a function to avoid mucking up my env | |
# screenshot: http://gordonchild.com/ps1.png | |
function setps1 { | |
local E="\[\033[" | |
local D="\]" | |
local YELLOW="${E}1;33m${D}" | |
local BROWN="${E}0;33m${D}" | |
local RED="${E}31m${D}" | |
local WHITE="${E}1;37m${D}" | |
local ON_BLUE="${E}44m${D}" |
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; | |
use warnings; | |
use Selenium::Remote::Driver; | |
use Test::More; | |
my $driver = Selenium::Remote::Driver->new; | |
my $driver2 = Selenium::Remote::Driver->new(remote_server_addr=>'10.4.20.1'); |
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
diff --git a/libmpcodecs/vd_mpng.c b/libmpcodecs/vd_mpng.c | |
index 13dcfdb..c430566 100644 | |
--- a/libmpcodecs/vd_mpng.c | |
+++ b/libmpcodecs/vd_mpng.c | |
@@ -74,7 +74,7 @@ static int pngLength; | |
static void pngReadFN( png_structp pngstr,png_bytep buffer,png_size_t size ) | |
{ | |
- char * p = pngstr->io_ptr; | |
+ char * p = png_get_io_ptr(pngstr); |