Skip to content

Instantly share code, notes, and snippets.

View despo's full-sized avatar

Despo Pentara despo

View GitHub Profile
despo / github-actions-sample.yml
Created October 29, 2020 17:13
Gtihub actions for Rails 6
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see:
name: Ruby
despo /
Created September 26, 2014 15:31


There is something to be learned from a rainstorm. When meeting with a sudden shower, you try not to get wet and run quickly along the road. But doing such things as passing under the eaves of houses, you still get wet. When you are resolved from the beginning, you will not be perplexed, though you will still get the same soaking. This understanding extends to everything.

# ==> Configuration for any authentication mechanism
# Configure which keys are used when authenticating a user. The default is
# just :email. You can configure it to use [:username, :subdomain], so for
# authenticating a user, both parameters are required. Remember that those
# parameters are used only when authenticating and not when retrieving from
# session. If you need permissions, you should implement that in a before filter.
# You can also supply a hash where the value is a boolean determining whether
# or not authentication should be aborted when the value is not present.
config.authentication_keys = [ :login ]
despo / deferred_garbage_collection.rb
Created December 13, 2013 11:31
Deferred Garbage Collection
class DeferredGarbageCollection
@@last_gc_run =
def self.start
despo / ada_lovelace.jpg
Last active December 29, 2015 13:49
despo / anita-bottom.jpg
Last active December 28, 2015 21:38
despo / cobol.jpg
Last active December 28, 2015 04:39
despo / ada_lovelace.jpg
Last active December 27, 2015 12:49 - HTML & CSS - Lesson 3
despo / rails_cl_basics.png
Last active December 16, 2015 12:08
image center
Not much to see here