Skip to content

Instantly share code, notes, and snippets.

<div id="page-wrapper">
<section>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="main-logo mobile">
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid" viewBox="0 0 308.969 89.688">
<defs>
<style>.cls-1 {
@alexrah
alexrah / googlemonkeyr.user.js
Last active September 26, 2022 06:22
GoogleMonkeyR - GreaseMonkey / TamperMonkey script
// ==UserScript==
// @author mungushume
// @version 1.7.1
// @name GoogleMonkeyR
// @namespace http://www.monkeyr.com
// @description Google - Multiple columns of results, Remove "Sponsored Links", Number results, Auto-load more results, Remove web search dialogues, Open external links in a new tab, self updating and all configurable from a simple user dialogue.
// @include http://www.google.*/webhp?*
// @include http://www.google.*/search?*
// @include http://www.google.*/ig?*
// @include http://www.google.*/
group :development, :test do
source 'https://rubygems.org'
gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i
gem 'guard-livereload'
gem 'rb-readline'
end
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)$})
watch(%r{app/helpers/.+\.rb})
watch(%r{.+\.(css|js|html|php|scss)})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
@alexrah
alexrah / MidnightCommander_keys
Last active October 23, 2022 13:07 — forked from sgergely/gist:3793166
Midnight Commander Hotkeys
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
Open same working directory in the inactive panel: Esc + i
@alexrah
alexrah / remotes.sh
Last active August 29, 2015 13:58
automate mirror remotes: bash script checking between GitHub & Gitorious and then adding the missing remote to .git/config
#!/bin/bash
repos=.git/config
gito=`grep 'gitorious' .git/config`
hub=`grep 'github' .git/config`
if [ -n "$1" ]
then
if [ -n "$gito" ]
then
echo "Gitorius already mirrored."
@alexrah
alexrah / ebay.css
Created December 4, 2012 02:13
test ebay css
div#ciccio{
background-image:url("http://i117.photobucket.com/albums/o60/alexrah/eBay/back.png");
}
ul#gallery, ul#gallery li{
margin:0 auto;
padding:0;
list-style:none;
}
ul#gallery{
width:600px;
#!/bin/bash
pastelVim='{
"Ansi 0 Color" = {
"Blue Component" = 0.1490200;
"Green Component" = 0.1490200;
"Red Component" = 0.1490200;
};
"Ansi 1 Color" = {
"Blue Component" = 0.3764706;