Times change to 5:30 after daylight savings
- Race Pace Key Highway, easy ride
- Lutherville Bike Shop, faster ride
- Race Pace Ellicot City, faster ride
| create role myapp with createdb login password 'password1' |
| // strong password validation | |
| jQuery.validator.addMethod("strongPassword", function(value, element) { | |
| return value.match(/[a-z]/) | |
| && value.match(/[A-Z]/) | |
| && value.match(/[1-9]/) | |
| && value.match(/[^0-9a-zA-Z]/) | |
| && value.length >= 8; | |
| }, "Password must be 8 characters long, contain at least one lowercase character (a-z), one uppercase character (A-Z), at least one digit (0-9), and at least one special character."); |
| intercom_hash = Base64.encode64( | |
| OpenSSL::HMAC.digest( | |
| OpenSSL::Digest::Digest.new('sha256'), | |
| IntercomRails.config.api_secret, | |
| the_user_id_if_being_sent_otherwise_users_email_address | |
| ) | |
| ).strip() |
| Table.select("field1, created_at::timestamp::date").group("field1, created_at::timestamp::date") |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="background.js"></script> | |
| </head> | |
| <body> | |
| <textarea id="sandbox"></textarea> | |
| </body> |
| # WINDOWS: Add domain user and put them in Domain Admins group | |
| net user username password /ADD /DOMAIN | |
| net group "Domain Admins" username /ADD /DOMAIN | |
| # WINDOWS: Add local user and put them local Administrators group | |
| net user username password /ADD | |
| net localgroup Administrators username /ADD | |
| # LINUX: Add a new user to linux and put them in the wheel group | |
| useradd -G wheel username |
I'm assuming you're on Linux or a Mac. If you aren't - Google is your friend. Fortunately there's a ton of documentation out there so you shouldn't have too much trouble setting things up.
| psql -c "COPY tablename TO stdout DELIMITER ',' CSV HEADER" datasbasename -U username -h hostname -W > filename.csv |