title | author | date | output | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
John Minter's Helpful Tips |
J. R. Minter |
Started: 2013-07-16, Last modified: 2020-08-05 |
|
This repository contains the John Minter's useful tips in Rmarkdown format.
-
USB drives
Note to self: Only buy USB-3.1 thumb drives, They are a lot faster than USB 3.0...
see Amazon for a nice drive...
-
Fix for annoying git message:
git config --global pull.rebase false
-
Quotes I Like
Plod. don't sprint. Be fruitful like a tree, not efficient like a machine. Use the gifts God has given you. - Douglas Wilson
The greatest value of a picture is when it forces us to notice what we never expected to see. - J.Tukey
All models are wrong, but some are useful. - G. Box
Make everything as simple as possible but not simpler. - A. Einstein
Your closest collaborator is you, six months from now. You do not respond to email.
- Karl Browman
-
From DataArtisan:
Skills that make you stand out in #DataScience
Being good at
- making presentations
- public speaking
- explaining complex concepts
- listening
- changing plans on short notice
- receiving feedback
First, some quickies:
- Checking Author/date properties in a PDF
**Q: How do I find out when a PDF doc was originally created there is nothing under
File/Properties
? **
Answer by RahulTyagi (Adobe Employee)
Generally, it is shown under the document properties window in Acrobat (As shown in the following snapshot).
However, if the sender/Author has removed metadata from the pdf then there are chances that original file creation date is not displayed.
- Key greek and other characters
Φ(ρ𝑧)
𝑧 script z
Happily, Rmarkdown handles these well in html documents. Haven't been able to use them in LaTeX. Need to try XeLaTeX...
UC LC Name
-- -- ----
Α α Alpha
Β β Beta
Γ γ Gamma
Δ δ Delta
Ε ε Epsilon
Ζ ζ Zeta
Η η Eta
Θ θ Theta
Ι ι Iota
Κ κ Kappa
Λ λ Lambda
Μ μ Mu
Ν ν Nu
Ξ ξ Xi
Ο ο Omicron
Π π Pi
Ρ ρ Rho
Σ σ,ς Sigma
Τ τ Tau
Υ υ Upsilon
Φ φ Phi
Χ χ Chi
Ψ ψ Psi
Ω ω Omega
-
Today I learned (TIL)
2020-05-25:
It appears that now I need to run RStudio as an administrator on Windows 10 to install packages.Two ways to do it:
- Right click on a Desktop RStudio icon and choose
Run as Administrator
- Right click on the tool-bar RStudio Icon, pull up, and choose
Run as Administrator
.
This really annoying since my profile is an administrator...
2020-05-14:
Do not update your iPhone OS right before a run. The update appeared to be done, but my music was skipping for about 20 min. Guess there was processing in the background.2020-05-18:
Update Microsoft Office- Open an Office application, such as Word, Excel, or PowerPoint. ...
- Click on
Account
orOffice Account
on the list. - Under Product Information, click on
Update Options
next toOffice Updates
. - From the list of options, click on
Update Now
.
- Right click on a Desktop RStudio icon and choose
-
Chrome Bookmarks - How to move a folder...
From here.
Under Bookmarks, open Bookmark Manager. If you want to move FOLDERS that are within another folder (parent folder) you need to select the parent folder in the left window. Then you click on the NAME of the folder you want to move in the right side window. DO NOT click on the little 'folder' icon-- it will not work.
-
Keyboard shortcut for the
dplyr
pipe operatorWin: `%>%` - Ctl + Shift + M Mac: `%>%` - CMD + Shift + M
-
Fix a
recurring guthub credential problem
- run:Sys.unsetenv("GITHUB_PAT") Sys.getenv("GITHUB_PAT")
-
The R
janitor
package is your friend. It cleans up non-standard column names . -
CDC Corona Virus Recommendations
The CDC recommends washing with soap and water for at least 20 seconds after using the bathroom, before eating and after blowing your nose or sneezing. It also advises not to touch your eyes, nose and mouth and to clean objects and surfaces you touch often.
“These are all things you can do to prevent the spread of pretty much any respiratory virus,” Brewer said.
-
Closed captions in CBS All access
Go to www.cbs.com. Find a full episode of a series that you're interested in and click on it. To turn the captions on, bring your cursor into the middle of the video to see the menu show up. Look for and click on the plus sign for "More" on the lower right hand side, click again on "CC captions" just once.
-
The Feynman technique of learning:
-
Step 1: Pick and study a topic
-
Step 2: Explain the topic to someone, like a child, who is unfamiliar with the topic
-
Step 3: Identify any gaps in your understanding
-
Step 4: Review and Simplify!
More here...
-
-
Install command line tools on MacOS
xcode-select --install
-
Reset a Fitbit Ionic watch
Press and hold the left and bottom right buttons at the same time until you see the Fitbit logo. Let go of the buttons, and your tracker will restart.
-
Regex for youtube time stamps. Useful in SublimeText3!
\d\d:\d\d
-
Symbolic links. I always get this backwards...
file link ln -s source destination
-
Fun snippets
Your closest colaborator is you, six months from now
... and you don't respond to email- Karl Broman
DRY (do not repeat yourself) vs WET (waste everyones time) coding styles
- Peter Baker (UseR 2018)
-
Getting started with data science
- A very helpful article from Datacamp.
-
Clear the Chrome Cache
- Press "CTRL" + "Shift" + "Delete" keys in Windows or Linux
- Press "Command" + "Shift" + "Delete"" keys on MacOS.
-
Delete Specific Cookies in Chrome for Mac OS X
From osxdaily.com You can remove a specific website cookie from Chrome by doing the following This skips several steps from original article!
-
Open
chrome://settings/siteData
as a URL -
Scroll to look at the list or use the
Search
box if you want to quickly find a specific site URL. -
To remove the cookie(s), then select the site and click the trash can icon to delete cookies for the site.
-
Rinse and repeat for other sites...
-
Avoid cookie placement and cache generation in the first place by using the Chrome
Incognito Mode
private browsing feature.
-
-
Automatically download all files in a directory
Let's also exclude all the
index.html
files...wget -r --no-parent --reject "index.html*" http://my/url
-
How to block someone on Facebook
- Click at the top right of Facebook and choose
Settings
. - Click
Blocking
in the left side menu. - In the
Block
users setting, enter the name of the person you want to block and clickBlock
. - Select the specific person you want to block ans click
Block > Block [name]
- Click at the top right of Facebook and choose
-
Convert
.mkv
to.mp4
from the command lineffmpeg -i vid.mkv -c copy vid.mp4
-
HTML Syntax
-
A link
<a href="https://...">Label</a>
-
A paragraph
<p>A paragraph</p>
-
A quote
<q>A quote</q>
-
A blockquote
<blockquote cite="https://www.w3schools.com/tags/tag_blockquote.asp"> <p>A long paragraph of text.</p> <p>A second long paragraph of text.</p> </blockquote>
Topics
Haklev's tips on data wrangling with R
Preparation of samples for EDS
python image processing with skimage