Skip to content

Instantly share code, notes, and snippets.

View rcdelacruz's full-sized avatar
🎯
Focusing

Ronald DC rcdelacruz

🎯
Focusing
View GitHub Profile
@rcdelacruz
rcdelacruz / cloud-init.yaml
Created January 16, 2024 01:56 — forked from pmbaumgartner/cloud-init.yaml
Multipass & Docker Setup
#cloud-config
package_upgrade: true
ssh_authorized_keys:
- <your key>
packages:
- apt-transport-https
- ca-certificates
- curl
@rcdelacruz
rcdelacruz / DrugBank2SQLite.R
Last active July 28, 2023 06:40
Import DrugBank to SQLite
########################################
## Import of DrugBank Annotation Data ##
########################################
## Function to import DrugBank XML to data.frame
## Last step gives error. To debug, the following function may help.
## Note, this functions needs some major speed improvements. Ideally,
## it should be replaced with a standard XML import method.
## (1) Download
## - download DrugBank XML (https://www.drugbank.ca/releases/latest)
## - name uncompressed file 'drugbank.xml'
@rcdelacruz
rcdelacruz / DrugBank2SQLite.R
Created July 28, 2023 06:17 — forked from tgirke/DrugBank2SQLite.R
Import DrugBank to SQLite
########################################
## Import of DrugBank Annotation Data ##
########################################
## Function to import DrugBank XML to data.frame
## Last step gives error. To debug, the following function may help.
## Note, this functions needs some major speed improvements. Ideally,
## it should be replaced with a standard XML import method.
## (1) Download
## - download DrugBank XML (https://www.drugbank.ca/releases/latest)
## - name uncompressed file 'drugbank.xml'

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
// build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
// ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
// docs: Documentation only changes
// feat: A new feature
// fix: A bug fix
// perf: A code change that improves performance
// refactor: A code change that neither fixes a bug nor adds a feature
// style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
// test: Adding missing tests or correcting existing tests
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Proxmox GPU Passthrough

Config :

  • Motherboard : ASUS PRIME B450M-A
  • CPU : AMD Ryzen 7 2700x
  • GPU : EVGA AMD RADEON R9 380 Series
  • Ram : DDR4 2133 MHz

Setting it all up

Update packages

@rcdelacruz
rcdelacruz / brownbag-notes-stratpoint
Last active November 4, 2022 02:36
Brownbag session notes
# Brownbag Notes
This brownbag is a showcase of the toolkits that has been gaining popularity amongst software development community, DevOps community, and open source community.
This is not meant to be a workshop for beginners, but to give you an idea on what is going on around the different communities in the IT world.
But don’t fret, I’ll be giving you some introductions and basic concepts along the way. And at the end of this sessions, you will gain understanding and awareness of the different tools that may help you leverage or accelerate development by running your projects on your local machine. And hoping that this might help you eliminate or minimize bugs in production environment.
<aside>
💡 The `docker compose` (with a space) is a newer project to migrate compose to Go with the rest of the docker project. This is the `v2` branch of the [docker/compose](https://github.com/docker/compose/tree/v2) repo. It's been first introduced to Docker Desktop users, so docker users on Linux didn't see the com

1. Development environment

  • How would you rate the development environment in team? (Use the [1-5] scale)
  • How would you rate the project Settings needed to start to work? (Use the [1-5] scale)
  • How would you rate documentation of the necessary tools? (Use the [1-5] scale)
  • How do you rate the team’s current onboarding process? (Use the [1-5] scale)
  • Do you think we have enough tools to work with? (Use the [1-5] scale)
  • What tools are you missing in order to be more productive at work?

2. Code

  • What is the level of satisfaction with the current codebase? (Use the [1-5] scale)