Skip to content

Instantly share code, notes, and snippets.

View ianheggie's full-sized avatar

Ian Heggie ianheggie

View GitHub Profile
@ianheggie
ianheggie / run-synvert-ruby.rb
Last active April 25, 2024 20:27
Experimental code to explore the use of synver-ruby on a rails 5.2, ruby 2.6.10 project and ChatGPT4
#!/usr/bin/env ruby
# frozen_string_literal: true
# Experimental code to explore the use of synver-ruby on a rails 5.2, ruby 2.6.10 project and ChatGPT4.
#
# I found that I needed to run synver-ruby using ruby 3.3 as the version installed under ruby 2.6.10 failed
# to run most snippets due to missing PRISM parser
# This checks the version of ruby being used in the project and the gem versions from Gemfile.local
# and sets an active flag accordingly
@ianheggie
ianheggie / provision.md
Last active March 13, 2018 12:10
Local and Vagrant shell provisioner for rails / elixir projects - Moved to provision_vagrant repository

Moved to provision_vagrant repository

@ianheggie
ianheggie / ansible_digital_ocean_constants
Created August 12, 2015 06:49
ansible digital ocean constants
#!/usr/bin/python
# vi: ft=python
import urllib
import os
import json
import re
if os.path.isdir("ansible"):
os.chdir('ansible')
@ianheggie
ianheggie / .gitignore
Last active August 29, 2015 13:56
My ~/.gitignore - Global git ignore file
# See: https://gist.github.com/ianheggie/9327010
# for Global git ignore for OS/IDE/temp/backup files
#
# See http://git-scm.com/docs/gitignore for manual
# Copied from internet and customized
# Thanks to unknown
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore