Skip to content

Instantly share code, notes, and snippets.

View cben's full-sized avatar

Beni Cherniavsky-Paskin cben

View GitHub Profile
@cben
cben / pre-commit.rb
Last active August 10, 2017 01:10 — forked from durandom/pre-commit.rb
git pre-commit hook that runs rubocop on staged files
#!/usr/bin/env ruby
# make sure you have gem 'rubocop-git' in your Gemfile
require 'readline'
def input(prompt="", newline=false)
prompt += "\n" if newline
Readline.readline(prompt, true).squeeze(" ").strip
end
<!DOCTYPE html>
<!--[if IE 9]><html class="ie9 login-pf"><![endif]-->
<html class='login-pf rcue-login' lang='en'>
<head>
<title>
ManageIQ»: Login«
</title>
<link rel="shortcut icon" type="image/x-icon" href="/assets/favicon-6ca95f7b93eeb006088db7dd238353e62eb9ad976446654600ad6d42e2d62ae2.ico" />
<link rel="stylesheet" media="screen" href="/assets/c3/c3.self-8395dac21d80c3e587facff99c7a06d6c89dce22afec2d95e6258cc0c0aec4bb.css?body=1" />
@cben
cben / foo.py
Last active August 29, 2015 14:26 — forked from anonymous/foo.py
print("Hello, world!")
@cben
cben / dodgetocat_v2.png
Last active April 1, 2023 13:16 — forked from alienlebarge/dodgetocat_v2.png
Is there an easy way to link image in a GIST ?
dodgetocat_v2.png