Skip to content

Instantly share code, notes, and snippets.

That time I had to compile Vim from source...

Adapted for ubuntu on windows, clean install

  1. Install Prereqs

     sudo apt-get update
     sudo apt-get install gcc make libncurses-dev ruby ruby-dev python3-dev libpython3-dev libperl-dev lua5.3 liblua5.3-dev
    
  2. Clone the Vim repo from GitHub.

@cuzelac
cuzelac / readme.md
Last active April 20, 2021 22:10
Fixing Grover Pro "Unsupported video type" error

Fixing Grover Pro "Unsupported video type" error

Symptoms

  • Seeing along the bottom: Error: Unsupported video type or invalid file path
  • Seeing a popup that says something like "Can't Play"

Fix

@cuzelac
cuzelac / wishlist.txt
Last active February 27, 2020 20:24
My Destiny Item Manager Wish List
// Infinite Paths 8
dimwishlist:item=3233390913&perks=3142289711,588594999,2387244414
dimwishlist:item=3233390913&perks=3142289711,588594999,4082225868
// Patron of Lost Causes
dimwishlist:item=2723241847&perks=202670084,247725512,3038247973,2697220197
@cuzelac
cuzelac / code
Created May 19, 2015 17:41
deep creation of HashWithIndifferentAccess
def deep_with_indifferent_access(hash)
new_hash = {}.with_indifferent_access
hash.each do |k,v|
new_val = nil
case v
when Hash, HashWithIndifferentAccess
new_val = deep_with_indifferent_access(v)
when Array
new_val = v.each {|elem| deep_with_indifferent_access(elem) }
else
<!DOCTYPE html>
<html>
<head>
<style>
#overlay_form{
position: absolute;
//border: 1px solid gray;
padding: 1px;
background: white;
<!DOCTYPE html>
<html>
<head>
<style>
#overlay_form{
position: absolute;
//border: 1px solid gray;
padding: 1px;
background: white;
<!DOCTYPE html>
<html>
<head>
<style>
#overlay_form{
position: absolute;
//border: 1px solid gray;
padding: 1px;
background: white;
@cuzelac
cuzelac / gist:3072717
Created July 8, 2012 20:43
gem pricer
cuzelac@cassandra:[~]$ cat gem-pricer.rb
#!env ruby
#
TomePrice = 1213
inPrice = ARGV[0].strip.to_i
outPrice = ARGV[1].strip.to_i
numTome = 15