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
| Assign GitHub reviewers based on PR risk and complexity: | |
| 0 reviewers for UI-only, business logic-only, or trivial changes. | |
| 1–2+ reviewers for authorization, security, database migrations, or other high-risk changes. | |
| 1–2 reviewers for other non-trivial changes. | |
| Prioritize CODEOWNERS (if available), changed files, expertise, and recent contributors. Exclude the PR author, Superplane task author, existing reviewers, direct PR contributors, and inactive users. Only assign users with review access. |
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
| function retry { | |
| local n=1 | |
| local max=5 | |
| local delay=15 | |
| while true; do | |
| "$@" && break || { | |
| if [[ $n -lt $max ]]; then | |
| ((n++)) | |
| echo "Command failed. Attempt $n/$max:" | |
| sleep $delay; |
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 | |
| set -ex | |
| keys=( | |
| 9554F04D7259F04124DE6B476D5A82AC7E37093B | |
| 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 | |
| 0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93 | |
| FD3A5288F042B6850C66B31F09FE44734EB7990E | |
| 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 |
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
| cd /tmp | |
| apk --update add libstdc++ libgcc | |
| wget https://s3-us-west-1.amazonaws.com/renderedtext-alpine-packages/thrift-0.9.3.tar.gz | |
| tar xvzf thrift-0.9.3.tar.gz | |
| mv thrift/thrift /usr/bin | |
| mv thrift/thrift-0.9.3 /usr/lib/erlang/lib | |
| rm -rf thrift-0.9.3.tar.gz |
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
| class Dog | |
| attr_writer :name | |
| def initialize(name) | |
| @name = name | |
| end | |
| def bark | |
| puts "patrick" | |
| end |
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
| #!/usr/bin/python | |
| import curses | |
| import random | |
| stdscr = curses.initscr() | |
| curses.noecho() | |
| curses.cbreak() | |
| stdscr.keypad(1) | |
| curses.halfdelay(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
| class Animal | |
| def initialize(name) | |
| @name = name | |
| end | |
| def to_s | |
| @name | |
| end | |
| end |
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
| deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu precise main restricted universe multiverse | |
| deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse | |
| deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse | |
| deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main |
NewerOlder