Skip to content

Instantly share code, notes, and snippets.

Alexey Skoblikov almays

Block or report user

Report or block almays

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
View vk.ex
defmodule CoherenceAssent.Strategy.VK do
alias CoherenceAssent.Strategy.Helpers
alias CoherenceAssent.Strategies.OAuth2, as: OAuth2Helper
def authorize_url(conn, config) do
OAuth2Helper.authorize_url(conn, set_config(config))
end
def callback(conn, config, params) do
config = set_config(config)
@almays
almays / gist:3928668
Created Oct 21, 2012
Unix conf: Sendy nginx rewrite rules
View gist:3928668
index index.php index.html;
root /your/path/to/the/sendy;
location = / {
index index.php;
}
location / {
if (!-f $request_filename){
rewrite ^/([a-zA-Z0-9-]+)$ /$1.php last;
You can’t perform that action at this time.