Skip to content

Instantly share code, notes, and snippets.

View jryans's full-sized avatar

J. Ryan Stinnett jryans

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jryans
jryans / openssh-launchagent.patch
Last active October 17, 2015 21:33
Allow OpenSSH to run as a launch agent
diff --git a/ssh-agent.c b/ssh-agent.c
index a335ea3..594cb8a 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -71,6 +71,9 @@
#ifdef HAVE_UTIL_H
# include <util.h>
#endif
+#ifdef __APPLE__
+# include <launch.h>
@jryans
jryans / failures.sh
Last active January 7, 2016 22:57
Pull failures from a try run
curl -s 'https://treeherder.mozilla.org/api/project/try/jobs/?count=2000&result_set_id=83940&return_type=list' | jq '.results | map(select(.[9] == "testfailed")) | .[] | .[10]' | gxargs -I '{}' -P 0 curl -s 'https://treeherder.mozilla.org/api/project/try/artifact/?job_id={}&name=Bug+suggestions&type=json' | jq '.[0].blob | .[] | .search' | cut -d'|' -f 2- | cut -d' ' -f 2-
curl -s 'https://treeherder.mozilla.org/api/project/try/jobs/?count=2000&result_set_id=83940&return_type=list' | jq '.results | map(select(.[9] == "testfailed")) | .[] | .[10]' | gxargs -I '{}' -P 0 curl -s 'https://treeherder.mozilla.org/api/project/try/artifact/?job_id={}&name=Bug+suggestions&type=json' | jq '.[0].blob | .[] | .search' | cut -d'|' -f 2- | cut -d' ' -f 2- | sort | uniq -c | gsed -r 's/^.{5}/&| /'
@jryans
jryans / gist:5c70a77c7cacc21fc0c1
Created January 11, 2016 21:10
Console output from /folder/everything
15:08:32.602 / UI Layout Callback Error
The west onresize_end callback is not a valid function. common.js:463:332
15:08:32.273 The resource at "https://ssl.google-analytics.com/ga.js" was blocked because tracking protection is enabled.[Learn More] everything
15:08:32.715 Array [ "correct?", Object, 0 ] common.js:1825:488
15:08:32.713 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. common.js:120:468
15:08:37.639 Array [ "Setting refresh interval to every 1…" ] common.js:198:131
15:08:37.645 Array [ "Setting refresh interval to every 1…" ] common.js:198:131
15:08:36.899 The resource at "https://pbs.twimg.com/profile_images/454358640518914048/WX1xBTs9_normal.jpeg" was blocked because tracking protection is enabled.[Learn More] everything
15:08:36.911 The resource at "https://pbs.twimg.com/profile_images/474984180997046272/FJRmdbL4_normal.png" was blocked because tracking protection is enabled.[Learn More] everything
15:08:37.791 Array [ "Blank iframe, ignoring" ] common.js:1825:335
# HG changeset patch
# User J. Ryan Stinnett <[email protected]>
Force about:devtools-toolbox into child process
MozReview-Commit-ID: HXU7HSCo2jU
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
index d45c3cc..d20926b 100644
--- a/browser/installer/package-manifest.in
@jryans
jryans / .mozconfig
Created April 20, 2016 15:00
Windows x64 Debug .mozconfig
# Compiler Flags
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
# objdir
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox-debug
# Make Options
# Application
@jryans
jryans / .mozconfig
Created May 13, 2017 04:13
.mozconfig for Gecko release, Rust debug
ac_add_options --enable-stylo
# These two are already the default, but who knows what else is in your .mozconfig
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --enable-rust-debug
commit a58feeaa836675201a4e33af8355e921ec8ae9a2
Author: J. Ryan Stinnett <[email protected]>
Date: Wed Jul 26 15:25:42 2017 -0500
Revert "Bug 1381993 - Position the stop/reload animation using absolute positioning to make sure that the animation remains vertically centered even when non-default font sizes are used. r=Gijs"
This reverts commit b7ac898f7fbe7261385e3e111bcb1704da2bc4bc.
MozReview-Commit-ID: JFMhIFPs15G
diff --git a/layout/style/ServoBindingList.h b/layout/style/ServoBindingList.h
index 8e424f8..7ab43fa 100644
--- a/layout/style/ServoBindingList.h
+++ b/layout/style/ServoBindingList.h
@@ -39,17 +39,17 @@ SERVO_BINDING_FUNC(Servo_StyleSheet_HasRules, bool,
SERVO_BINDING_FUNC(Servo_StyleSheet_GetRules, ServoCssRulesStrong,
RawServoStyleSheetContentsBorrowed sheet)
SERVO_BINDING_FUNC(Servo_StyleSheet_Clone, RawServoStyleSheetContentsStrong,
RawServoStyleSheetContentsBorrowed sheet,
const mozilla::ServoStyleSheet* reference_sheet);