Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mofle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
mofle
12y ago
Not true at all. A lot of effort went into this. It's a carefully picked curation of the best modules, not the most popular ones. Thanks for this useful comment though.
212.
▲
Generate sparklines ▁▂▃▅▂▇
(github.com)
2 points
by
mofle
12y ago
|
1 comments
213.
▲
by
mofle
12y ago
One thing I miss from most note apps is the ability to tag notes with just `#tag` wherever in a note. Clicking it should bring me to the tag view.
214.
▲
A curated list of delightful Node.js packages and resources
(github.com)
1 points
by
mofle
12y ago
|
0 comments
215.
▲
by
mofle
12y ago
That's correct. Chrome is practically versionless.
216.
▲
by
mofle
12y ago
Because a compile step is annoying when it's not strictly needed. In the browser you usually have some kind of build system for concatenation and minifying anyways.
217.
▲
by
mofle
12y ago
In Node.js you don't want a compile step. In the browser however that would probably be a better solution indeed.
218.
▲
by
mofle
12y ago
The next version of JavaScript does too: http://www.2ality.com/2011/09/quasi-literals.html
219.
▲
by
mofle
12y ago
Yeah, pretty much, but in Node we wrap repetitive things in modules, as they're super cheap. Your snippet is also missing some things like indentation stripping, error handling and browser support.
220.
▲
by
mofle
12y ago
The following browsers return comments: - Latest Chrome - Firefox >=17 - Safari >=4 - Opera >=9 - Internet Explorer >=6 From: https://github.com/sindresorhus/multiline#compatibility
221.
▲
by
mofle
12y ago
You can use the `/*@preserve` directive. See: https://github.com/sindresorhus/multiline#minification
222.
▲
by
mofle
12y ago
It's mainly intended for use in Node.js, but I've documented how to use it with a minifier for the front-end: https://github.com/sindresorhus/multiline#minification
223.
▲
Multiline strings in JavaScript
(github.com)
98 points
by
mofle
12y ago
|
68 comments
224.
▲
by
mofle
12y ago
You can read more about the device sync solution BrowserSync here: http://browsersync.io/ As for keeping devices awake, that was actually recently discussed at specifiction: http://discourse.specifiction.org/
225.
▲
by
mofle
12y ago
If it's just cleaning up CSS you're after, I would use UnCSS. Checkout grunt-uncss task or gulp-uncss to hook it up to your build process. We don't currently document using the tooling independent of the kit, but you should b
226.
▲
by
mofle
12y ago
There's a Chrome extension [0] and userscript [1] that removes the login wall and nagging. [0]: https://github.com/sindresorhus/quora-unblocker [1]: https://github.com/sindresorhus/quora-unblo
227.
▲
by
mofle
12y ago
Added a tip about that: https://github.com/sindresorhus/trash/blob/master/readme.md#...
228.
▲
by
mofle
12y ago
> you can do almost the same thing by using `mv` and predefined directory. Not really. The mv command isn't cross-platform and moving to trash is not just about moving the file to a "trash" directory. On all OSes you'
229.
▲
We'd lose our security certificate if we allowed pasting
(twitter.com)
217 points
by
mofle
12y ago
|
220 comments
230.
▲
by
mofle
13y ago
It already has plugins (150+) for the most common tasks: http://gratimax.github.io/search-gulp-plugins/
231.
▲
Negative Array Index in JavaScript
(github.com)
2 points
by
mofle
13y ago
|
0 comments
232.
▲
by
mofle
13y ago
I wrote a Chrome [1] extension and UserScript [2] which does this automagically: [1]: https://github.com/sindresorhus/quora-unblocker [2]: https://github.com/sindresorhus/quora-unblocker-userscript
233.
▲
Terminal string styling done right
(github.com)
1 points
by
mofle
13y ago
|
0 comments
234.
▲
by
mofle
13y ago
This isn't at all constructive and you're severely misinformed. This is Yeoman: https://github.com/yeoman/
235.
▲
by
mofle
13y ago
There's a lot of duplicate tweets and retweets of the original. Filter out the duplicates.
236.
▲
by
mofle
13y ago
Latest - 5.0.2
237.
▲
by
mofle
13y ago
Some time back I created my own ZSH prompt as I wanted something fast and minimal, where most others were too feature rich. It's also a good base if you want to create your own. https://github.com/sindresorhus/pure
238.
▲
How not to `rm` yourself
(plus.google.com)
1 points
by
mofle
14y ago
|
0 comments
239.
▲
by
mofle
14y ago
Have you considered making it clear that it's not maintained anymore? Add [not maintained] to the repo description or something.
240.
▲
by
mofle
14y ago
Issues 1.0 had voting, but it was removed in Issues 2.0
More ›