ricounet67 / tips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title author date output
John Minter's Helpful Tips
J. R. Minter
Started: 2013-07-16, Last modified: 2020-08-05
html_document
keep_md css number_sections toc toc_depth
true
./theme/jm-gray-vignette.css
true
true
3

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:

  1. 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.

  1. 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
  1. 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.

    How to run RStudio as admnin from toolbar

    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 or Office Account on the list.
    • Under Product Information, click on Update Options next to Office Updates.
    • From the list of options, click on Update Now.
  2. 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.

  3. Keyboard shortcut for the dplyr pipe operator

    Win: `%>%` - Ctl + Shift + M    
    Mac: `%>%` - CMD + Shift + M   
    
  4. Fix a recurring guthub credential problem - run:

    Sys.unsetenv("GITHUB_PAT")
    Sys.getenv("GITHUB_PAT")
    
  5. The R janitor package is your friend. It cleans up non-standard column names .

  6. 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.

  7. 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.

  8. 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...

  9. Install command line tools on MacOS

    xcode-select --install

  10. 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.

  11. Regex for youtube time stamps. Useful in SublimeText3!

    \d\d:\d\d

  12. Symbolic links. I always get this backwards...

    file     link
    ln -s source destination
    
  13. 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)
  14. Getting started with data science

  15. Clear the Chrome Cache

    • Press "CTRL" + "Shift" + "Delete" keys in Windows or Linux
    • Press "Command" + "Shift" + "Delete"" keys on MacOS.
  16. 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.

  17. 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
    
  18. 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 click Block.
    • Select the specific person you want to block ans click Block > Block [name]
  19. Convert .mkv to .mp4 from the command line

    ffmpeg -i vid.mkv -c copy vid.mp4
    
  20. 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

AccessToSqlite

EkAutomater

Oxford AZtec

Badger Film

bibtex

C++11

Carbon Film Thickness

chemStructures

chntpw

Color

Complex K-ratios

Conductive Epoxies

DataScience-linux64

Debian

Denton Coaters

Diffraction Limit

DTSA-II

DTSA-II Scripting

Earth Science

EDAX

EPMA Matrix Correction

Excel

Feynman Technique

Fiji plugin development

Fitness

Font Test

French Press Instructions

generator

gfortran

ggplot2 workshop

Building up a ggplot2 figure

ggplot2Examples

ggplot2Intro

ggvisIntro

git

gnuplot

Haklev's tips on data wrangling with R

hearing aids

homebrew

html

hyperspy

Image-J

Inkscape

iOS

Jekyll on github.io

json

LaTeX for Rmarkdown

legacy equipment

Logos Library System

Low Carb Diet (Denninger)

Lubuntu

mac

mac-for-data-science

microscopy

microscopy sample prep

midb

Monte Carlo methods in R

MS Office

MySQL

Octave

OnePassword

Oracle Virtual Box

OS Package Links

pandoc

phi-rho-z

plagiarism

pool

portable makefiles

Preparation of samples for EDS

Probe for EPMA

python

python image processing with skimage

qqplotr

R

R-Anova

R-bar-plots

R-boxplots

R-caracas

R-data-cleaning

R-data-pipeline

R-Excel

R-foreach

R-gt (great tables)

R-knitrBootstrap

R-lm

R-loess

R-markdown

R-matrix-algebra

R-memes

R-model-predict

R-Packages

R-sys-admin

Reproducible Research

Research

Sage

Screen Cast

SEM

shell

Sirion

skills

skimage

Software Development

SQL

Sublime Text 3

Stratagem

Sweave

TEM

TeX

Tidy Data

Tidy Models

TV

Ubuntu

vacuum systems

Win

winCasino

winXray

Workflow

Write Usefully (by Paul Graham)

WxMaxima

About


Languages

Language:Jupyter Notebook 63.7%Language:HTML 33.0%Language:Python 1.3%Language:Fortran 0.8%Language:Groovy 0.5%Language:R 0.2%Language:Gnuplot 0.2%Language:VBA 0.1%Language:JavaScript 0.1%Language:TeX 0.0%Language:CSS 0.0%Language:Shell 0.0%Language:Java 0.0%Language:Makefile 0.0%Language:Batchfile 0.0%Language:C++ 0.0%