Skip to content

Instantly share code, notes, and snippets.

View oshanz's full-sized avatar
🌴
On vacation

Oshan Wisumperuma oshanz

🌴
On vacation
View GitHub Profile
@oshanz
oshanz / candidates want most when job
Created September 7, 2018 10:59
candidates want most when job
Good work-life balance
Professional growth and learning
Compensation
Smart people/team
Interesting problems to solve
Company culture
Preferred tech stack
Impact on product
Company mission
Proximity to where you live
@oshanz
oshanz / Startup Metrics
Created August 29, 2018 12:49
Startup Metrics
https://a16z.com/2015/09/23/16-more-metrics/
#1 Total Addressable Market (TAM)
#2 ARR ≠ Annual Run Rate - annual recurring revenue, NOT annual run rate
#3 Average Revenue Per User (ARPU)
#4 Gross Margins
#5 Sell-Through Rate & Inventory Turns
#6 Network Effects
#7 Virality
#8 Economies of Scale (“Scale”)
@oshanz
oshanz / business srilanka
Last active September 3, 2018 05:50
business srilanka
http://www.lankabusinessonline.com/
https://lmd.lk/
http://www.ft.lk/
https://srilankabusiness.com/
http://srilankaeconomicforum.org/
@oshanz
oshanz / rx transactions
Last active August 28, 2018 12:24
rx transactions
Migrant Blocked Account (MBA)?
Non-Resident Blocked Account (NRBA)?
If you have a Non-Resident Foreign Currency (NRFC), Resident Non-National Foreign Currency (RNNFC),
Resident Foreign Currency (RFC) accounts or an account maintained in the O -Shore Banking Unit (OBU),
you can obtain an EFTC and you can use such EFTC for any transaction permitted under the accounts.
Foreign Exchange Earners’ Account (FEEA)
From your MBA, you can deposit your allowances into a Non-Resident Foreign Currency (NRFC)
@oshanz
oshanz / Designing the User Interface
Created August 27, 2018 08:03
Designing the User Interface
# Designing the User Interface: Strategies for Effective Human-computer ...
time to learn
speed of interaction
rate of errors made by user
retention over time
subjective satisfaction
* 8 golden rules
1. strive for consoistency
@oshanz
oshanz / motive employees
Created August 19, 2018 19:48
motive employees
https://www.simplypsychology.org/maslow.html
Lead by example
Compliment the team on their successes
Be calm when handling corrections
Listen to your employees
Do the job nobody wants to do
carrot will only serve as an incentive if:
@oshanz
oshanz / self-actualizers
Created August 19, 2018 15:38
self-actualizers
Characteristics of self-actualizers:
1. They perceive reality efficiently and can tolerate uncertainty;
2. Accept themselves and others for what they are;
3. Spontaneous in thought and action;
4. Problem-centered (not self-centered);
@oshanz
oshanz / product engineering
Last active August 27, 2018 06:27
product engineering
https://benediktdeicke.com/saas-guidebook/
checklist
* GDPR
* Audit Logs
* Role Based Action Control
* Change Management : a/b test, notice
* security:
Communication, data, Preventative ddos/api rate limit/monitoring/Automation/ Enforce Two Factor Auth/owsap/user control
@oshanz
oshanz / new relic grape
Last active August 9, 2018 08:33
new relic grape
New Relic does not fully support grape at this time. What you're seeing by default is that we do time the entire grape transaction, starting in middleware and ending at the grape endpoint. However, the Ruby agent just lists that entire time under one transaction name right now (the Grape::Middleware::Formatter#call that you're seeing). To break apart that grape transaction into the various endpoints, you should use set_transaction_name to provide a unique name for the transaction for each endpoint.
To get more details on the methods within call, you'll need to use add_method_tracer, but not by adding a method tracer to call itself, rather by using add_method_tracer on other methods within call. You'll generally want to set this up in an initializer or other setup phase of your application, before any transactions happen, while set_transaction_name is called during the transaction (e.g. in the controller).
https://www.rubydoc.info/github/newrelic/rpm/NewRelic%2FAgent%2FMethodTracer%2FClassMethods:add_method
@oshanz
oshanz / personalaties
Created August 9, 2018 04:44
personalaties
control freak