Skip to content

Instantly share code, notes, and snippets.

View superKalo's full-sized avatar

Kaloyan Kosev superKalo

View GitHub Profile
@Yavor-Ivanov
Yavor-Ivanov / gist:be35b05ea008a59cf1a6
Last active October 8, 2015 13:38
Devlabs - The book club

Как да употребяваме trello board-a за книги безопасно?

guide

В trello board-а има няколко отделни списъка с карти. Всеки отделен списък отговаря на определен жанр от книги, а всяка карта в списъка е отделна книга:

пример

Всяка отделна карта (книга) може да има няколко статуса: свободна, заета, желана, физическо копие, електронно копие.

@dimitardanailov
dimitardanailov / 01.crazy-towns.md
Last active June 9, 2016 12:05
Front-end Lightning Talks: Object Oriented CSS Framework and Crazy Towns

Crazy Towns

It’s all about the key selector

What determines the impact of a selector is its key selector. The key selector is a very important thing in the world of CSS as browsers read selectors right to left. This means the key selector is the last one before the opening {, for example:

.header ul      { /* ‘ul’ is the key selector */ }
.ul li a        { /* ‘a’ is the key selector */ }
p:last-child { /* ‘:last-child’ is the key selector */ }
@HristoEftimov
HristoEftimov / NativeScript_Bottom_Nav_templ.jsx
Last active May 19, 2017 07:20
NativeScript: scrollable application with a fixed bottom navigation with nice icon buttons
<ActionBar title="All cocktails"></ActionBar>
<GridLayout rows="*,60">
<ScrollView row="0">
<WrapLayout orientation="horizontal">
<GridLayout *ngFor="let item of data" width="50%" height="150">
<Image
src="~/images/{{ item.imageURL }}"
stretch="aspectFill"
row="1"
></Image>
@budparr
budparr / jekyll-layout-post
Last active March 20, 2018 15:02
Basic Jekyll layout for posts
---
layout: default
---
<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<article class="post-content">
@IvayloAtanasov
IvayloAtanasov / Laravel-Angular-Setup.md
Last active March 12, 2019 15:42
Laravel 5.2 + Angular 2.0 setup guide

#This guide will walk you through the steps needed to setup an empty project using the 2 frameworks into a single repository.

##You will need to have installed:

apache: >= 2.4.9
php: >= 5.5.12
composer: >= 1.2.1
node: >= 4.1.0
npm: >= 3.0.0
git: >= 1.9.5
@chris-jamieson
chris-jamieson / functional-spec.md
Created March 9, 2017 16:06
Writing functional specification guidelines

Once you are ready to hire a developer, what should you do to mitigate execution / build risk?

  1. Writing a good functional specification is key to getting the build phase of this project right. It's not easy to do but it's mostly just about thinking hard and writing out all the boring details of your desired outcome. The best guide for this is Joel Spolsky (recently sold Trello for $425M). He wrote a 4 part series on this, starting here, and also has an example (real) spec on his website here (the PDF link is broken, this is the real one)

  2. Before you start on a spec, trim down your functionality to the absolute bare minimum - and be brutal with it! Imagine you had to complete it in one day, or imagine it was only a single feature... take away everything that isn't fundamental

@boydc7
boydc7 / gitdefaults.txt
Last active November 2, 2023 17:47
Reasonable git defaults
# push relevant tags when pushing branches
git config --global push.followTags true
# Make git pull do a --recurse-submodules flag on each pull
git config --global submodule.recurse true
# Make git push do an on-demand try of pushing sub-modules before pushing main repos
git config --global push.recurseSubmodules on-demand
# push only current branch on a push
@prcaen
prcaen / compress_image.sh
Created May 13, 2015 12:42
Compress all PNG or JPG files of a folder thanks to TinyPNG or TinyJPG API
#!/bin/bash
# Install
# This script need a API key from TinyPNG. See this page: https://tinypng.com/developers
# It also need jq library, which can be install thanks to: `brew install jq`
# Usage
# cd to your folder. This script will compress all PNG or JPG files recursively.
API_KEY="CHANGE_ME"
@Phlow
Phlow / for-loop-sorted-collection
Last active April 30, 2024 13:30
This Liquid loop for Jekyll sorts a collection by date in reverse order
{% comment %}
*
* This loop loops through a collection called `collection_name`
* and sorts it by the front matter variable `date` and than filters
* the collection with `reverse` in reverse order
*
* To make it work you first have to assign the data to a new string
* called `sorted`.
*
{% endcomment %}
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