To get a copy of my most up to date custom CSS sign up to my monthly newsletter [[HERE]] Thank you! 🙏🏻️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
##!/bin/bash | |
#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#=== | |
# Variables | |
#var1="hello" | |
#echo $var1 | |
#var2="hello" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===# | |
# Grab a field | |
# echo "hello world this is Bryan" | awk '{print $1,$5}' | |
#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===#===# | |
# Grab a column |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Rmarkdown" | |
author: "me" | |
date: "7/17/2020" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, datetime | |
from xml.etree.ElementTree import parse | |
xmlfile = raw_input() | |
if xmlfile == "": | |
exit() | |
# Converts the '64bit/32bits' timecode format into seconds | |
def parseFCPTimeSeconds (timeString): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Package names | |
packages <- c('tidyverse', 'runes', 'patchwork') | |
# Install packages not yet installed | |
installed_packages <- packages %in% rownames(installed.packages()) | |
if (any(installed_packages == FALSE)) { | |
install.packages(packages[!installed_packages]) | |
} | |
# Packages loading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Parameterized RMarkdown" | |
author: "Bryan Jenks" | |
date: "8/28/2020" | |
output: html_document | |
params: | |
# data: diamonds # Options: mpg or diamonds | |
# toggle: FALSE # Options: TRUE or FALSE | |
# year: 2018 | |
#=======================# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To permanently cache the credentials | |
git config --global credential.helper store | |
# To ignore files that could cause issues across different workspaces | |
touch .gitignore | |
echo ".obsidian/cache | |
.trash/ | |
.DS_Store" > .gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Obsidian Sentiment Analysis" | |
author: "Bryan Jenks" | |
date: "2020-10-10" | |
output: html_document | |
--- | |
```{r} | |
require(here) | |
require(jsonlite) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ....how to change searchable types for the function ---- | |
options(todor_patterns = c("FIXME", "TODO")) | |
# This is to expand the scope of searches ---- | |
# ....how to switch off markdown search ---- | |
options(todor_rmd = T) # default is on / TRUE | |
# ....how to switch off rnw search ---- | |
options(todor_rnw = T) # sweave files | |
# ....how to switch off rhtml search ---- | |
options(todor_rhtml = T) # R Notebooks | |
# ....how to switch off packrat search ---- |
OlderNewer