Skip to content

Instantly share code, notes, and snippets.

Ari Pollak aripollak

Block or report user

Report or block aripollak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aripollak
aripollak / hide-github-merge.user.js
Last active Apr 12, 2019
Userscript to disable the Merge button inside pull requests on certain github projects
View hide-github-merge.user.js
// ==UserScript==
// @name Hide GitHub Merge Button
// @version 0.5
// @description Removes the merge button on a GitHub project, so you will remember to
// rebase/write a useful merge message.
// @match https://github.com/TheLevelUp/*/pull/*
// #updateURL https://gist.github.com/aripollak/4322621/raw/f44b6cd6e10aa38110bea2c483a64182cb1748b8/hide-github-merge.user.js
// ==/UserScript==
var main = function () {
@aripollak
aripollak / ruby.vim
Created Nov 16, 2012 — forked from rwstauner/perl-syntax-sql.vim
highlight SQL syntax in a Ruby heredoc
View ruby.vim
" ~/.vim/after/syntax/ruby.vim
let s:bcs = b:current_syntax
unlet b:current_syntax
syntax include @SQL syntax/sql.vim
let b:current_syntax = s:bcs
syntax region rubyHereDocSQL matchgroup=Statement start=+<<\z(SQL\)+ end=+^\z1$+ contains=@SQL
syntax region rubyHereDocDashSQL matchgroup=Statement start=+<<-\z(SQL\)+ end=+\s\+\z1$+ contains=@SQL
You can’t perform that action at this time.