Skip to content

Instantly share code, notes, and snippets.

{
"actions":[
{
"method":"create",
"type":"elements",
"data":{
"pageId":1,
"type":"link",
"styles":{
"fontFamily":"sans-serif",
@k88hudson
k88hudson / gist:16e0b6a720f33e1f7c3e
Last active August 29, 2015 14:23
Webmaker Android intl QA

Sign up

  • open the app (or log out from the 'MAKE' tab, if already signed in)
  • make sure you are on the screen that says the equivalent of "Join Webmaker" on the button at the bottom
  • tap the "Terms" and "Privacy Policy" links at the very bottom
  • enter an invalid username by adding a @ in the Username field, check the error message you see
  • change to a valid username
  • start typing an email address, check the message you see
  • start typing a password, check the message you see
  • press 'Join Webmaker'
// Version 1 - Store raw css values
// Pros:
// - more backwards compatible
// - more human readable
// - more easily used by external libraries/apps/etc.
// Cons:
// - parsing function is more complex than build function
// - requires two-way transform
// - state differs in different components (editor v.s. parent component)
// - impossible to directly link state
WARNING in manual.bundle.js from UglifyJs
Dropping unused variable anchor [./~/joi/~/moment/moment.js:2291,0]
Dropping unused variable daysAdjust [./~/joi/~/moment/moment.js:2291,0]
Condition always true [./~/joi/~/moment/moment.js:3030,5]
Dropping unreachable code [./~/joi/~/moment/moment.js:3041,0]
Side effects in initialization of unused variable proxyGettersAndSetters [./~/joi/~/moment/moment.js:96,0]
Side effects in initialization of unused variable shim [./~/imports-loader?shim=es5-shim/es5-shim&sham=es5-shim/es5-sham!./~/react/react.js:2,0]
Side effects in initialization of unused variable sham [./~/imports-loader?shim=es5-shim/es5-shim&sham=es5-shim/es5-sham!./~/react/react.js:3,0]
Side effects in initialization of unused variable Path [./~/joi/lib/any.js:3,0]
Dropping unused variable internals [./~/joi/lib/ref.js:8,0]
@k88hudson
k88hudson / oscontributorquestions.md
Last active August 29, 2015 14:12
Questions: OS Contributors

Questions: Open Source Projects + Contributors

New contributors/contributor culture

  • What constitutes a great ticket for first-time contributors?
  • How do you work towards creating positive environment for contributors on your own projects?
  • What common practises in OS are counter-productive to finding new contributors?
  • What makes a good CONTRIBUTE.md/“get started” documentation?
  • Where do you look for new contributors?

Practical issues

var curMsg = results[0];
var curMsgBody = curMsg.Body;
var msgId = curMsg.ReceiptHandle;
console.log("Do we have a body" + curMsg.Body);
console.log("The message is " + results);
irc.sendMessage('#mofo-deovps', curMsgBody, function (err) {
if (err) {
// Handle err - do you want it to throw? return an http response? up to you
return;
}
@k88hudson
k88hudson / keybase.md
Created October 29, 2014 04:33
keybase.md

Keybase proof

I hereby claim:

  • I am k88hudson on github.
  • I am k88hudson (https://keybase.io/k88hudson) on keybase.
  • I have a public key whose fingerprint is BB5F 1818 BA5D D940 2B53 FCFC A2ED D9B5 3F56 B998

To claim this, I am signing this object:

function say(textOrOptions) {
if (typeof textOrOptions === 'string') {
// it's a string
} else {
// it's something else
}
}
function say(one, two) {
var text;
.carousel-control .icon-prev {
&::before {
.icon(@arrow-left);
}
background-color: @navy;
opacity: 0.9;
height: 30px;
width: 30px;
border-radius: 100%;