Skip to content

Instantly share code, notes, and snippets.

View amerkay's full-sized avatar

Amer amerkay

  • ValueHeads Not-for-profit
View GitHub Profile
@amerkay
amerkay / pocket-explore-sort-filter-bookmarklet.js
Created February 12, 2020 14:45
Pocket Explore Bookmarklet, filter last 5 years & sort the results by saved count
// TO USE:
// Copy/Paste to https://www.minifier.org/ then paste into a bookmark
javascript: (function() {
// ==== set these to your desirable limits ==//
var days_ago_limit = 5 * 365;
var min_saves = 50;
//===========================================//
var listContainer = $("#best_of_list ul.portal_list");
@amerkay
amerkay / lean-startup-guide.md
Last active October 30, 2024 19:47
The Beginner’s Guide to Lean Startup

The Beginner’s Guide to Lean Startup

Originally published on March 29, 2016 By Danny Holtschke. It was taken down, so I revived it from the Web Archives.

Note that some links, starting with web.archive.org, may not load properly, but should be readable.

The Beginner’s Guide to Lean Startup is your starting point to avoiding the biggest startup founder mistake — ever. Building something nobody wants.

Lean

# These are copy pastable instructions to installing Ubuntu with no keyboard.
# Had this problem installing Ubuntu 18.04 and 19.04 on Microsoft Surface Laptop 2.
# You can drag the text between windows, too.
# Choose offline option and no 3rd party installation. You can update later.
# YOU CANNOT use full disk encryption, as keyboard won't work while booting up!
# EASIEST WAY: Upload this file to https://pastebin.com/, then you can use the
# "Universal Access" keyboard works for wifi password entry. You can then install
// Testing QRE1113 connected to Teensy 3.2.
// V3.3, GND, PIN15
//
// Source: http://elimelecsarduinoprojects.blogspot.com/2013/06/measure-rpms-arduino.html
#include "Arduino.h"
// Using ROS instead of Serial
#include "ros.h"
#include "ros/time.h"
@amerkay
amerkay / edits_to_template-tags.php
Created November 1, 2017 14:41
Fix Google Webmaster tools "Missing: updated" error by updating function dazzling_posted_on()
$time_string = sprintf( $time_string,
esc_attr( get_the_date('c') ),
esc_html( date("F j, Y", get_the_date('U')) ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( date("F j, Y", get_the_modified_date( 'U' )) )
);
@amerkay
amerkay / angular-js.sublime-completions
Last active August 29, 2015 14:04
AngularJS Snippets Code Completion $ fix
// Source project https://github.com/maxhoffmann/angular-snippets/
// With ST3, it removes $. This fixes that by double escaping $ with \\$
{
"scope": "source.js",
"completions":
[
// ========== ng ==========
// function