Skip to content

Instantly share code, notes, and snippets.

View xujyan's full-sized avatar
🚢
☁️ @apple

Jiang Yan Xu xujyan

🚢
☁️ @apple
View GitHub Profile
### Keybase proof
I hereby claim:
* I am xujyan on github.
* I am xujyan (https://keybase.io/xujyan) on keybase.
* I have a public key whose fingerprint is 7D3F BE68 0FF3 25AA E96D 9844 6741 CBC0 D7A2 A618
To claim this, I am signing this object:
@xujyan
xujyan / keybase.md
Created August 25, 2016 23:00
Keybase

Keybase proof

I hereby claim:

  • I am xujyan on github.
  • I am xujyan (https://keybase.io/xujyan) on keybase.
  • I have a public key ASAk2J_AqFYABP8zf0IBkmMZYajybEyCprpNfvVGjwDn8go

To claim this, I am signing this object:

2015-01-24 13:37:29 -0800
/opt/twitter/opt/scons/bin/scons
PREFIX=/opt/twitter/Cellar/subversion/1.8.11/libexec/serf
GSSAPI=/usr
CC=/usr/bin/clang
CFLAGS=-Os -w -pipe -march=native -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
LINKFLAGS=-L/opt/twitter/opt/openssl/lib -L/opt/twitter/opt/sqlite/lib -L/opt/twitter/opt/readline/lib -L/opt/twitter/lib -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
OPENSSL=/opt/twitter/opt/openssl
APR=/opt/twitter/opt/apr
@xujyan
xujyan / gist:d2bdd2052fac489fb1a9
Last active August 29, 2015 14:05
Framework Rate Limiting
layout
documentation

Framework Rate Limiting

Framework rate limiting is a feature introduced in Mesos 0.20.0.

What is Framework Rate Limiting

In a multi-framework environment, this feature aims to protect the throughput of high-SLA (e.g., production, service) frameworks by having the master throttle messages from other (e.g., development, batch) frameworks.

@xujyan
xujyan / 0_reuse_code.js
Created June 1, 2014 17:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/* canonusr.c - user canonicalization support
* Rob Siemborski
* $Id: canonusr.c,v 1.22 2011/09/01 16:33:42 mel Exp $
*/
/*
* Copyright (c) 1998-2003 Carnegie Mellon University. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@xujyan
xujyan / POST mediarecords req.json
Created November 3, 2012 17:05
iDigBio Sample Metadata
{
"idigbio:providerId":"valdosta.edu/vsc/media/VSC0005274.jpg",
"idigbio:data": {
"xmpRights:webStatement":"http://creativecommons.org/licenses/by/3.0/",
"idigbio:localpath":"/tmp/test_images_l/VSC0005274.jpg",
"xmpRights:usageTerms":"CC BY",
"ac:licenseLogoURL":"http://mirrors.creativecommons.org/presskit/buttons/80x15/png/by.png",
"idigbio:mediaGUID":"valdosta.edu/vsc/media/VSC0005274.jpg",
"idigbio:mediaType":"image/jpeg",
"idigbio:relationships": {
@xujyan
xujyan / Terms.md
Created October 31, 2012 18:53
iDigBio Terms of Use
@xujyan
xujyan / bootstrap-plugins.txt
Created May 8, 2012 16:55 — forked from mklabs/bootstrap-plugins.txt
h5bp + twitter bootstrap integration
bootstrap-tooltip.js
bootstrap-popover.js
bootstrap-alert.js
bootstrap-button.js
bootstrap-carousel.js
bootstrap-collapse.js
bootstrap-dropdown.js
bootstrap-modal.js
bootstrap-scrollspy.js
bootstrap-tab.js