Stephen Wright underwhelmed

View pain.vb
1 2 3 4 5 6 7 8 9 10
#Region " Web Form Designer Generated Code "
 
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
 
End Sub
Protected WithEvents txtSpecialInstructions As Telerik.WebControls.RadEditor
 
'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
View AccountController.rb
1 2 3 4 5 6 7 8 9
class AccountController < Wicked::WizardController
 
steps :start, :info, :address, :billing, :review
 
def show
 
end
 
end
View _form.html.erb
1 2 3 4 5 6 7 8 9 10
<% form_for(@album, :html => { :multipart => true }) do |f| %>
<p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<h2>Photo(s)</h2>
<div id="photos">
<% if @album.new_record? %>
View test.js
1 2 3 4 5 6
var a = [];
a.constructor;
 
var numbers = [];
numbers[5] = 4;
numbers.length; //6
View tumblr.theme.html
1 2 3 4 5 6 7 8 9 10
{block:Following}
<section id="following" class="clearfix">
<div class="grid_12">
<div>
<header>
<h2>Following</h2>
</header>
<ul class="clearfix">
{block:followed}
<li><a title="{FollowedTitle}" href="{FollowedURL}"><img src="{FollowedPortraitURL-40}"></a></li>
View ip_check.php
1 2 3 4 5 6 7 8 9 10
<?php
function GetIP()
{
foreach (array('HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR') as $key)
{
if (array_key_exists($key, $_SERVER) === true)
{
foreach (array_map('trim', explode(',', $_SERVER[$key])) as $ip)
{
if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) !== false)
View EmailReport.cs
1 2 3 4 5 6 7 8 9
protected void btnRuns_Click(object sender, EventArgs e)
{
var rs = new rs2005.ReportingService2005();
var rsExec = new rsExecService.ReportExecutionService();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Url = "http://<ReportServer>/ReportServer/ReportService2005.asmx";
rsExec.Url = "http://<ReportServer>/ReportServer/ReportExecution2005.asmx";
string _reportName = @"/Path/To/Report";
View CurlService.php
1 2 3 4 5 6 7 8 9
<?php
 
class CurlService {
function __construct($url) {
$this->url = $url;
}
private $url;
View new_rails_app_template.rb
1 2 3 4 5 6 7 8 9 10
# create rvmrc file
create_file ".rvmrc", "rvm 1.9.2@#{app_name}"
 
gem "haml-rails"
# hpricot and ruby_parser required by haml
gem "hpricot", :group => :development
gem "ruby_parser", :group => :development
gem "nifty-generators"
gem "simple_form"
gem "jquery-rails"
View RecordStringConverter.cs
1 2 3 4 5 6 7 8 9 10
using System;
using FileHelpers;
using NUnit.Framework;
 
namespace FileHelpers.Tests.Converters
{
[TestFixture]
public class RecordStringConverter.cs
{
FileHelperEngine<UserRecord> engine = new FileHelperEngine<UserRecord>();
Something went wrong with that request. Please try again.