Skip to content

Instantly share code, notes, and snippets.

View gotche's full-sized avatar

Jose A. Martin gotche

  • Berlin, Germany
View GitHub Profile
@mei-li
mei-li / uniencode.py
Created March 22, 2013 15:13
uniencode is a script to transform arbitrary encoding and files with mixed encodings to utf-8 or other encodings
"""
uniencode is a script to transform arbitrary encoding and files with mixed encodings to utf-8 or other encodings
GET Help:
python uniencode.py -h
# In WINDOWS binary files are not excluded, but usually detecting encoding confidence is low so they are ignored
"""
import os, sys
@juanje
juanje / Description.md
Last active November 30, 2023 19:29
Limit Chrome from eating all the memory and CPU

I was tired of Chrome eating all my laptop resources so I decided to put some limit to it with cgroup.

As I was using Ubuntu 12.04 with support for cgroup, I installed the package cgroup-bin and add the following group to the file /etc/cgconfig.conf:

group browsers {
    cpu {
#       Set the relative share of CPU resources equal to 25%
        cpu.shares = "256";
 }
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