Abaco Abbondanzio Abbondio Abdone Abelardo Abele Abenzio Abibo Abramio
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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Incident Identifier: D7E7C781-C3D7-4D6F-B78B-D552229568CF | |
CrashReporter Key: DBCCF9F5-7A0F-5297-7130-1495532A3A68 | |
Hardware Model: MacBookPro17,1 | |
Process: VimR [21417] | |
Path: /Applications/VimR.app/Contents/MacOS/VimR | |
Identifier: com.qvacua.VimR |
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
#!/usr/bin/env zsh | |
# Call this script with: | |
# ./eat-food.zsh [opt] | |
# | |
# If a food is given, and is in the valid foods (opts array), it will eat the given food | |
# e.g. ./eat-food.zsh bananas | |
# | |
# If a food is given, but it's not valid, it will prompt for a food to eat | |
# e.g. ./eat-food.zsh pineapples |
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
-- init.lua | |
local cmd = vim.cmd | |
local fn = vim.fn | |
local g = vim.g | |
require 'plugins' | |
-- plugins/init.lua | |
local cmd = vim.cmd | |
local fn = vim.fn | |
local g = vim.g |
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
" This function originates from https://www.reddit.com/r/neovim/comments/eq1xpt/how_open_help_in_floating_windows/; it isn't mine! | |
function! CreateCenteredFloatingWindow(title) abort | |
let width = min([&columns - 4, max([80, &columns - 20])]) | |
let height = min([&lines - 4, max([20, &lines - 10])]) | |
let top = ((&lines - height) / 2) - 1 | |
let left = (&columns - width) / 2 | |
let opts = {'relative': 'editor', 'row': top, 'col': left, 'width': width, 'height': height, 'style': 'minimal'} | |
let top = "╭" . repeat("─", width - 2) . "╮" |
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
# provided by https://www.zmwolski.com/Organizing-Ruby-on-Rails-Models | |
class User < ActiveRecord::Base | |
# == Constants ============================================================ | |
# == Attributes =========================================================== | |
# == Extensions =========================================================== |
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
#!/bin/zsh | |
tempfile=output | |
touch $tempfile | |
check_update () { | |
cd $1 | |
if [[ -d .git ]] | |
then | |
git fetch -q origin | |
commits_count=`git log master..origin/master --oneline | wc -l` |
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
❯ sudo aptitude install libfreetype6-dev | |
The following NEW packages will be installed: | |
libfreetype6-dev libpng12-dev{a} | |
0 packages upgraded, 2 newly installed, 0 to remove and 22 not upgraded. | |
Need to get 0 B/2.833 kB of archives. After unpacking 6.782 kB will be used. | |
The following packages have unmet dependencies: | |
libpng16-devtools : Conflicts: libpng12-0-dev which is a virtual package, provided by: | |
- libpng12-dev, but 1.2.54-1ubuntu1 is to be installed. | |
Conflicts: libpng12-dev but 1.2.54-1ubuntu1 is to be installed. | |
Conflicts: libpng3-dev which is a virtual package, provided by: |
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
#!/usr/bin/env ruby | |
class VimColorscheme | |
attr_accessor :file_path | |
def initialize(file_path) | |
@file_path = file_path | |
end | |
def extract_colors |
NewerOlder