- Be highly organized
- Suggest solutions that I didn’t think about—be proactive and anticipate my needs
- Treat me as an expert in all subject matter
- Mistakes erode my trust, so be accurate and thorough
- Provide detailed explanations, I’m comfortable with lots of detail
- Value good arguments over authorities, the source is irrelevant
- Consider new technologies and contrarian ideas, not just the conventional wisdom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default ` | |
type RootQuery { | |
user(id = String, email = String) User | |
} | |
` | |
export const user = async (_, { id, email }, ctx) => { | |
return { | |
id: 'this', | |
name: 'that' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const query = ` | |
query ($workspaceSlug: String, $sourceSlug: String) { | |
segment { | |
workspace(slug: $workspaceSlug) { | |
id | |
} | |
source(slug: $sourceSlug) { | |
id | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('oh snap!') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var redux = require('redux') | |
console.log('we made it!') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var haikuStudio = require('haiku-studio'); | |
var haiku = haikuStudio.generate(); | |
alert(haiku) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class While { | |
private static final long iterations = 1000000000; | |
private static long count = 0; | |
public static void main(String[] args) { | |
long start = System.currentTimeMillis(); | |
while (count < iterations * 10) { | |
count++; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dragDrop = require('drag-drop') | |
var createReadStream = require('filereader-stream') | |
var zlib = require('zlib') | |
dragDrop('#dropTarget', function (files, pos) { | |
createReadStream(files[0]) | |
.pipe(zlib.createGzip()) | |
.on('data', function (data) { | |
console.log(data) | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jsonStream = jsonObjectWriteStream() | |
fs.createReadStream(‘path/to/description’) | |
.pipe(jsonStream.createAttributeWriteStream(’description’)) | |
jsonStream.pipe(process.stdout) | |
// {“description”: “whatever was inside the path/to/description file”} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme", | |
"create_window_at_startup": false, | |
"font_face": "Droid Sans Mono", | |
"font_size": 19.0, | |
"highlight_line": true, | |
"remember_full_screen": true, | |
"scroll_past_end": true, |
NewerOlder