- Switch cleanser to CeraVe Gentle Foaming Cleanser.
- Cleanse in the PM as well as AM.
- Switch moisturizer to CeraVe Moisturizing Cream (the white and blue tub)
- Moisturize in the PM, and cut down on the morning cleanses to only when it feels greasy.
- Add an AHA toner in between cleansing and moisturizing (when you feel you need it, and only in the PM) (Suggestion: Paula's Choice Hydralight Healthy Skin Refreshing Toner)
- Add a sunscreen that you like in the AM. (Suggestion: Neutrogena Ultra Sheer Dry-Touch Sunblock)
- Very shortly after (or before even), add a good makeup and sunscreen remover in the PM. (Suggestion: Paula's Choice Gentle Touch Makeup Remover)
| " Toggle comments as invisible | |
| nmap <Leader>Ci :hi! link Comment Ignore<CR> | |
| nmap <Leader>Cc :hi! link Comment Comment<CR> |
| (def encode | |
| [reflector rotor-l rotor-m rotor-r letter] | |
| (->> (letter-to-index letter) | |
| (rotor-translate-left (rotate rotor-r 1)) | |
| (rotor-translate-left rotor-m) | |
| (rotor-translate-left rotor-l) | |
| (reflect reflector) | |
| (rotor-translate-right rotor-l) | |
| (rotor-translate-right rotor-m) | |
| (rotor-translate-right (rotate rotor-r 1) |
| module BCrypt | |
| class Password | |
| def initialize(password_hash) | |
| @password_hash = password_hash | |
| end | |
| def self.create(password) | |
| @password_hash = encrypt(password) | |
| end | |
| # id | user_id | |
| class Profile | |
| belongs_to :user | |
| # is actually: | |
| # def user | |
| # User.find_by(id: self.user_id) | |
| # end | |
| end |
The point of this game is there is no point of this game. It's to pass the time while the Executive VP of Deutsche Bank finds his point somewhere amongst his default corporate jargon, and the managers in the room somehow, despite nine hands and four flashlights, still fail to find their asses.
The rules of this game are relatively simple: you are trying to sneak into corporate conversation sports references, war references, old-timey sayings and made-up technical jargon.
- Points are tracked on a per-meeting basis, while leaderboards are typically weekly - do whatever makes sense for your organization.
- Scores are as follows:
- Sports reference: 1 pt
- War reference: 2 pts
| # users | |
| # id | name | email | |
| class User < ActiveRecord::Base | |
| has_many :friendships | |
| has_many :friends, through: :friendships | |
| def friends | |
| User.join(:friendships).where('friendships.user_id = ? OR friendships.friend_id = ?', self.id, self.id) | |
| end |
This is an exploration of effective schema design for a "free time" appointment scheduler. It makes one strong assumption:
Your database is PostgreSQL 9.0+.
Given that, the result is not too bad - seems effective in this particular use-case. I don't really want to translate this into ActiveRecord though. *sigh*
Run this using:
$ psql -f 4_runner.sql| source "https://rubygems.org" | |
| gem 'octokit' |