This opens a browser to the PR interface. Useful for forked repositories. Suggest adding alias, pr in your ~/.bash_profile:
alias pr='~/open_pr.sh'
- Current branch:
./open_pr.sh - Another branch:
./open_pr.sh 123-add-profile-view
| # Base16 Atelier Dune - alacritty color config | |
| # Bram de Haan (http://atelierbramdehaan.nl) | |
| [colors] | |
| draw_bold_text_with_bright_colors = false | |
| # Default colors | |
| [colors.primary] | |
| background = '0x20201d' | |
| foreground = '0xa6a28c' |
| # === Session defaults === | |
| # reset border color in default mode | |
| :: default : yabai -m config active_window_border_color 0xE032CD32 | |
| # kickstart yabai | |
| hyper - y : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai" | |
| # lock screen immediately | |
| cmd - escape : pmset displaysleepnow | |
| # logout | |
| cmd + shift - e : osascript -e 'tell app "System Events" to log out' | |
| # power down |
| #!/usr/bin/env sh | |
| # | |
| # for this to work you must configure sudo such that | |
| # it will be able to run the command without password | |
| # | |
| # see this wiki page for information: | |
| # - https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition | |
| # | |
| yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" |
| PLUGIN_DIR="$HOME/.config/sketchybar/plugins" | |
| ITEM_DIR="$HOME/.config/sketchybar/items" | |
| source $HOME/.config/sketchybar/colors.sh | |
| source $HOME/.config/sketchybar/icons.sh | |
| export FONT="Hack Nerd Font" | |
| export NERD_FONT="Hack Nerd Font" | |
| sketchybar --bar height=30 \ |
| import json | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| import requests | |
| import datetime | |
| """ | |
| Config | |
| """ | |
| CIRCLE_TOKEN = "<your circle token>" |
| #!/bin/bash | |
| CIRCLE_TOKEN="circle ci token" | |
| VCS_SLUG="slug/org-name/proj-name" | |
| PIPELINE_ID=$(curl --silent -X GET https://circleci.com/api/v2/project/${VCS_SLUG}/pipeline/mine -H "Circle-Token: ${CIRCLE_TOKEN}" -H 'Accept: application/json' | jq '[.[]][1][0].id') | |
| PIPELINE_ID="${PIPELINE_ID%\"}" | |
| PIPELINE_ID="${PIPELINE_ID#\"}" | |
| WORKFLOW_ID=$(curl --silent -X GET https://circleci.com/api/v2/pipeline/${PIPELINE_ID}/workflow -H "Circle-Token: ${CIRCLE_TOKEN}" -H 'Accept: application/json' | jq '.items[0].id') |
I hereby claim:
To claim this, I am signing this object:
| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |
| package challenges.Challenge237; | |
| import java.io.*; | |
| import java.nio.file.Files; | |
| import java.util.List; | |
| /** | |
| * Challenge #237, Easy | |
| * "Broken Keyboard" | |
| * They had a broken keyboard. I bought a broken keyboard. |