Count lines in files with wc
cat *.csv | wc -l
Count lines in files with find and wc
find . -type f -name '*.csv' -exec wc -l {} +
These are the Kickstarter Engineering and Data role definitions for both teams.
| from . import app | |
| from flask.ext.sqlalchemy import get_debug_queries | |
| if app.debug: | |
| app.after_request(sql_debug) | |
| def sql_debug(response): | |
| queries = list(get_debug_queries()) | |
| query_str = '' |
| /* | |
| Copyright 2011 Martin Hawksey | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
| import csv | |
| from github2.client import Github | |
| # api settings for github | |
| git_username = 'your_git_username' | |
| git_api_token = 'your_git_api_token' | |
| git_repo = 'username/repo_name' | |
| # import all issues as this story type | |
| pivotal_story_type = 'Bug' |
| /** | |
| * Actively wait for an element present and displayed up to specTimeoutMs | |
| * ignoring useless webdriver errors like StaleElementError. | |
| * | |
| * Usage: | |
| * Add `require('./waitReady.js');` in your onPrepare block or file. | |
| * | |
| * @example | |
| * expect($('.some-html-class').waitReady()).toBeTruthy(); | |
| */ |
A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.
I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.
I'd love comments and suggestions about any of these.
I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.
I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".
| curl -XPUT 'http://localhost:9200/us/user/1?pretty=1' -d ' | |
| { | |
| "email" : "[email protected]", | |
| "name" : "John Smith", | |
| "username" : "@john" | |
| } | |
| ' | |
| curl -XPUT 'http://localhost:9200/gb/user/2?pretty=1' -d ' | |
| { |
| git branch -D $(git branch --merged) |