This is a list of the most helpful keyboard commands I use within top.
h
shows help on interactive commands. Also see the top manual page
q
to quit the program.
This is a list of the most helpful keyboard commands I use within top.
h
shows help on interactive commands. Also see the top manual page
q
to quit the program.
function MYMODULE_template_preprocess_default_variables_alter(&$variables) { | |
$current_path = \Drupal::service('path.current')->getPath(); | |
$variables['current_path'] = $current_path; | |
} |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
syntax on | |
filetype plugin indent on | |
"Get the 2-space YAML as the default when hit carriage return after the colon | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab | |
set is hlsearch ai ic scs | |
nnoremap <esc><esc> :nohls<cr> | |
"https://vim.fandom.com/wiki/Moving_lines_up_or_down |
#!/usr/bin/env bash | |
# | |
# DRUSH WRAPPER | |
# | |
# A wrapper script which launches the Drush that is in your project's /vendor | |
# directory. Copy it to the root of your project and edit as desired. | |
# You may rename this script to 'drush', if doing so does not cause a conflict | |
# (e.g. with a folder __ROOT__/drush). | |
# | |
# Below are options which you might want to add. More info at |
From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:
There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.
That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.
// Related Q&A https://webapps.stackexchange.com/q/116736/88163 | |
function GoTo() { | |
var spreadsheet = SpreadsheetApp.getActive(); | |
var Ui = SpreadsheetApp.getUi(); | |
var buttons = Ui.ButtonSet.OK_CANCEL; | |
var response = Ui.prompt('Go to', 'Where do you want to go?', buttons); | |
if(response.getSelectedButton() === Ui.Button.OK){ | |
var address = response.getResponseText(); | |
spreadsheet.getRange(address).activateAsCurrentCell(); | |
} |