Skip to content

Instantly share code, notes, and snippets.

View metajack's full-sized avatar

Jack Moffitt metajack

View GitHub Profile
{
"block": {
"block_identifier": {
"hash": "af1796de",
"index": 83
},
"parent_block_identifier": {
"hash": "38bb17d2",
"index": 82
},
@metajack
metajack / playground.rs
Created April 24, 2018 04:54 — forked from rust-play/playground.rs
Code shared from the Rust Playground
fn log(msg: &String) {
println!("{}", msg);
}
fn main() {
let s = String::from("this is a log message");
log(&s);
println!("length is {}", s.len());
}
@metajack
metajack / Servo.wxs.mako
Created June 28, 2016 15:01
Windows MSI WIP
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Name="Servo Tech Demo"
Manufacturer="Mozilla Research"
Id="5807391a-3a17-476b-a5d2-5f1912569762"
UpgradeCode="060cd15d-eab1-4614-b438-3988e3efdcf1"
Language="1033"
Codepage="1252"
Version="1.0.0">
<Package Id="*"
extern crate dwrite;
extern crate kernel32;
extern crate winapi;
use dwrite::DWriteCreateFactory;
use kernel32::GetUserDefaultLocaleName;
use std::{mem, ptr};
use winapi::dwrite::{DWRITE_FACTORY_TYPE_SHARED};
use winapi::dwrite::{IDWriteFactory, IDWriteFontCollection, IDWriteFontFamily, IDWriteLocalizedStrings};
use winapi::dwrite::UuidOfIDWriteFactory;
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::env;
use std::path::Path;
use std::process;
use std::process::{Command, Stdio};
fn main() {
@metajack
metajack / homu-travis.json
Created August 31, 2015 18:33
homu helper scripts and data
{
"name": "travis",
"active": true,
"events": [
"push",
"pull_request",
"issue_comment",
"public",
"member"
],
mkdir -p `dirname /home/jack/src/servo/target/arm-linux-androideabi/release/build/skia-5d06405d6bc2907e/out/src/opts/SkBitmapProcState_arm_neon.o` && arm-linux-androideabi-g++ -c -O3 -DSK_RELEASE -DGR_RELEASE=1 -fPIC -DSK_A32_SHIFT=24 -DSK_R32_SHIFT=16 -DSK_G32_SHIFT=8 -DSK_B32_SHIFT=0 -DGR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1 -I"/home/jack/src/servo/target/arm-linux-androideabi/release/build/freetype-sys-6942b42598677f74/out/include" -I"/home/jack/src/servo/target/arm-linux-androideabi/release/build/expat-sys-e22582e7d0e6b2e6/out/include" -Iinclude/config -Iinclude/core -Iinclude/effects -Iinclude/gpu -Iinclude/images -Iinclude/pathops -Iinclude/pipe -Iinclude/ports -Iinclude/utils -Isrc/core -Isrc/image -Isrc/opts -Isrc/ports -Isrc/sfnt -Isrc/utils -Ithird_party/etc1 -Ithird_party/ktx -iquote src/gpu -I/usr/include/freetype2 -DSK_BUILD_FOR_ANDROID -DEGL_EGLEXT_PROTOTYPES -DSK_FONTHOST_DOES_NOT_USE_FONTMGR=1 -march=armv7-a -D__ARM_HAVE_OPTIONAL_NEON_SUPPORT -DUSE_ANDROID_NDK_CPU_FEATURES=0 -mfpu=neon -o /hom
2015-08-06 20:00:06+0000 [-] disconnecting old slave linux2 now
2015-08-06 20:00:06+0000 [-] waiting for slave to finish disconnecting
2015-08-06 20:00:06+0000 [Broker,50,52.25.161.46] BuildSlave.detached(linux2)
2015-08-06 20:00:06+0000 [Broker,50,52.25.161.46] releaseLocks(<EC2LatentBuildSlave 'linux2'>): []
2015-08-06 20:00:06+0000 [-] disconnecting old slave linux2 now
2015-08-06 20:00:06+0000 [-] waiting for slave to finish disconnecting
2015-08-06 20:00:06+0000 [Broker,50,52.25.161.46] BuildSlave.detached(linux2)
2015-08-06 20:00:06+0000 [Broker,50,52.25.161.46] releaseLocks(<EC2LatentBuildSlave 'linux2'>): []
2015-08-06 20:00:07+0000 [-] EC2LatentBuildSlave linux2 terminating instance i-1902b7dc
2015-08-06 20:00:32+0000 [-] EC2LatentBuildSlave linux2 instance i-1902b7dc ('terminated',) after about 0 minutes 25 se
diff --git a/tests/wpt/css-tests/css21_dev/html4/border-bottom-color-030.htm b/tests/wpt/css-tests/css21_dev/html4/border-bottom-color-030.htm
index 2b386f5..9ff5c1a 100644
--- a/tests/wpt/css-tests/css21_dev/html4/border-bottom-color-030.htm
+++ b/tests/wpt/css-tests/css21_dev/html4/border-bottom-color-030.htm
@@ -6,10 +6,9 @@
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-05-20 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-bottom-color">
<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-color-properties">
- <link rel="match" href="reference/ref-filled-black-96px-square.htm">
-
{"source": "web-platform-tests", "thread": "MainThread", "time": 1438293837740, "action": "log", "message": "Using 4 client processes", "level": "INFO", "pid": 31724}
{"source": "web-platform-tests", "thread": "MainThread", "time": 1438293837753, "action": "log", "message": "Generating new CA in /tmp/tmp2GRhgI", "level": "INFO", "pid": 31724}
{"thread": "MainThread", "process": "31945", "pid": 31724, "source": "web-platform-tests", "command": "/usr/bin/openssl req -config /tmp/tmp2GRhgI/openssl.cfg -batch -new -newkey rsa:2048 -keyout /tmp/tmp2GRhgI/cakey.pem -out /tmp/tmp2GRhgI/careq.pem -subj /CN=web-platform-tests -passout pass:web-platform-tests", "time": 1438293837803, "action": "process_output", "data": "Generating a 2048 bit RSA private key\n...+++\n...................+++\nwriting new private key to '/tmp/tmp2GRhgI/cakey.pem'\n-----\n"}
{"thread": "MainThread", "process": "31946", "pid": 31724, "source": "web-platform-tests", "command": "/usr/bin/openssl ca -config /tmp/tmp2GRhgI/openssl.cfg -batch -cr