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
# -*- coding: utf-8 -*- | |
""" | |
Copyright (c) 2019 Valentin B. | |
A simple music bot written in discord.py using youtube-dl. | |
Though it's a simple example, music bots are complex and require much time and knowledge until they work perfectly. | |
Use this as an example or a base for your own bot and extend it as you want. If there are any bugs, please let me know. |
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 python3.9 | |
# | |
# Created by Bryan Jenks https://github.com/tallguyjenks on 2021-08-08 | |
# | |
# You will need these libraries and can acquire them through the following commands | |
# | |
# pip install --upgrade google-api-python-client google-auth-oauthlib google-auth-httplib2 requests scrapetube | |
# | |
# YouTube API Python Quickstart guide: | |
# https://developers.google.com/youtube/v3/quickstart/python |
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
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&family=Fira+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); | |
:root { | |
--background: #282828; | |
--light-background: #3c3836; | |
--lighter-background: #504945; | |
--dark-background: #3c3836; | |
--darker-background: #1d2021; | |
--foreground: #ebdbb2; | |
--current-line: #504954; |
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
/** Main Body */ | |
.roam-body-main > div { | |
background-color: #282828; | |
color: #ebdbb2; | |
} | |
/** Top & Sidebars */ | |
.roam-sidebar-content, .log-button, .bp3-icon, .rm-db-title, .roam-right-sidebar-content { | |
background-color: #1d2021 !important; | |
color: #ebdbb2 !important; | |
} |
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 Rscript | |
# Install/Attach necessary packages to session | |
pkgs <- c('tidyverse','tidytext','tokenizers','DiagrammeR','glue') | |
xfun::pkg_attach2(pkgs) | |
#===============================================================# | |
#################### Environmental Variables #################### | |
vault_path <- '/Users/bryanjenks/Documents/Knowledge' | |
#===============================================================# |
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 ---- |
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
# 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: "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 | |
#=======================# |
NewerOlder