Skip to content

Instantly share code, notes, and snippets.

🏝

Ivan Vanderbyl ivanvanderbyl

🏝
Block or report user

Report or block ivanvanderbyl

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 puppeteer-example-1.js
const puppeteer = require('puppeteer');
const { expect } = require('chai');
describe('Duck Duck Go search using basic Puppeteer', () => {
let browser;
let page;
beforeEach(async () => {
browser = await puppeteer.launch();
View adams-heroku-values.md

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

View keybase.md

Keybase proof

I hereby claim:

  • I am ivanvanderbyl on github.
  • I am ivanv (https://keybase.io/ivanv) on keybase.
  • I have a public key ASDf1Vtq-6SuyfK0r2sI1Y5fP1PRMOWNjY3b98baCAXEfgo

To claim this, I am signing this object:

View exmaple.ts
import {step} from '@flood/element'
export default () => {
step("Step 1", async browser => {
await browser.visit("youtube.com")
})
}
View gist:2474a83fa08d8266045b6773d90c0fb0
Verifying my Blockstack ID is secured with the address 1AJmdGXeHwfRT4REir9tq69Xz7YpmpLTsw https://explorer.blockstack.org/address/1AJmdGXeHwfRT4REir9tq69Xz7YpmpLTsw
View components.my-component.js
import Ember from 'ember';
export default Ember.Component.extend({
name: "Ivan"
});
@ivanvanderbyl
ivanvanderbyl / news.json
Last active May 22, 2017
HackerNews news item example
View news.json
[
{
"id": 14390728,
"title": "Apple Monitoring Blood Glucose",
"points": 88,
"user": "zdw",
"time": 1495422454,
"time_ago": "5 hours ago",
"comments_count": 45,
"type": "link",
View booking.rb
class Booking < ActiveRecord::Model
after_create :set_booking_number
private
def set_booking_number
return if booking_number
update_column(:booking_number, SecureRandom.hex[0..5].upcase)
rescue ActiveRecord::RecordNotUnique
@ivanvanderbyl
ivanvanderbyl / largest-triangle-three-bucket-sample.js
Created Dec 10, 2016
Downsamples a dataset to threshold while maintaining the visual characteristics
View largest-triangle-three-bucket-sample.js
/*
* The MIT License
Copyright (c) 2013 by Sveinn Steinarsson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
You can’t perform that action at this time.