NDJSON is a convenient format for storing or streaming structured data that may be processed one record at a time.
- Each line is a valid JSON value
- Line separator is ‘\n’
cat test.json | jq -c '.[]' > testNDJSON.json
NDJSON is a convenient format for storing or streaming structured data that may be processed one record at a time.
cat test.json | jq -c '.[]' > testNDJSON.json
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
// This is a quick hack to be able to see Gantt-like Timelines of gitlab build pipelines. | |
// It makes it easier to diagnose the running time of the pipelines and understand resource usage. | |
// Ideally, gitlab would directly provide such a view in its frontend. | |
google.charts.load('current', {'packages':['gantt']}); |
img[src$='#center'] | |
{ | |
display: block; | |
margin: 0.7rem auto; /* you can replace the vertical '0.7rem' by | |
whatever floats your boat, but keep the | |
horizontal 'auto' for this to work */ | |
/* whatever else styles you fancy here */ | |
} | |
img[src$='#floatleft'] |
/* | |
https://webapps.stackexchange.com/questions/100820/how-do-i-invite-all-team-members-to-a-new-slack-channel#answer-104062 | |
Instructions: Just browse to the appropriate channel and paste | |
this script (below) into your Chrome/Firefox dev console and hit enter. | |
Then wait for the script to run until it completes. | |
It might take time as there is a limit to how many users may be invited at once. | |
The script will loop until all team members are invited. | |
*/ | |
var foundAny=false; | |
function selectAllByLetter(remainingLetters) { |
Installation
npm install -g http-server
API Console unfortunately is not available on NPM. See its README for installation instructions.
You might have to run grunt
after installation. Grunt opens a web page, just close it.
Run:
base | |
* simplecov | |
* rspec | |
* capybara | |
quality | |
* checker | |
* rails_best_practices | |
* jslint | |
* coffeelint |
bundle exec cane --no-doc --gte "path/to/coverage/covered_percent,99" --lte "path/to/coverage/missed_lines,28" |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
## Rails 3.2.0 (January 20, 2012) ## | |
* Upgrade mail version to 2.4.0 *ML* | |
* Remove Old ActionMailer API *Josh Kalderimis* |