Skip to content

Instantly share code, notes, and snippets.

On vacation

Oshan Wisumperuma oshanz

On vacation
Block or report user

Report or block oshanz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
oshanz / how to contribute to ruby
Created Jan 20, 2020
how to contribute to ruby
View how to contribute to ruby
* learn make, autoconf
* docker makes life easy + vscode dev container
FROM ubuntu:latest
# tools you need to build MRI
oshanz / High performance tuning of Nginx
Created Jan 13, 2020 — forked from perusio/gist:2154235
High performance tuning of Nginx
View High performance tuning of Nginx
## From a post on the ML, apropos this:
## For sysctl.conf
net.ipv4.tcp_slow_start_after_idle = 0
echo "2048 64512" > /proc/sys/net/ipv4/ip_local_port_range
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
oshanz / delayed_job@.service
Created Jan 6, 2020 — forked from stevensona/delayed_job@.service
systemd unit file for running ruby/rails delayed_job as service
View delayed_job@.service
# Keep delayed job workers running using systemd on ubuntu
# Usage
# Start "sudo systemctl start delayed_job@{0..3}" to start 4 worker instances
# Enable "sudo systemctl enable delayed_job@{0..3}" to enable 4 worker instances
# Restart "sudo systemctl restart delayed_job@{0..3}" to restart 4 worker instances
# Disable "sudo systemctl disable delayed_job@{0..3}" to disable 4 worker instances
# Stop "sudo systemctl stop delayed_job@{0..3}" to stop 4 worker instances
Description=Delayed Job Worker %i
oshanz / html admin templates
Last active Jan 5, 2020
html admin templates
View html admin templates
html - small form elements
oshanz / research
Last active Nov 17, 2019
CVD atherosclerosis
View research
# overall
# plaque
# Inflammation
View parallax effect
+ menu
+ timeline
+ effects
oshanz / parallel request
Last active Jun 29, 2019
ruby http clients
View parallel request
* lib curl
* reviews
oshanz / cluster
Created Jun 28, 2019
Elixir Phoenix deployment
View cluster
View Michael Seibel’s questions
Can you answer Michael Seibel’s questions about your startup?
These are questions Michael Seibel mentioned that he likes to ask startups as part of his 2018 “Building Product” Startup School presentation.
What problem are you solving?
What problem will be solved at the end of what you are doing? What do we expect the result to be?
Can you state the problem clearly in two sentences?
Have you experienced the problem yourself?
oshanz / debug
Last active Jun 20, 2019
View debug
You can’t perform that action at this time.