I hereby claim:
- I am kamuelafranco on github.
- I am kamuela (https://keybase.io/kamuela) on keybase.
- I have a public key ASBSF3pt-QT2l7Ca4LfccUy5L0VgfvL3FCwQI_N6VNIy6wo
To claim this, I am signing this object:
const isFactorion = (number) => { | |
const stringifiedNumber = String(number); | |
let total = 0; | |
for (let stringDigit of stringifiedNumber) { | |
const numericalDigit = Number.parseInt(stringDigit); | |
total += singleDigitFactorial(numericalDigit); | |
} | |
if (number === total) { | |
return true; | |
} |
#! /usr/bin/env python3 | |
import csv | |
import random | |
import sys | |
try: | |
csv_filename = sys.argv[1] | |
except IndexError: | |
print('USAGE: python shuffler <filename>') | |
sys.exit(0) |
I hereby claim:
To claim this, I am signing this object:
import React from 'react'; | |
import { | |
Form, | |
FormInput, | |
FileDragAndDrop, | |
FileUpload, | |
FormField, | |
Row, | |
Col, | |
Container, |
var Express = require('express'); | |
var path = require('path'); | |
var app = Express(); | |
var fs = require('fs'); | |
console.log(__dirname); | |
app.use('/cssFiles', express.static(__dirname + '/assets')); | |
app.get('/', function(req, res) { |
export default { | |
isAllowed() { | |
return false; | |
} | |
}; |
document.addEventListener('DOMContentLoaded', function () { | |
var extraPadding = 65; | |
var rmBottom = document.getElementsByClassName('rm-bottom')[0]; | |
var stickSide = document.querySelector('div#stick_side'); | |
stickSide.style.paddingBottom = String(rmBottom.clientHeight+extraPadding) + "px"; | |
}); |
class Url < ActiveRecord::Base | |
def local | |
@local ||= (0...3).map { (65 + rand(26)).chr }.join | |
end | |
end |
<script> | |
// <body onload="loadOrbit()"> has to be incorporated in some way | |
function loadOrbit() { | |
$('#featured').orbit(); | |
$('#featured_placeholder').css('display', 'none'); | |
} | |
</script> |