I hereby claim:
- I am nitstorm on github.
- I am nitinvenkatesh (https://keybase.io/nitinvenkatesh) on keybase.
- I have a public key whose fingerprint is 6684 0047 BA04 7A6E C68E 47F4 E556 E8D6 3805 4D64
To claim this, I am signing this object:
| Summaries: | |
| vnstat -m #monthly summaries | |
| vnstat -d #daily summaries (last 30 days) | |
| vnstat -h #hourly summaries (last 24 hours) | |
| Other views: | |
| vnstat -w #weekly comparison (last 7 days, last week, current week) | |
| vnstat -t #top 10 entries ever | |
| Live View: |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title> </title> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
| def roundoff(number): | |
| ##Converts the float to int | |
| whole = int(number) | |
| ##Gets the fractal part | |
| frac=number-whole | |
| ##Checks the fractal, greater than or equal to 0.5, rounds it up to the next higher digit, else returns the same digit | |
| if frac >= 0.5: | |
| return whole+1 |
| hours = int(input("Please enter number of hours: ")) | |
| i = 1 | |
| total = 0 | |
| #Looping through total number of hours | |
| while i<= hours: | |
| # Setting iterator for minutes | |
| j = 1 | |
| # Looping through each minute for current hour |
| x = int(input("Enter x upper limit:")) | |
| y = int(input("Enter y upper limit:")) | |
| total = 0 | |
| i,j = 1,1 | |
| while i <= y: | |
| while j <= x: | |
| total = total + (x*y) | |
| j += 1 | |
| i += 1 | |
| print total |
| """ | |
| The Introduction to Statistics Wrapper provided by Udacity for their course - https://www.udacity.com/course/st101 | |
| """ | |
| from matplotlib import pyplot | |
| from numpy import arange | |
| import bisect | |
| def scatterplot(x,y): | |
| pyplot.plot(x,y,'b.') |
| # Takes filename of the format YYYY-MM-DD-title-of-post.md as input. | |
| # Adds the line - redirect_from: "blog/YYYY/MM/DD/title-of-post.html" as the second line of the file | |
| # | |
| #!/bin/bash | |
| for file in $@; do | |
| file_stripped="$( cut -d '.' -f 1 <<< "$file" )" | |
| IFS='-' read -r year month date title <<< "$file_stripped" | |
| redirect_url="/blog/$year/$month/$date/$title.html" | |
| insert_text="redirect_from: \"$redirect_url\"" |
I hereby claim:
To claim this, I am signing this object: