Skip to content

Instantly share code, notes, and snippets.

🐳
Working from home

Oshan Wisumperuma oshanz

🐳
Working from home
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
oshanz / rate limit and throttle
Created Mar 22, 2019
rate limit and throttle
View rate limit and throttle
https://stackoverflow.com/questions/12358396/rate-limit-outgoing-phpcurl-requests
https://stackoverflow.com/questions/49994598/best-way-to-apply-rate-limit-throttling-on-multi-processes-api-caller-using-ce
https://en.wikipedia.org/wiki/Leaky_bucket
https://en.wikipedia.org/wiki/Generic_cell_rate_algorithm
https://github.com/mantacode/aws-cache
https://github.com/rwz/redis-gcra
https://github.com/vesess/fine_tune
https://github.com/shishirsharma/Unthrottle
View software license
https://keygen.sh/
https://hackernoon.com/finding-issues-and-guessing-solutions-43e6b7ed823e
https://paddle.com/
https://github.com/glebd/cocoafob/
https://fastspring.com/
https://gumroad.com/
https://stackoverflow.com/questions/599837/how-to-generate-and-validate-a-software-license-key/52019368#52019368
View community work
https://www.codetriage.com/?language=Elixir
https://up-for-grabs.net/#/filters?tags=986%2C988
https://github.com/corylanou/oss-helpwanted
http://issuehub.io/?label%5B%5D=good+first+issue&language=elixir
https://24pullrequests.com/dashboard
@oshanz
oshanz / workflow engines
Last active Feb 16, 2019
workflow engines
View workflow engines
https://github.com/apache/airflow
http://toil.ucsc-cgl.org/
https://spiffworkflow.readthedocs.io/en/latest/
https://github.com/viewflow/viewflow/
https://github.com/meirwah/awesome-workflow-engines
https://open-stand.org/
@oshanz
oshanz / my first functional ruby.rb
Last active Jan 31, 2019
my first functional ruby
View my first functional ruby.rb
def reorder_numbers
reload_relations
return if pages.empty?
# this solution has a time complexity of O(log n)
get_missing_number = lambda { |source, min = 0, max = (source.length - 1)|
if min >= max
return false if min + 1 == source.max
return min + 1
View ruby-index-of-array-elements.rb
require 'benchmark/ips'
my_array = [100, 101, 100, 102, 100, 100, 101, 100, 250, 251, 253, 260, 250, 200, 100, 100, 100, 100, 100, 100, 100, 100, 100, 120]
index_and_repetitions = lambda { |my_array|
stk = {}
previous = my_array[0]
last_index = 0
stk[last_index] = 1
my_array.drop(0).each_with_index do |item, index|
View functional ruby.txt
users_url = URI('https://jsonplaceholder.typicode.com/users')
calls = -> method_name, *args {
-> object {
object.public_send(method_name, *args)
}
}
gets_value = -> key_name { calls[:[], key_name] }
email_ends_with = -> what {
gets_value['email'] >> calls[:end_with?, what]
}
@oshanz
oshanz / Game Development
Last active Nov 19, 2018
Game Development
View Game Development
http://www.gamasutra.com/view/feature/131472/game_design__theory_and_practice_.php
http://www.gamasutra.com/view/feature/132341/the_13_basic_principles_of_.php
http://www.paranoidproductions.com/gamedesign/about.html
https://github.com/hzoo/awesome-gametalks
https://github.com/ellisonleao/magictools#must-see
https://www.learning-theories.com/dopamine-games-motivation.html
https://github.com/petehouston/awesome-gamedev-series
View elevator pitch.txt
1. whats he working for
2. demostration
3. creepy, awkward, weird - time span
4. how you quite
* your story; how you get
* what are you looking for
* evaluation
* brand
View samz-pm
http://people.brunel.ac.uk/~mastjjb/jeb/or/netpert.html
https://pmstudycircle.com/2013/08/pert-program-evaluation-and-review-technique/
http://www.pondiuni.edu.in/sites/default/files/Part%20II%20Operations%20Management.pdf
file:///Users/oshanw/Downloads/B&T(part7).pdf
https://www.uky.edu/~dsianita/300/projmgt.html
You can’t perform that action at this time.