Software Engineer
Brooklyn, New York
Software developer with over six years of web development experience. Passionate about full stack javascript apps and distributed web technologies.
Full Stack Developer
Jan, 2010 – Current
| Verifying that +hakimelek is my blockchain ID. https://onename.com/hakimelek |
| var customary = function (str) { | |
| var freq = {}; | |
| var stringArray = str.split(''); | |
| for (let i=0; i<stringArray.length; i++) { | |
| let char = stringArray[i]; | |
| if (freq.hasOwnProperty(char)) freq[char]++; | |
| else { | |
| freq[char] = 0; |
| export default class SimplePromise { | |
| constructor () { | |
| this.status = 'pending'; // 3 states pending, resolved, rejected | |
| this.result = null; // initially set to null | |
| this.callbacks = []; | |
| } | |
| then(onResolved, onRejected) { | |
| if (this.status === 'resolved') | |
| return this.resolve(onResolved, onRejected); |
| // You have an array of objects in JavaScript. Each one contains a name (a string) and ranking (a number). | |
| // Write two functions, one to return the objects ordered by ranking and another to return the average ranking. | |
| var order = function (arr) { | |
| return arr.sort(function (a, b) { | |
| if (a.ranking > b.ranking) { | |
| return 1; | |
| } | |
| if (a.ranking < b.ranking) { | |
| return -1; |
| returnDistanceFromVector = function(origin, listOfZipcodes){ | |
| library(geosphere) | |
| library(ggmap) | |
| originCoord = geocode(as.character(origin)) | |
| result = data.frame(Zipcode=numeric(), distance= numeric()) | |
| for(i in 1:length(listOfZipcodes)) | |
| { |
| <script src="script.js"></script> | |
| <div id="now" data-username="hakimelek"></div> |
| import React from 'react'; | |
| import { match, RouterContext, createMemoryHistory } from 'react-router'; | |
| import { renderToString } from 'react-dom/server' | |
| import { ServerStyleSheet } from 'styled-components' | |
| import moment from 'moment'; | |
| import { RoutePolicy } from 'meteor/routepolicy'; | |
| import { withRenderContextEnvironment, InjectData } from 'meteor/vulcan:lib'; |
| Verifying my Blockstack ID is secured with the address 1Mz5PM3Ag4H3V6kEo63zHLKpTx7piuVNk4 https://explorer.blockstack.org/address/1Mz5PM3Ag4H3V6kEo63zHLKpTx7piuVNk4 |
| Array(100) | |
| .fill(0) | |
| .map((a, i) => i+1) | |
| .forEach(num => { | |
| if (num % 3 === 0 && num % 5 === 0) return console.log('CracklePop') | |
| else if (num % 3 === 0) return console.log('Crackle') | |
| else if (num % 5 === 0) return console.log('Pop') | |
| return console.log(num) | |
| }) |