I hereby claim:
- I am janbe on github.
- I am jabe (https://keybase.io/jabe) on keybase.
- I have a public key ASCcowdGiqyA0L4qIpJ8WK5RN9BsJqsSy5DP9HaVEE3U1Ao
To claim this, I am signing this object:
# Git pre-commit hook to check all staged files for pry references | |
# | |
# Installation | |
# | |
# ln -s /path/to/pre-commit.sh /path/to/project/.git/hooks/pre-commit | |
# | |
# Based on | |
# | |
# http://www.alexbevi.com/blog/2012/08/23/keeping-pry-breakpoints-out-of-git/ | |
# |
$(function() { | |
addProgressBar = function() { | |
checked = $('.discussion-timeline input:checkbox:checked.task-list-item-checkbox').length | |
total = $('.discussion-timeline .task-list-item-checkbox').length | |
progress = (checked / total) * 100.0 | |
bar = '<div class="discussion-sidebar-item progress">' | |
bar += '<h3 class="discussion-sidebar-heading">Progress</h3>' | |
bar += '<span class="progress-bar">' | |
bar += '<span class="progress" style="width: ' + progress + '%">' | |
bar += ' ' |
#!/usr/bin/python | |
import Adafruit_CharLCD as LCD | |
lcd = LCD.Adafruit_CharLCDPlate() | |
lcd.message('First Line\nSecond Line') | |
lcd.message('New first Line\nNew second Line') |
#!/usr/bin/python | |
import Adafruit_CharLCD as LCD | |
lcd = LCD.Adafruit_CharLCDPlate() | |
lcd.message('First line\nSecond line') | |
lcd.message('New first line\nNew second line') |
I hereby claim:
To claim this, I am signing this object:
AllCops: | |
TargetRubyVersion: 2.4 | |
Exclude: | |
- 'bin/**/*' | |
- 'db/**/*' | |
- 'doc/**/*' | |
- 'vendor/**/*' | |
# Although it is a good idea to documentation at a class level, developers should | |
# not be forced to add a documentation. Because good naming or usefull conventions |
// This is not a complete .eslintrc file, only our selection of rules | |
"rules": { | |
"semi" : 0, | |
"key-spacing" : 0, | |
"jsx-quotes" : [2, "prefer-single"], | |
"max-len" : [2, 120, 2], | |
"object-curly-spacing" : [2, "always"], | |
"no-tabs" : 1, | |
"react/prop-types" : 1, | |
"react/display-name" : 1, |
module.exports = { | |
"rules": { | |
"selector-max-id": 0, | |
"indentation": 2, | |
"block-opening-brace-space-before": "always", | |
"declaration-colon-space-after": "always", | |
"declaration-colon-space-before": "never", | |
"block-opening-brace-newline-after": "always", | |
"block-closing-brace-newline-before": "always", | |
"rule-empty-line-before": ["always", { "except": ["first-nested"], "ignore": ["after-comment"] }], |
<html> | |
<head> | |
<script type='text/javascript' src='assessment.js'></script> | |
</head> | |
<body></body> | |
</html> |