This file contains hidden or 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
| use std::{ | |
| any::{Any, TypeId}, | |
| cell::RefCell, | |
| collections::HashMap, | |
| ops::{Deref, DerefMut}, | |
| rc::Rc, | |
| }; | |
| // ####################### |
This file contains hidden or 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
| #!/bin/bash | |
| # GitHub clone script - clones all repos from an org or user | |
| # Usage: ./gh_clone.sh [github-org-or-user] | |
| # If no argument provided, uses authenticated user | |
| set -e | |
| GITHUB_ORG="${1}" |
This file contains hidden or 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
| FROM wordpress:latest | |
| RUN apt-get update && \ | |
| apt-get install -y gnupg wget lsb-release && \ | |
| wget https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb && \ | |
| DEBIAN_FRONTEND=noninteractive dpkg -i mysql-apt-config_0.8.29-1_all.deb && \ | |
| apt-get update && \ | |
| apt-get install -y mysql-client && \ | |
| rm -rf /var/lib/apt/lists/* /mysql-apt-config_0.8.29-1_all.deb | |
This file contains hidden or 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] | |
| name = "bassietest" | |
| version = "0.1.0" | |
| edition = "2024" | |
| authors = ["Bastiaan van der Plaat <bastiaan.v.d.plaat@gmail.com>"] | |
| [dependencies] | |
| windows-sys = {version = "0.61.2", features = ["Win32_UI_WindowsAndMessaging"]} |
This file contains hidden or 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
| # For macOS install git-filter-repo | |
| brew install git-filter-repo | |
| # Remove all git commits except touching 'bin/bible/' and 'bible/' | |
| git filter-repo --path bin/bible/ --path bible/ --path-rename bin/bible/: --force | |
| # Delete all inrelevant tags | |
| git tag -l | grep -v '^bible' | xargs git tag -d | |
| # Delete all branches except the current one |
The Korra processor is a simple 32-bit CISC processor with RISC features
This file contains hidden or 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] | |
| name = "hello" | |
| version = "0.1.0" | |
| edition = "2024" | |
| [dependencies] | |
| serde = { version = "1.0", features = ["derive"] } | |
| serde_json = "1.0" | |
| [profile.release] |
NewerOlder