I hereby claim:
- I am jhnlsn on github.
- I am jhnlsn (https://keybase.io/jhnlsn) on keybase.
- I have a public key ASBCrWOFcmh4gB-RjW109pvemBBVVXQXV_aezWmS80DJCAo
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| from decimal import Decimal, ROUND_HALF_EVEN | |
| def calculate_daily_accrual_monthly_compound(principal, annual_rate, time_years): | |
| """ | |
| Calculate interest with daily accrual and monthly compounding. | |
| Uses banker's rounding (ROUND_HALF_EVEN) for all calculations. | |
| Args: |
| find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + |
| class Zoo { | |
| lion = 'Randy' | |
| #password = 'meat' | |
| } | |
| const bronx = new Zoo() | |
| console.log(bronx); // Zoo { lion: 'Randy' } |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/aws/aws-sdk-go/aws/endpoints" | |
| ) | |
| func main() { | |
| const a = [1,2,3,4,5]; | |
| const aCloned = [...a]; | |
| aCloned.push(7); | |
| console.log(a); | |
| console.log(aCloned); | |
| ref = {big: 'name'}; | |
| skills = ["javascript"] |
| ➜ docker-healthchecks git:(master) docker run --rm -it -p 8181:8000 jhnlsn/healthchecks:latest | |
| usermod: no changes | |
| Added "SECRET_KEY" (value "AriaZmtcEHPDAu5PSl/iU5lf4M8k/w1v7AoRZW+V9I4=") to settings.py | |
| Added "DEBUG" (value "False") to settings.py | |
| Added "HOST" (value "0.0.0.0") to settings.py | |
| Found 'compress' tags in: | |
| /healthchecks/templates/front/channels.html | |
| /healthchecks/templates/integrations/add_discord.html | |
| /healthchecks/templates/accounts/change_email_done.html | |
| /healthchecks/templates/accounts/set_password.html |
I hereby claim:
To claim this, I am signing this object:
| var done = _.after(3, function(){ | |
| console.log('all done'); | |
| }) | |
| $.get('url', function(){ | |
| done(); | |
| }); | |
| $.get('url', function(){ | |
| done(); |
| -r file #Check if file is readable. | |
| -w file #Check if file is writable. | |
| -x file #Check if we have execute access to file. | |
| -f file #Check if file is an ordinary file (not a directory, a device file, etc.) | |
| -s file #Check if file has size greater than 0. | |
| -d file #Check if file is a directory. | |
| -e file #Check if file exists. Is true even if file is a directory. | |
| if [ -f file ] ; then | |
| # File exists |