Skip to content

Instantly share code, notes, and snippets.

View despo's full-sized avatar
🌈

Despo Pentara despo

🌈
View GitHub Profile
# The videos can be found at http://programme.scottishrubyconference.com/schedule
# Usage: ruby download_scotruby_videos.rb /path/to/directory
page = "http://video2012.scotlandonrails.com"
path = ARGV.first || '.'
[
[ "Continuous Delivery - A Better Software Deployment Strategy", "D1_GH_01-Ruby1280_b.mp4" ],
[ "The Rails View: The Junk Drawer Grows Up", "D1_GH_02-Ruby1280_b.mp4" ],
[ "Perfectionists Anonymous", "D1_GH_03-Ruby1280_b.mp4" ],
[ "ElasticSearch, AMQP and Ruby; or how I learned to stop spelunking and love the logs", "D1_GH_04-Ruby1280_b.mp4" ],
@despo
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: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
@despo
despo / retrieve_by_area.sh
Created August 6, 2012 20:50
cyprus-street-names api
curl http://cyprus-street-names.herokuapp.com/area/:area_name -H 'accept: application/json'
@despo
despo / deferred_garbage_collection.rb
Created December 13, 2013 11:31
Deferred Garbage Collection
class DeferredGarbageCollection
DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 15.0).to_f
@@last_gc_run = Time.now
def self.start
GC.disable if DEFERRED_GC_THRESHOLD > 0
end
@despo
despo / ada_lovelace.jpg
Last active December 29, 2015 13:49
advanced-html5
ada_lovelace.jpg
@despo
despo / anita-bottom.jpg
Last active December 28, 2015 21:38
html-lesson-5
anita-bottom.jpg
@despo
despo / cobol.jpg
Last active December 28, 2015 04:39
codebar-html-lesson-4
cobol.jpg
@despo
despo / ada_lovelace.jpg
Last active December 27, 2015 12:49
http://codebar.io - HTML & CSS - Lesson 3
ada_lovelace.jpg
@despo
despo / rails_cl_basics.png
Last active December 16, 2015 12:08
image center
Not much to see here
@despo
despo / the_command_line_is_your_friend.md
Last active December 16, 2015 11:59
Rails Girls London lightning talk - The command line is your friend

Rails Girls London logo Rails Girls London - 19th-20th April 2013

Commandline basics

Basic filestystem structure

.
|____home

| |____despo