An error occurred while installing eventmachine (1.2.7), and Bundler cannot continue.
Make sure that `gem install eventmachine -v '1.2.7' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
github-pages was resolved to 228, which depends on
jekyll-avatar was resolved to 0.7.0, which depends on
jekyll was resolved to 3.9.3, which depends on
em-websocket was resolved to 0.5.3, which depends on
eventmachine
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
| #reduce PDF size | |
| #-dPDFSETTINGS | |
| # /screen | |
| # /ebook | |
| # /printer | |
| # /prepress | |
| gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -sOutputFile=out.pdf in.pdf |
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
| # install and set up gh (https://cli.github.com/) | |
| GH_USER=`gh auth status | grep -oue "Logged in to github.com as [^ ]*" | grep -oue "[^ ]*$"` | |
| gh gist list -L1000 | sed -e "s/^/https:\/\/gist.github.com\/$GH_USER\//" |
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
| # Print origin/HEAD branch name (default branch) | |
| gdb() { | |
| git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5 | |
| } | |
| # Print origin/HEAD branch name (default branch) | |
| # uses ohmyzsh git plugin aliases https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh | |
| gcdb() { | |
| gco `gdb` | |
| } |
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
| git checkout -b `git log -1 --pretty=%s | ruby -e "puts gets.downcase.gsub(/[^a-zA-Z0-9]+/, ' ').strip.tr(' ','_')"` |
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
| // This script takes an iTerm Color Profile as an argument and translates it for use with Visual Studio Code's built-in terminal. | |
| // | |
| // usage: `node iterm-colors-to-vscode.js [path-to-iterm-profile.json] | |
| // | |
| // To export an iTerm Color Profile: | |
| // 1) Open iTerm | |
| // 2) Go to Preferences -> Profiles -> Colors | |
| // 3) Other Actions -> Save Profile as JSON | |
| // | |
| // To generate the applicable color settings and use them in VS Code: |
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/env bash | |
| git remote prune origin && git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -d |
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 | |
| # Install a custom MySQL 5.7 version - https://www.mysql.com | |
| # | |
| # To run this script on Codeship, add the following | |
| # command to your project's setup commands: | |
| # \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mysql-5.7.sh | bash -s | |
| # | |
| # Add the following environment variables to your project configuration | |
| # (otherwise the defaults below will be used). | |
| # * MYSQL_VERSION |

