Skip to content

Instantly share code, notes, and snippets.

View BirgitPohl's full-sized avatar
🎯
Focusing on impactful projects

Birgit Pohl BirgitPohl

🎯
Focusing on impactful projects
View GitHub Profile
@heslei
heslei / Fibonacci.java
Created March 6, 2012 03:11
Fibonacci recursive, cache and iterable
public class Fibonacci {
public int fibonacciDe(int n){
if(n <= 0){
return 0;
}
if (n == 1){
return 1;
}
anonymous
anonymous / gulpfile.js
Created May 8, 2014 16:17
var gulp = require('gulp');
var sass = require('gulp-sass');
var prefix = require('gulp-autoprefixer');
var browserSync = require('browser-sync');
var reload = browserSync.reload;
var nodemon = require('gulp-nodemon');
gulp.task('sass', function () {
gulp.src('scss/*.scss')
.pipe(sass({outputStyle: 'compressed'}, {errLogToConsole: true}))
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active May 16, 2024 13:16
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
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