Skip to content

Instantly share code, notes, and snippets.

View cherring's full-sized avatar
💭
Why do we even need this?

Chris Herring cherring

💭
Why do we even need this?
View GitHub Profile
using GameReaderCommon;
using iRacingSDK;
using System.Linq;
using SimHub.Plugins;
using System.Text;
using SimHub.Plugins.OutputPlugins.GraphicalDash.Behaviors.StringText.Imp;
using System;
namespace cherring.AdjacentPositionsPlugin
{
❯ rbenv versions [2.5.3]
system
2.3.4
* 2.5.3 (set by /Users/cherring/projects/********/.ruby-version)
2.6.3
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
module ProfileValidator
def self.validate(profile, scentregroup_id)
profile_schema.call(profile.merge(scentregroup_id: scentregroup_id))
end
def self.profile_schema
required(:centre).filled
required(:number_plates).each do
schema do
required(:plate).filled
⚡ defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist
{
CatalogURL = "https://swscan.apple.com/content/catalogs/others/index-10.12beta-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz";
DidRegisterLocalUpdates = 1;
IgnoringUnseenRamped = 0;
LastAttemptSystemVersion = "10.12 (16A254g)";
LastBackgroundCCDSuccessfulDate = "2016-07-19 09:19:45 +0000";
LastBackgroundSuccessfulDate = "2016-07-30 20:08:00 +0000";
LastFullSuccessfulDate = "2016-07-30 20:06:06 +0000";
LastRecommendedUpdatesAvailable = 0;

Keybase proof

I hereby claim:

  • I am cherring on github.
  • I am cherring (https://keybase.io/cherring) on keybase.
  • I have a public key whose fingerprint is 98D0 7809 66FD ABBC DEDF CAC2 D031 1F35 8A96 D4FE

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" media="screen" href="style.css" />
</head>
<body>
<br>
<div class="page-content">
⚡ gem install eventmachine -v 1.0.7 -- --with-cppflags=-I/usr/local/opt/openssl/include
Fetching: eventmachine-1.0.7.gem (100%)
Building native extensions with: '--with-cppflags=-I/usr/local/opt/openssl/include'
This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
/Users/chris/.rbenv/versions/2.2.4/bin/ruby -r ./siteconf20160114-25894-hzaoot.rb extconf.rb --with-cppflags=-I/usr/local/opt/openssl/include
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
@cherring
cherring / Gemfile
Created December 2, 2013 02:59
Binding.pry example
group :test, :development do
gem "pry"
gem "pry-rails" # Assuming you are using rails
end
⚡ gem install websocket-driver -v 0.3.0
Building native extensions. This could take a while...
ERROR: Error installing websocket-driver:
ERROR: Failed to build gem native extension.
/Users/chris/.rbenv/versions/2.0.0-p247/bin/ruby extconf.rb
creating Makefile
make "DESTDIR="
compiling websocket_mask.c