Skip to content

Instantly share code, notes, and snippets.

View cranzy's full-sized avatar

Dimitar Dimitrov cranzy

View GitHub Profile
@cranzy
cranzy / birds.json
Created November 12, 2012 08:47
birds
{
"name" : "Colibri"
, "color" : "MALE"
}
const limitRecipeTitle = (title, limit=17) => {
const newTitle = [];
if (title.length > limit) {
title.split(' ').reduce((acc, cur) => {
if (acc + cur.length <= limit) {
newTitle.push(cur);
}
return acc + cur.length;
}, 0);
return `${newTitle.join(' ')} ...`;
@cranzy
cranzy / settings.json
Created June 12, 2019 11:59 — forked from robbdimitrov/keybindings.json
Visual Studio Code settings
{
"files.exclude": {
"**/__pycache__": true,
"**/.DS_Store": true,
"**/.git": true,
"**/*.js": {
"when": "$(basename).ts"
},
"**/*.map": {
"when": "$(basename).map"
/**
* Author Dimitar Dimitrov - https://github.com/cranzy
*/
const assert = require('assert')
const url = require('url')
const rp = require('request-promise')
describe('object operations', () => {
let data

Keybase proof

I hereby claim:

  • I am cranzy on github.
  • I am cranzy (https://keybase.io/cranzy) on keybase.
  • I have a public key ASAnppb-TcfIjRu2duSq5yWINEbLuthT1sR1k5DQ519wwgo

To claim this, I am signing this object:

@cranzy
cranzy / keybase.md
Last active April 29, 2021 00:43
keybase.md

Keybase proof

I hereby claim:

  • I am cranzy on github.
  • I am cranzy (https://keybase.io/cranzy) on keybase.
  • I have a public key ASAnppb-TcfIjRu2duSq5yWINEbLuthT1sR1k5DQ519wwgo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am cranzy on github.
* I am cranzy (https://keybase.io/cranzy) on keybase.
* I have a public key ASAnppb-TcfIjRu2duSq5yWINEbLuthT1sR1k5DQ519wwgo
To claim this, I am signing this object: