Skip to content

Instantly share code, notes, and snippets.

View stevepeak's full-sized avatar

Steve Peak stevepeak

View GitHub Profile
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
@stevepeak
stevepeak / comment.md
Created May 5, 2015 01:46
Example pull request comment on Codecov

[Current coverage][1] is 57.89%

Merging develop into master will change coverage by +5.26% by [dd79892][1]

@@            master     develop   diff @@
==========================================
  Files            4           2     -2
 Stmts 19 19 
@stevepeak
stevepeak / payload.json
Last active August 29, 2015 14:19
Codecov Webhook Payload - https://codecov.io
{
"commitid": "c074a88f83ce23c9498755f1b95b2d9a07bf0cf2",
"ci": null,
"coverage": "50.0",
"timestamp": "2015-04-21 00:54:47.853879",
"build_url": null,
"default_branch": "master",
"private": false,
"repo": "example-java",
"owner": "codecov",
@stevepeak
stevepeak / .travis.yml
Last active August 29, 2015 14:19
Submit reports to Codecov
after_success:
- bash <(curl -s https://codecov.io/bash)
before_install:
- sudo pip install codecov
after_success:
- codecov
@stevepeak
stevepeak / guide.md
Last active October 25, 2018 03:26
How to use Github Issue

Milestone Policy

Name must start with a expected version tag ex: v1.4.6. An optional small description is allowed ex: v1.4.6 Custom Title the only these characters are allowed in the title [A-Za-z\d\s\-\:]

Open Milestone

  • tagged version is not deployed to customer
  • pre-release may be available

Open and Complete

  • available in Pre Release for further testing
@stevepeak
stevepeak / user.sublime-settings
Last active August 29, 2015 14:00
sublime user settings
{
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_size": 10.0,
"ignored_packages":
[
"Vintage",
"RestructuredText"
],
"shift_tab_unindent": true,
@stevepeak
stevepeak / laws.md
Last active December 20, 2015 00:19
Your Time is not My Time - An epic journey through time and a mans quest to understand his place in it.

Your Time is not My Time

An epic journey through time and a mans quest to understand his place in it.

Chapter 1 - The Laws of Time

  • timezone does not effect unix_timestamps
SET time_zone='-05:00';
SELECT unix_timestamp();` # this
SET time_zone='-06:00';
@stevepeak
stevepeak / .gitignore
Last active December 17, 2015 00:28
Create and mange a pip project
*.pyc
.DS_Store
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
@stevepeak
stevepeak / callerid-broadcast.py
Last active December 16, 2015 18:50
Fakes caller id broadcasts
# Fake caller id broadcast
MYPORT = 3520
import sys, time, random, datetime
from socket import *
s = socket(AF_INET, SOCK_DGRAM)
s.bind(('', 0))
s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1)