Skip to content

Instantly share code, notes, and snippets.

Dimitri Sokolyuk dim13

Block or report user

Report or block dim13

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
@shaman007
shaman007 / lor-geo.csv
Last active Aug 7, 2019
LOR geo 30 days
View lor-geo.csv
Country Users New Users Sessions Bounce Rate Pages / Session Avg. Session Duration Goal Conversion Rate Goal Completions Goal Value
Russia 455,130 361,894 842,799 72.62% 2.18 00:02:55 0.00% 0 $0.00
Ukraine 111,825 92,044 191,960 74.10% 1.94 00:02:29 0.00% 0 $0.00
Belarus 26,265 21,756 46,632 72.57% 2.28 00:03:12 0.00% 0 $0.00
Kazakhstan 14,601 12,488 23,079 76.86% 1.93 00:02:26 0.00% 0 $0.00
United States 11,277 10,261 15,529 79.13% 1.89 00:01:44 0.00% 0 $0.00
Germany 8,362 6,826 15,053 64.39% 3.23 00:03:53 0.00% 0 $0.00
Moldova 3,570 2,998 6,259 72.15% 1.79 00:02:35 0.00% 0 $0.00
Uzbekistan 3,278 2,786 4,797 78.09% 1.50 00:01:41 0.00% 0 $0.00
France 2,613 2,352 3,358 74.33% 2.49 00:02:40 0.00% 0 $0.00
@philipstanislaus
philipstanislaus / sane-caching.nginx.conf
Last active Sep 5, 2019
Sample Nginx config with sane caching settings for modern web development
View sane-caching.nginx.conf
# Sample Nginx config with sane caching settings for modern web development
#
# Motivation:
# Modern web development often happens with developer tools open, e. g. the Chrome Dev Tools.
# These tools automatically deactivate all sorts of caching for you, so you always have a fresh
# and juicy version of your assets available.
# At some point, however, you want to show your work to testers, your boss or your client.
# After you implemented and deployed their feedback, they reload the testing page – and report
# the exact same issues as before! What happened? Of course, they did not have developer tools
# open, and of course, they did not empty their caches before navigating to your site.
@ligurio
ligurio / pledge_unveil_support.md
Last active Aug 4, 2019
Support of OpenBSD pledge(2) and unveil(2) in programming languages
View pledge_unveil_support.md
View haproxy-spdy-config
haproxy.conf
============
frontend spdy
mode tcp
bind xxx.xxx.xxx.xxx:443 ssl crt /etc/haproxy/ssl.pem crt /etc/haproxy/certs.d npn spdy/3.1,http/1.1 ciphers AES256+EECDH:AES256+EDH:AES128+EDH:EECDH:!aNULL:!eNULL:!LOW:!DES:!3DES:!RC4; no-sslv3
option tcplog
log global
# route to nginx
@vertexclique
vertexclique / cracking.md
Last active Sep 10, 2019
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )
View cracking.md

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

@captsens
captsens / mpd-autoplay
Created Feb 16, 2014
Get mpd to auto-play on start-up (via an init script)
View mpd-autoplay
#!/bin/sh
### BEGIN INIT INFO
# Provides: mpd-autoplay
# Required-Start: mpd
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
@jaybill
jaybill / copytree.go
Created Jun 5, 2012
How to copy a directory tree (preserving permissions) in Go.
View copytree.go
package main
import "fmt"
import "os"
import "io"
import "io/ioutil"
import "log"
// Copies file source to destination dest.
func CopyFile(source string, dest string) (err error) {
You can’t perform that action at this time.