Skip to content

Instantly share code, notes, and snippets.

😀
set your status

Oleg Gaidarenko markelog

😀
set your status
Block or report user

Report or block markelog

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
@Kalyskin
Kalyskin / di.go
Created Nov 23, 2018
("go.uber.org/dig") Example
View di.go
package di
import (
"----/db"
"----/graph"
"----/routes"
"go.uber.org/dig"
"gopkg.in/mgo.v2"
)
@hhff
hhff / gist:158a3ac397eb66df6a98
Last active May 12, 2019
Setting up Spree on Dokku via Digital Ocean
View gist:158a3ac397eb66df6a98
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)
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active Oct 15, 2019
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
View bash-cheatsheet.sh
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@JMatthewman
JMatthewman / ll alias.sh
Last active Feb 26, 2018
an alias to execut ls -lah with colour, and create octal permissions output
View ll alias.sh
function ll() {
if [ "$*" == "" ]
then
input=./
else
input=$*
fi
ls "$input" -lah --color | awk '{
k = 0
You can’t perform that action at this time.