Skip to content

Instantly share code, notes, and snippets.

@tomgrice
tomgrice / Element UI chalk theme for DaisyUI
Last active July 9, 2022 04:54
This is an approximation/color scheme for ElementUI's default 'chalk' theme. To use with DaisyUI (https://daisyui.com), simply add the following code to the 'config' constant in your tailwindcss.config.[c]js file. This will be periodically updated to get it closer to the real theme but bear in mind, it is an approximation and probably will neve…
/**
GitHub: https://github.com/tomgrice
Reddit: /u/gricey91
Add the 'chalk' property to config.daisyui.themes in tailwindcss.config.[c]js
**/
const config = {
daisyui: {
@tomgrice
tomgrice / freeso-lutris.yml
Last active July 2, 2022 06:34
FreeSO Linux installer for Lutris
name: FreeSO
game_slug: freeso
version: linux-mono-jun22
slug: freeso-lutris
runner: linux
script:
files:
- tso: https://beta.freeso.org/TSO.docx
- macextras: https://freeso.org/stuff/macextras.zip
- client: https://github.com/riperiperi/FreeSO/releases/download/beta-update-85o/client-beta-update-85o.zip
@tomgrice
tomgrice / Enable-EC2MetadataTags.ps1
Created January 9, 2022 16:25
Enables the new instance-metadata-tags option on all AWS EC2 instances via the AWS CLI.
$regions = $regions = (aws ec2 describe-regions | ConvertFrom-Json).Regions
foreach($region in $regions.RegionName) {
$instances = (aws --region $($region) ec2 describe-instances | ConvertFrom-Json ).Reservations.Instances
foreach($instance in $instances) {
aws --region $($region) ec2 modify-instance-metadata-options --instance-id $($instance.InstanceId) --instance-metadata-tags enabled
}
}