Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
| # Atom Cheatsheet. | |
| # Project Key Bindings. | |
| - 'cmd-shift-p': open the command palette. | |
| - 'cmd-p' or 'cmd-t': open the fuzzy finder to find a file. | |
| - 'cmd-b': look for a file that is already open. | |
| - 'cmd-shift-b': search the list of files modified and untracked in your project repository. | |
| - 'ctrl-0': open and focus the the tree view. |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.
In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
| library(data.table) | |
| whatsapp_raw = readLines('~/Downloads/WhatsApp Chat with PhDelphia.txt') | |
| #have to deal with multi-line messages :\ | |
| idx = grepl('^1?[0-9]/', whatsapp_raw) | |
| idxrle = rle(idx) | |
| bdpts = cumsum(idxrle$lengths) | |
| for (ii in seq_len(length(idxrle$values))) { | |
| if (!idxrle$values[ii]) { |
The PATH is an important concept when working on the command line. It's a list
of directories that tell your operating system where to look for programs, so
that you can just write script instead of /home/me/bin/script or
C:\Users\Me\bin\script. But different operating systems have different ways to
add a new directory to it: