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
| --- | |
| description: You are a senior code reviewer ensuring high standards of code quality and security. You specialize in C#, Golang, and systems code like bash. | |
| alwaysApply: false | |
| --- | |
| # Golden Rule (ID:GOLDEN_RULE) | |
| Above all else code is read by humans and should be readable by humans. Check all code for readability and look for any opportunities to improve. | |
| # When invoked: |
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
| { pkgs, lib, config, inputs, ... }: | |
| { | |
| # using with pkgs is here is much nice imo | |
| packages = with pkgs; [ | |
| gnumake | |
| git | |
| nodejs | |
| awscli2 | |
| nodePackages.aws-cdk |
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
| "$schema" = 'https://starship.rs/config-schema.json' | |
| format = """ | |
| [](color_h1)\ | |
| $os\ | |
| $username\ | |
| [](bg:color_yellow fg:color_h1)\ | |
| $directory\ | |
| [](fg:color_yellow bg:color_aqua)\ | |
| $git_branch\ |
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
| // Loop through all text layers in the active composition | |
| for (var i = 1; i <= app.project.activeItem.layers.length; i++) { | |
| var layer = app.project.activeItem.layers[i]; | |
| if (layer instanceof TextLayer) { | |
| // Get the source text property | |
| var sourceText = layer.property("Source Text"); | |
| // Get the text value as a string | |
| var textValue = sourceText.value.toString(); | |
| // Replace all occurrences of "..." with an empty string | |
| textValue = textValue.replace(/(\.\.\.)/g, ""); |
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 | |
| # find . -name '*.ase' | sudo entr -d ./ase-file-change.sh /_ | |
| aseprite=/Users/icullinane/dev/aseprite/build/bin/aseprite | |
| path=($1) | |
| BASE=${1##*/} #trim to basepath | |
| NAME=${BASE%.ase} | |
| ASE_FILES=${ASE_FILES:-"${ASSETS}/raw"} | |
| ASSETS=${ASSETS:-"/Users/icullinane/dev/assets"} | |
| ASSETS_OUT=${ASSETS_OUT:-"${ASSETS}/2d/dist/exported"} |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure(2) do |config| | |
| hostname = "turbine-games" | |
| # base box | |
| config.vm.box = "ubuntu/trusty64" |
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
| local turtle = "d35624dee5cf6cfeb00b58c75cd555d2" | |
| local receive = "9eb03397ba45d91574677b54f7f1a8c2" | |
| local broadcast = "f3266399ed7d5769f6b0d9bda5a3cdf9" | |
| shell.run("gist get "..turtle.." disk/turtle") | |
| shell.run("gist get "..receive.." disk/receive") | |
| shell.run("gist get "..broadcast.." bin/broadcast") |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure(2) do |config| | |
| hostname = "docker-box" |
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
| #PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
| #export PATH | |
| #CHEF_ORGNAME=techops-dev | |
| #CHEF_DOMAIN=fos.pri | |
| export CHEF_ORGNAME | |
| export CHEF_DOMAIN | |
| export CLICOLOR=1 | |
| export LSCOLORS=ExFxBxDxCxegedabagacad | |
| #export VAGRANT_SERVER_URL=https://vagrantcloud.dgs.io |