Skip to content

Instantly share code, notes, and snippets.

Avatar
✌️
more code!

Kilian Valkhof Kilian

✌️
more code!
View GitHub Profile
View Pricing Plans Design Checklist
1. Highlight a recommended option,

2. Allow users to switch currency (€/$/£)

3. Allow users to switch pricing monthly/yearly

4. Keep the entire pricing plan area clickable

5. Use slider to calculate how much a user would save

6. Provide free first month for good engagement

7. Prominently highlight testimonials prominently

8. Repeating call to action on top and bottom

9. Sell benefits instead of features

10. Indicate that users can cancel any time

@Vestride
Vestride / encoding-video.md
Last active Sep 22, 2020
Encoding video for the web
View encoding-video.md

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@willurd
willurd / web-servers.md
Last active Sep 28, 2020
Big list of http static server one-liners
View web-servers.md

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@ndarville
ndarville / business-models.md
Last active Sep 28, 2020
Business models based on the compiled list at http://news.ycombinator.com/item?id=4924647. I find the link very hard to browse, so I made a simple version in Markdown instead.
View business-models.md

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@btbytes
btbytes / backup_git_repos.sh
Created Aug 19, 2011
Datestamped backup of git repositories managed by gitosis
View backup_git_repos.sh
#!/bin/bash
#A script to backup all the git repositories managed by gitosis
#and create a date stamped tarball.
#Pradeep Gowda
#2011-08-19
GITOSISADMIN=$HOME/mycompany/gitosis-admin
@Kilian
Kilian / annoying.js
Created Jan 6, 2011
How to be an asshole
View annoying.js
/**
* Annoying.js - How to be an asshole to your users
*
* DO NOT EVER, EVER USE THIS.
*
* Copyright (c) 2011 Kilian Valkhof (kilianvalkhof.com)
* Visit https://gist.github.com/767982 for more information and changelogs.
* Visit http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/ for the introduction and weblog
* Check out https://gist.github.com/942745 if you want to annoy developer instead of visitors
*
@stagas
stagas / how-to-run-apache-and-node.js-together-the-right-way.markdown
Created Dec 24, 2010
How to run Apache and Node.js together (the right way)
View how-to-run-apache-and-node.js-together-the-right-way.markdown

Step 1

Get a VPS that offers 2 or more IP addresses.

Step 2

From the WHM cPanel, find the menu item Service Configuration, select Apache Configuration and then click on Reserved IPs Editor.

Step 3

@mathiasbynens
mathiasbynens / jquery.cookie.js
Created May 13, 2010
Improved jQuery.cookie plugin
View jquery.cookie.js
You can’t perform that action at this time.