Skip to content

Instantly share code, notes, and snippets.

💭
Learning

Valerio Francescangeli franz899

💭
Learning
Block or report user

Report or block franz899

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View designer.html
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@franz899
franz899 / assign.js
Last active Nov 4, 2016
Lodash vs Ramda vs ES6
View assign.js
'use strict';
var _ = require('lodash');
var R = require('ramda');
var obj1 = {
a:1,
b:1,
}
View keybase.md

Keybase proof

I hereby claim:

  • I am franz899 on github.
  • I am franz899 (https://keybase.io/franz899) on keybase.
  • I have a public key ASAHKCUvBscP1f5IzCHOuWQ-0ReK1kX8EBAsd1FgnMP0vQo

To claim this, I am signing this object:

@franz899
franz899 / generateRandomString.js
Last active Sep 11, 2019
Generate Random String
View generateRandomString.js
function generateRandomString(length) {
var id = "";
for (let i = 0; i < length; i++) {
const r = getRandomNumber();
if (r < 0.5) {
id += getNumberWithinRange(r, 0, 9);
} else {
id += String.fromCharCode(getNumberWithinRange(r, 97, 122));
}
}
You can’t perform that action at this time.