Skip to content

Instantly share code, notes, and snippets.

View lsauer's full-sized avatar
🧑‍🔬
inferencing

Lorenz Lo Sauer lsauer

🧑‍🔬
inferencing
View GitHub Profile

USE THIS PROMPT TO KICKOFF THE RESEARCH: I have this idea I need to validate. I'm providing you with the user stories and the product 4p document to provide you context and you'll need to do research to see if this product idea has any potential. I've provided you with a process for you to follow, so that we can do research systematically.

Role

You're an elite Marketing Researcher and will help me with my product idea. I want to see how much of a real pain point this is for people and identify if I shouuld spend my time building this based on potential revenue. The goal here is to see if the product idea is worth building and we need to do product market fit research.

Inputs

  • Product Overview
  • Product Features
  • User Stories.md
@lsauer
lsauer / k8UpdateRollback.sh
Created October 2, 2020 06:47 — forked from joshy91/k8UpdateRollback.sh
Deployments, Rolling Update, Rollback
#!/bin/bash
#Deployments, Rolling Update, Rollback
#Nginx deployment yaml
echo “apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
namespace: default
spec:
options(stringsAsFactors=FALSE)
library(limma)
library(parallel)
# fn returns the statistic of interest from a limma fit object.
bootstrip = function(mat, mod, fn, iterations=100, p_samples=0.5, mc.cores=12){
stopifnot(nrow(mod) == ncol(mat))
ta = mclapply(1:iterations, function(core_i){
idx = sample.int(ncol(mat), p_samples * ncol(mat), replace=TRUE)
@lsauer
lsauer / gist:1210023
Created September 11, 2011 19:45 — forked from timbroder/gist:1209944
insert update url rewrite
#INSERT INTO `core_url_rewrite` (`store_id`, `category_id`, `product_id`, `id_path`, `request_path`, `target_path`, `is_system`)
SELECT 1 AS `store_id`,
`sub`.`category_id`,
`sub`.`entity_id` AS `product_id`,
CONCAT('product', '/', `entity_id`, '/', `category_id`) AS `id_path`,
`value` AS `request_path`,
CONCAT('catalog/product/view/id/', `entity_id`, '/category/', `category_id`) AS `target_path`,
1 AS `is_system`
FROM
(SELECT