Skip to content

Instantly share code, notes, and snippets.

View markelog's full-sized avatar
😀
set your status

Oleg Gaidarenko markelog

😀
set your status
View GitHub Profile
@JMatthewman
JMatthewman / ll alias.sh
Last active February 26, 2018 08:16
an alias to execut ls -lah with colour, and create octal permissions output
function ll() {
if [ "$*" == "" ]
then
input=./
else
input=$*
fi
ls "$input" -lah --color | awk '{
k = 0
@hhff
hhff / gist:158a3ac397eb66df6a98
Last active August 19, 2021 18:07
Setting up Spree on Dokku via Digital Ocean
Spree API Server Needs
- Easy Setup & Deployment (Dokku)
- New Relic
- Error Monitoring (Raven)
- Performance Monitoring (Skylight)
- Logging (Loggly or Logentries?)
- SSL (Dokku handles this)
- Database Backups (http://donpottinger.net/blog/2014/11/22/bye-bye-heroku-hello-dokku-part-2.html (See Clockwork section))
- Caching (Memcached + Dalli)
- Worker (Sidekiq)
@kalysr
kalysr / di.go
Created November 23, 2018 02:58
("go.uber.org/dig") Example
package di
import (
"----/db"
"----/graph"
"----/routes"
"go.uber.org/dig"
"gopkg.in/mgo.v2"
)
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active March 27, 2024 03:47
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04