{ stdenv, fetchFromGitHub, mkYarnPackage }:
mkYarnPackage rec {
pname = "gb-studio";
version = "3.0.3";
rev = "v${version}";
src = fetchFromGitHub {
This file contains 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
eval "$(lorri direnv)" |
So you've cloned a repo and made some changes? Now you want to submit a PR. This'll make it look like you didn't forget to fork before making the changes. Zero loss of face and endless enjoyment.
-
Fork the repo on GitHub.
-
Rename the local remote.
git remote rename origin upstream
-
Add your fork as the new origin.
This file contains 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
# Install required utilities | |
pacman -S debootstrap | |
pacaur -S gnupg1 ubuntu-keyring | |
# Create a btrfs subvolume to house the container's base system | |
btrfs subvolume create UbuntuXenial | |
# Set up the Ubuntu system tree | |
# According to the man page --arch should be specified on systems without dpkg | |
debootstrap --arch=amd64 xenial UbuntuXenial/ |
This file contains 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
tell application "Finder" | |
set {_dx, _dy, _dw, _dh} to bounds of window of desktop | |
end tell | |
tell application "System Events" to tell application "Terminal" | |
tell front window | |
set {_x, _y, _w, _h} to (get bounds) | |
set size to {_w - _x, _dh} | |
set position to {_x, _dy} | |
end tell |