# SENDER
gpg --import recipient-pubkey.gpg # import key to your keyring
# gpg: key ______: public key "Your friend's name <your.friend@yourfriendsdomain.com>" imported
# gpg: Total number processed: 1
# gpg: imported: 1
gpg --output myfile.txt.gpg --encrypt --recipient your.friend@yourfriendsdomain.com myfile.txt #encrypt message
I hereby claim:
- I am vecerek on github.
- I am attilavecerek (https://keybase.io/attilavecerek) on keybase.
- I have a public key ASB_a_6qgrSgryIN0rb0hGhjATFuh_NPuFwljrDtQn4wsQo
To claim this, I am signing this object:
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
rollback: true | |
prepare: | |
- git diff-index --quiet HEAD -- | |
- git checkout master | |
- git pull --rebase | |
- '[[ -f .nvmrc ]] && ./node_modules/.bin/check-node-version --node $(cat .nvmrc)' | |
- yarn install | |
test: |
(Just an opinion of a simple guy who's not even a front-end developer himself)
- Learn to use a Unix (Linux/Mac) terminal.
- I have some development experience on both Windows and Unix-based machines and as far as I can tell, it is much easier to start learning programming on a Unix-based OS such as Ubuntu or Mac OS. Installation of the necessary tools is much easier as there are also much more resources to be found on the web, making it easier to onboard for a non-expert user.
- In the next step, I will assume a Unix-based OS usage. Sorry for all Windows lovers :(
- Here's a course on learning to use the command line.
- Learn HTML5.
- w3schools is always a nice to know resource.
- Udemy for those who have
- Memoization
- Parametric memoization (using the special Hash constructor):
Hash.new {|h, key| h[key] = some_calculated_value }
class City < ActiveRecord::Base def self.top_cities(order_by) @top_cities ||= Hash.new do |h, key|
h[key] = where(top_city: true).order(key).to_a