Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
| Ctrl+C | copy current line (if no selection) |
| Ctrl+X | cut current line (if no selection) |
| Ctrl+⇧+K | delete line |
| Ctrl+↩ | insert line after |
| data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script> |
| { | |
| "caret_extra_bottom": 2, | |
| "caret_extra_top": 2, | |
| "caret_extra_width": 4, | |
| "caret_style": "solid", | |
| "color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme", | |
| "font_size": 13, | |
| "highlight_line": true, | |
| "highlight_modified_tabs": true, | |
| "ignored_packages": |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-sm-6 col-md-4 col-md-offset-4"> | |
| <h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1> | |
| <div class="account-wall"> | |
| <img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" | |
| alt=""> | |
| <form class="form-signin"> | |
| <input type="text" class="form-control" placeholder="Email" required autofocus> | |
| <input type="password" class="form-control" placeholder="Password" required> |
Many of my friends have shared their reading lists of all the books they read in 2014 (thank you!) -- this gave me some excellent ideas of books to read for 2015.
So I have decided to share my reading list as well, and the list of books I plan to read in 2015. If you have any ideas for additional books, I'd love them (especially in the topic areas of business, finance, nonfiction).
Favorite books I read in 2014:
A list of resources that aspiring Rails developers can use to learn Rails and other relevant technologies. This list includes some resources that I see recommended all over the web--not all of which I like--as well as some hidden gems that I've found valuable. This list is intended to supplement my blog post here.
| // strip-units required by spread mixin | |
| // http://stackoverflow.com/questions/12328259/how-do-you-strip-the-unit-from-any-number-in-sass | |
| @function strip-units($number) | |
| @return $number / ($number * 0 + 1) | |
| // pow and sqrt required by ease function | |
| // adapted from https://github.com/at-import/Sassy-math/blob/master/sass/math.scss | |
| @function pow($base, $exponent) | |
| $value: $base |
SSH into Root
$ ssh [email protected]
Change Root Password
| FROM ruby:2.4-alpine | |
| ENV PATH /root/.yarn/bin:$PATH | |
| RUN apk update && apk upgrade && \ | |
| apk add --no-cache bash git openssh build-base nodejs tzdata | |
| RUN apk update \ | |
| && apk add curl bash binutils tar gnupg \ | |
| && rm -rf /var/cache/apk/* \ |
| FROM ruby:2.3.1 | |
| # Install dependencies | |
| RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs | |
| # Set an environment variable where the Rails app is installed to inside of Docker image: | |
| ENV RAILS_ROOT /var/www/app_name | |
| RUN mkdir -p $RAILS_ROOT | |
| # Set working directory, where the commands will be ran: |