Skip to content

Instantly share code, notes, and snippets.

View procommerz's full-sized avatar

Denis procommerz

View GitHub Profile
@procommerz
procommerz / fl
Created May 18, 2019 19:12 — forked from McNull/fl
Open current directory in forklift
#!/bin/bash
# Open current directory in forklift
# Adapted from https://gist.github.com/elentok/6218781
# Adapted from comment https://gist.github.com/elentok/6218781#comment-891115
# Added optional path argument and removed using the clipboard buffer.
set -e
if [ -z "$@" ]; then
## Clear the processed stats
Sidekiq.redis {|c| c.del('stat:processed') }
## Clear the failed stats
Sidekiq.redis {|c| c.del('stat:failed') }
@procommerz
procommerz / 0_reuse_code.js
Created May 12, 2014 05:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console