| description | allowed_tools | ||||
|---|---|---|---|---|---|
Comprehensive code review focusing on quality, security, and best practices |
|
Please perform a comprehensive code review of the current changes or specified files. Focus on:
Meta Rule: When applying rules, explicitly state which rules are being followed in the output. You may abbreviate rule descriptions to key phrases.
This is a centralized ruleset for AI assistance across all projects. These rules define:
| #!/usr/bin/env sh | |
| # usage | |
| # shipyard-shell PRNUMBER SERVICENAME | |
| # shipyard-shell 6187 postgres | |
| # shipyard-shell 6187 api | |
| pr=$1 | |
| service=$2 | |
| identifier=`shipyard get environments | grep pr$pr | xargs | cut -w -f1` # xargs to remove leading and trailing whitespace |
| disable sip in recovery mode | |
| start recovery mode with Cmd + R on startup | |
| start terminal | |
| csrutil disable | |
| download and install cuda 8 | |
| download cuDNN v6.0 for cuda 8 (register first) | |
| install xcode 7.2 | |
| current xcode version is not supported |
Greetings! This will guide you through a basic setup of a Github pages project with Circle CI. All examples here are meant to be as clear as possible - there may be different and quicker ways to do some of these things, but this tutorial is biased on the side of clarity rather than brevity.
You need a Github repo with an index.html file in it (for an example, check out My personal website. This tutorial assumes you have merge permissions with the repo.
Now, check out this repository to your workstation and create a new gh-pages branch.
| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
| "Update": "true" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "443" | |
| } |
Picking the right architecture = Picking the right battles + Managing trade-offs
You got your hands on some data that was leaked from a social network and you want to help the poor people.
Luckily you know a government service to automatically block a list of credit cards.
The service is a little old school though and you have to upload a CSV file in the exact format. The upload fails if the CSV file contains invalid data.
The CSV files should have two columns, Name and Credit Card. Also, it must be named after the following pattern:
YYYYMMDD.csv.
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |