Skip to content

Instantly share code, notes, and snippets.

View partydrone's full-sized avatar

Andrew Porter partydrone

View GitHub Profile
@partydrone
partydrone / gist:a28fca52b164fd86e49148a2a372e665
Created June 5, 2024 12:52
Alert blocks for descriptions and comments
## Simple alerts
> [!NOTE]
> This is a note.
> [!TIP]
> This is a tip. (Supported since 14 Nov 2023)
> [!IMPORTANT]
> Crutial information comes here.
2020-02-18T17:59:07.5982925Z ##[group]Run paambaati/[email protected]
2020-02-18T17:59:07.5983142Z with:
2020-02-18T17:59:07.5983312Z coverageCommand: bundle exec rake
2020-02-18T17:59:07.5983694Z coverageLocations: coverage/.resultset.json:simplecov
2020-02-18T17:59:07.5984047Z debug: true
2020-02-18T17:59:07.5984219Z env:
2020-02-18T17:59:07.5984809Z DATABASE_URL: postgresql://postgres:postgres@localhost:5432/oneohone?encoding=unicode&pool=5&timeout=5000
2020-02-18T17:59:07.5985358Z RAILS_RESQUE_REDIS: redis://localhost:6379/
2020-02-18T17:59:07.5985556Z REDIS_URL: redis://localhost:6379/
2020-02-18T17:59:07.5986502Z AWS_ACCESS_KEY_101: ***
@partydrone
partydrone / Camera
Created September 25, 2018 20:09
World of Warcraft OPie Rings
oetohH7 0N9zCPC wAction 06Cam06 off9wma cro932w Action0 6Cam06o n9wmacr o93232w Camera9 134wCTR L0AC914 4.
@partydrone
partydrone / template.rb
Created July 16, 2017 04:32
Rails 5.1 template
##
# Authentication & Authorization
gem 'omniauth-facebook'
gem 'omniauth-google-oauth2'
# gem 'omniauth-identity'
gem 'omniauth-twitter'
gem 'pundit'
gem 'rolify'
##
@partydrone
partydrone / MyMedia.lua
Last active November 30, 2023 21:38
My default Simple ElvUI profile for World of Warcraft
----------------------------------------------------------------------------
-- Copy this section of the file to a file called MyMedia.lua, and enter
-- your media's information, using the examples shown below.
----------------------------------------------------------------------------
local LSM = LibStub("LibSharedMedia-3.0")
-- START of the section that you should be editing
--
-- NB: any line beginning with "--" is ignored - so the lines
@partydrone
partydrone / install_email_signature.bat
Created April 21, 2016 21:11
Install an HTML email signature in Outlook 2016 on Windows 10.
move email_signature.html %APPDATA%/Microsoft/Signatures/default.htm
del install_email_signature.bat
@partydrone
partydrone / .aliases.local
Last active July 3, 2019 02:22
Local additions and customizations for thoughtbot/laptop script
alias back="cd ~-"
alias h="history"
alias ll="ls -aFGl"
alias up="cd .."
# Redefine commands to add options
alias cp="cp -i"
alias df="df -h"
alias du="du -h"
alias mv="mv -i"
@partydrone
partydrone / Gemfile
Last active July 16, 2017 04:19
Rails database.yml configuration for multiple git branches
group :development, :test do
gem "git"
end
@partydrone
partydrone / Default (OS X).sublime-keymap
Last active December 22, 2015 14:19
Sublime Text 3 configuration
[
{ "keys": ["ctrl+shift+."], "command": "erb", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.ruby, text.haml, source.yaml, source.css, source.scss, source.js, source.coffee" }
]
}
]
@partydrone
partydrone / base_controller.rb
Created September 27, 2012 16:38
Cucumber tests fail for controller that doesn't inherit from ApplicationController
module Admin
class BaseController < ApplicationController
filter_access_to :index
def index
end
end
end