A Pen by Anand Thakker on CodePen.
This file contains 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 trumpet = require('../'); | |
var through = require('through2'); | |
var fs = require('fs'); | |
trumpetBigassFile(process.stdout, "******* success with stdout!"); | |
trumpetBigassFile(fs.createWriteStream('temp.html'), "******* success with file!"); | |
function trumpetBigassFile(writeStream, message) { |
I hereby claim:
- I am anandthakker on github.
- I am anandthakker (https://keybase.io/anandthakker) on keybase.
- I have a public key whose fingerprint is 7F94 DE91 B40A 4E3D B43B 6886 F288 30EB 768D D2ED
To claim this, I am signing this object:
This file contains 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
module.exports = | |
class MyPackageView | |
atom.deserializers.add(this) | |
constructor: (@data) -> #property assigned | |
serialize: -> { deserializer: 'MyPackageView', data: @data } | |
@deserialize: ({data}) -> new MyPackageView(data) |
This file contains 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
@mixin min-width-query($size) { | |
@media screen and (min-width: $size) { @content; } | |
} | |
/** | |
* Media query shorthand. Usage: | |
* | |
* @include mq([condition1], [condition2], [condition3], [...]) { | |
* // the stuff that should happen under the given conditions. | |
* } |
This file contains 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
// Usage: node index.js "twitter search string" | |
var request = require('request'); | |
// Grab a bearer token using application-only auth | |
// (doc: https://dev.twitter.com/oauth/application-only) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#!/usr/bin/env node | |
/** | |
* Convert the given omnivore-compatible vector source into an mbtiles | |
* file of vector tiles. | |
*/ | |
var path = require('path') | |
var multi = require('multimeter')(process) | |
var tilelive = require('tilelive') |
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.
OlderNewer