Read: The Linux Command Line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<This is a brain dump. Please forgive any typos> | |
I'd like to share an idea for a RailsGirls followup activity. | |
I noticed that having your stuff deployable and out on the net is a very powerful source of inspiration. | |
For me it makes me keep on working on it, just knowing that other people can see it. | |
One of the stumbling blocks in learning Rails is deployment. It's an advanced topic that is oddly too often taught in intro courses. | |
Forget about teaching deployment. Let's just give the newbs a ready-to-use VPS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PhRUG Celebrity Names | |
Ricky Sta Cruz | |
Byron Bibat | |
Terry Ponce | |
Francis Magsipoc (aka Francis M) | |
Florence Magsipoc | |
Elmer Gaspar | |
Error Fornoles | |
Raymond Tayag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file_prefix = ARGV[0] | |
file_suffix = ARGV[1] | |
start_file_index = ARGV[2].to_i | |
end_file_index = ARGV[3].to_i | |
file_ids = (start_file_index..end_file_index).to_a.reverse | |
file_ids.each do |i| | |
current_file_id = "%02d" % i | |
new_file_id = "%02d" % (i+1) | |
puts "Renaming #{file_prefix}#{current_file_id}#{file_suffix} to #{file_prefix}#{new_file_id}#{file_suffix}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We're building a classifieds site from scratch. | |
We want it to be a REST-ful site. Sketch the sitemap for the most common features of the site: posting ads and viewing ads. | |
We want to anonymously profile our users - OS, browser, screen size, location, etc. How do we do this? How do we collect the data, how do we store the data, and how do we analyze the data? | |
Assuming that we're storing everything on the RDBMS, based on the above requirements, sketch the data model for the site. | |
We want ads to display as fast as possible. We've heard that NoSQL is awesome fast. What NoSQL technology can we employ to improve ad display? How do we do it? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: ruby nginx-requests.rb logfilename 31 Jul 2014 | |
logfilename = ARGV[0] | |
day = ARGV[1] | |
month = ARGV[2] | |
year = ARGV[3] | |
hours = (0..24).to_a | |
hours.each do |hour| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default[:packages] = [ | |
{:name => "dev-php/pecl-memcached", :version => "2.1.0-r1"}, | |
{:name => "dev-php/pecl-apc", :version => "3.1.13"} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Get the Discover URL of a cluster | |
Run from within a node and get the value of `ETCD_DISCOVERY` | |
``` | |
cat /run/systemd/system/etcd.service.d/20-cloudinit.conf | |
``` |
I hereby claim:
- I am radamanthus on github.
- I am radamanthus (https://keybase.io/radamanthus) on keybase.
- I have a public key whose fingerprint is BCD3 0B2B 3733 D620 6463 CB5F 2773 8C4B 60D3 D7FA
To claim this, I am signing this object:
This is a distillation of the lessons from The Complete React Native and Redux Course
The course is still by far the best introduction to React Native
But after going through the course sometimes I need to review some lessons. The online video format is not very conducive for reviews. Too many times I found myself wishing Stephen Girder wrote a companion book. He didn't, so, in the spirit of scratching my itch, I'm writing this. It's not a companion book, but a guide that I can refer to when I need to freshen up on some of the harder topics covered in the course.
Basic project
- add ESLint
- add development dependencies
- use yarn instead of npm
OlderNewer