Skip to content

Instantly share code, notes, and snippets.

View scottdriscoll's full-sized avatar

Scott Driscoll scottdriscoll

View GitHub Profile
Version: 1.0.0
Date: 10. 10. 2019
Locale:
- Traditional Chinese locale added. Thank you very much to Frank-Wu and friends for taking the time to do this work.
- French, Russian, Polish locales updated, thanks to Redstylt, Oceanel51, JSzulakiewicz.
- Note to translators: several key changes in the English locale, see Github for differences.
Crafting:
- Electronics was revamped. Too many changes to list in full. Bottom line: with the change to glass sheets, more tin is used across all electronics tiers.
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.show_local_vars=0
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
xdebug.show_exception_trace=0
xdebug.max_nesting_level=10000
xdebug.remote_connect_back=1
xdebug.remote_autostart=1

Keybase proof

I hereby claim:

  • I am scottdriscoll on github.
  • I am scottdriscoll (https://keybase.io/scottdriscoll) on keybase.
  • I have a public key whose fingerprint is DCF3 1431 BC27 12A0 9C59 957A 19E4 12EC E380 94AB

To claim this, I am signing this object:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="quagga.min.js"></script>
<style>
zend_extension=/usr/lib/php5/20131226/xdebug.so
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.show_local_vars=0
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20
xdebug.show_exception_trace=0
xdebug.max_nesting_level=10000
19224659
38599905
70720706
42279925
55098107
49899767
21139532
90160455
70217847
12018469
@scottdriscoll
scottdriscoll / missing_folding.sql
Created March 18, 2015 23:53
missing folding type
select distinct on (rr.order_id) rr.order_id, cat.title from rr_sku_cat cat
inner join rr_transactions rr on rr.sku_cat_id = cat.id
where rr.order_id in (
select id from (
select o.id,
(select count(v.id) from order_item_option_value v inner join order_items oi on v.order_item_id = oi.id where oi.order_id = o.id and v.option_value_id in (103,106)) as folding_option_count,
(select count(v2.id) from order_item_option_value v2 inner join order_items oi2 on v2.order_item_id = oi2.id where oi2.order_id = o.id and v2.option_value_id in (10,11,12)) as folding_count
from orders o
inner join order_items oi3 on o.id = oi3.order_id
where o.payment_status = 1 and
@scottdriscoll
scottdriscoll / udp_test
Created September 19, 2014 04:55
upd tests
#include "stdafx.h"
#include <winsock2.h>
int _tmain(int argc, _TCHAR* argv[])
{
WSADATA wsaData = { 0 };
char ip[64];
char message[256];
char readMessage[256];
int port = 12121;
@scottdriscoll
scottdriscoll / fncptr.cpp
Created July 13, 2014 01:46
c++ function pointers
#include <iostream>
class BaseClass
{
protected:
std::string id;
public:
BaseClass(std::string id)
{
// ==UserScript==
// @name Adds Metadata on Github Pull Request
// @namespace http://github.com/richardfullmer
// @include https://github.com/*/*/pulls*
// @version 3
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// ==/UserScript==
$(function() {
var access_token = "your_token";
$(".pulls-list .list-group-item h4").each(function() {