Keybase proof
I hereby claim:
- I am kp666 on github.
- I am kp666 (https://keybase.io/kp666) on keybase.
- I have a public key ASBhjlhuJvSrL9eBqSeOCrswCVQP_YaR4wZSkXyJw9z4AQo
To claim this, I am signing this object:
// Compound interest | |
// Compound interest increases as a certain percentage | |
// of the principal each year. This gives us the formula | |
const compoundInterest = ({principal, ratePercentage, time}) => { | |
return principal * ((1 + ratePercentage/100) ** time); | |
}; | |
const initialAmount =({finalAmount,ratePercentage, time })=> { | |
return finalAmount/((1 + ratePercentage/100) ** time); |
require 'ox' | |
xml = %{ | |
<top name="sample"> | |
<middle name="second"> | |
<bottom name="third">Rock \u266A bottom</bottom> | |
</middle> | |
</top> | |
} |
require 'ox' | |
xml = %{ | |
<top name="sample"> | |
<middle name="second"> | |
<bottom name="third">Rock \u0003 bottom</bottom> | |
</middle> | |
</top> | |
} |
udp://public.popcorn-tracker.org:6969/announce | |
http://104.28.1.30:8080/announce | |
http://104.28.16.69/announce | |
http://107.150.14.110:6969/announce | |
http://109.121.134.121:1337/announce |
udp://public.popcorn-tracker.org:6969/announce | |
http://104.28.1.30:8080/announce | |
http://104.28.16.69/announce | |
http://107.150.14.110:6969/announce | |
http://109.121.134.121:1337/announce |
app.post('/login', function (req, res, next) { | |
passport.use(new GoogleStrategy({ | |
clientID: process.env.CLIENT_ID, | |
clientSecret: process.env.CLIENT_SECRET, | |
callbackURL: "http://localhost:3000/auth/google/dashboard", | |
userProfileURL: "https://www.googleapis.com/oauth2/v3/userinfo" | |
}, | |
function(accessToken, refreshToken, profile, cb) { | |
if(profile._json.hd === "nitc.ac.in"){ | |
User.findOrCreate({ googleId: profile.id ,displayName:profile.displayName,email:profile.emails[0].value}, function (err, user) { |
app.post('/login', function (req, res, next) { | |
passport.use(new GoogleStrategy({ | |
clientID: process.env.CLIENT_ID, | |
clientSecret: process.env.CLIENT_SECRET, | |
callbackURL: "http://localhost:3000/auth/google/dashboard", | |
userProfileURL: "https://www.googleapis.com/oauth2/v3/userinfo" | |
}, | |
function(accessToken, refreshToken, profile, cb) { | |
if(profile._json.hd === "nitc.ac.in"){ | |
User.findOrCreate({ googleId: profile.id ,displayName:profile.displayName,email:profile.emails[0].value}, function (err, user) { |
I hereby claim:
To claim this, I am signing this object:
require 'gosu' | |
class Tutorial < Gosu::Window | |
def initialize(board_width, board_height, pattern_file) | |
@board_width = board_width | |
@board_height = board_height | |
@columns = board_width / 12 | |
@rows = board_height / 12 | |
super @board_width, @board_height, update_interval: 100 |
Paris | 1 | 2 |
---|