I hereby claim:
- I am oguzcan-yavuz on github.
- I am oguzcan_yavuz (https://keybase.io/oguzcan_yavuz) on keybase.
- I have a public key ASBSxnNkCgQMt6kZWhm-FHZjMDfym1N1Y5mqh-aq3UYLmgo
To claim this, I am signing this object:
| // https://stackoverflow.com/questions/12740659/downloading-images-with-node-js | |
| const fs = require('fs'), | |
| request = require('request') | |
| function download(uri, filename, callback){ | |
| request(uri).pipe(fs.createWriteStream(filename)).on('close', callback) | |
| } | |
| download('https://www.google.com/images/srpr/logo3w.png', 'google.png', function(){ |
| import { map, cond, gte, lte, flip, always } from 'ramda' | |
| import scores from './scores.json' | |
| const flippedGTE = flip(gte) | |
| const flippedLTE = flip(lte) | |
| const rater = cond([ | |
| [ flippedGTE(800), always(`excellent!`) ], | |
| [ flippedGTE(700), always(`good`) ], |
| package main | |
| import "fmt" | |
| func square(x int) int { | |
| return x * x | |
| } | |
| func calculateSum(numberCount int, sum int) int { | |
| if numberCount == 0 { |
| # You need to copy the document to the clipboard before running this. The result will be copied to the clipboard. | |
| pbpaste | perl -ne "s/(.*)( \w+\()(.*)(\))(.*)/\1\3\5/g; print;" | pbcopy |
I hereby claim:
To claim this, I am signing this object: