Skip to content

Instantly share code, notes, and snippets.

View jryans's full-sized avatar

J. Ryan Stinnett jryans

View GitHub Profile
@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>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jryans
jryans / gist:b7e1247f82d71c5a0593
Last active August 29, 2015 14:22
.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = git@github.com:jryans/gecko-dev.git
fetch = +refs/heads/*:refs/remotes/origin/*
@jryans
jryans / index.html
Created May 13, 2015 13:59
Cross Process Viewport // source http://jsbin.com/humogo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cross Process Viewport</title>
<script id="shader-vs" type="x-shader/x-vertex">
uniform mat4 uMatrixProj;
uniform vec4 uLayerRects[4];
uniform mat4 uLayerTransform;
uniform vec4 uRenderTargetOffset;
export CC="clang"
export CXX="clang++"
export CFLAGS="-fcolor-diagnostics"
export CXXFLAGS="-fcolor-diagnostics"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox-debug
mk_add_options AUTOCONF=autoconf213
ac_add_options --enable-application=browser
@jryans
jryans / devtools-39.md
Last active August 29, 2015 14:18
Drag Elements, Console History, and more – Firefox Developer Edition 39

Quite a few big new features, improvements, and bug fixes made their way into Firefox Developer Edition 39. Update your Firefox [Developer Edition][dev-ed], or [Nightly][nightly] builds to try them out!

Inspector

The [Inspector][inspector] now allows you to move elements around via [drag and drop][dnd]. Click and hold on an element and then drag it to where you want it to go. This feature was added by contributor Mahdi Dibaiee.

[![Drag and Drop][dnd-poster]][dnd-video]

Back in [Firefox 33][fx33], a tooltip was added to the rule view to allow editing curves for cubic bezier CSS animations. In Developer Edition 39, we've greatly enhanced the tooltip's UX by adding various standard curves you can try right away, as well as cleaned up the overall appearance. This was added by new contributor John Giannakos.

@jryans
jryans / wifi-hacks.md
Last active August 29, 2015 14:18
WiFi Debugging for Firefox OS

I am excited to announce that we're now shipping WiFi debugging for Firefox OS! It's available in [Firefox OS 3.0 / master][fxos-build] with [Firefox Nightly][desktop-nightly] on desktop.

WiFi debugging allows [WebIDE][webide] to connect to your Firefox OS device via your local WiFi network instead of a USB cable.

The connection experience is generally more straightforward (especially after connecting to a device the first time) than with USB and also more convenient to use since you're no longer tied down by a cable.

@jryans
jryans / .mozconfig
Last active August 29, 2015 14:10
Local Development with the Simulator
export CC="clang"
export CXX="clang++"
export CFLAGS="-fcolor-diagnostics"
export CXXFLAGS="-fcolor-diagnostics"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox-release-b2g-desktop
mk_add_options AUTOCONF=autoconf213
ac_add_options --enable-application=b2g