Locate the branch name associated with the PR
Use this but replace #commit
with #branch-name
.
Use the username of the PR sender (since branch exists on their repo while unmerged)
#!/bin/bash | |
######################################################## | |
# | |
# ## i3_maximize.sh ## | |
# | |
# Implements maximization of a window in i3. | |
# Swaps the focused container into a new workspace and | |
# and restores it when run again. | |
# |
from tkinter import * | |
root = Tk() | |
w = Label(root, text="Hello World") | |
w.pack() | |
root.mainloop() |
Locate the branch name associated with the PR
Use this but replace #commit
with #branch-name
.
Use the username of the PR sender (since branch exists on their repo while unmerged)
#!/usr/bin/env fish | |
# based on https://stackoverflow.com/a/52127956/1412255 | |
# tbh git should do better. It can record the particular commit and default remote | |
# instead of displaying "you accidentally added a git repo, did you mean to add a submodule?" | |
pushd $argv[1] | |
set url (git remote get-url (git remote)) | |
popd | |
git submodule add $url $argv[1] |
Docs have moved to atlassian website and are incomplete. Old trello API reference, fortunately indexed by archive.org : https://web.archive.org/web/20190228163841/https://developers.trello.com/v1.0/reference
var items = 2500000000; // number of lines to write to the file. Currently >20 GB for sequential ints | |
var buffer_size = 1000000; // amount of items to buffer in memory. Currently ~200 MB for ints | |
var fs = require('fs') | |
var buffer = []; | |
for (var i =0; i < items; i++) { | |
var data = i; // make it a random integer, or whatever else your heart desires | |
buffer.push(data); |
/* don't make right sidebar sticky */ | |
[data-testid=sidebarColumn] > div > div:nth-child(2) { | |
position: absolute; | |
} | |
/* dull out the empty space. Hardcoded colors for white theme. */ | |
[data-testid='primaryColumn'] { | |
background:#e6ecf0; | |
} |
// ==UserScript== | |
// @name Hide Hot Network Questions and Hot Meta Posts | |
// @namespace http://CHANGE.TO.YOUR.WEBPAGE | |
// @version 0.2 | |
// @description Hide Hot-Network-Questions in StackExchange sites | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* | |
// @match *://*.superuser.com/* | |
// @match *://*.serverfault.com/* | |
// @match *://*.askubuntu.com/* |