Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block kennuzzo

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 git-pullamend
# args=("$@")
# echo Number of arguments: $#
# echo 1st argument: ${args[0]}
# echo 2nd argument: ${args[1]}
# echo without first: ${@:2} $1
# echo $@
# echo $*
function fail()
kennuzzo / gopath.go
Created Oct 12, 2015
golang default path
View gopath.go
View doorkeeper_helpers.rb
# include 'doorkeeper_helpers' in doorkeeper intializer
# raise Doorkeeper::Errors::InvalidResourceOwner
# remember to add the error message translation to the doorkeeper locale yaml.
# in lib/doorkeeper/helpers/doorkeeper_helpers.rb
module Doorkeeper
module Helpers::Controller
alias_method :old, :get_error_response_from_exception
def get_error_response_from_exception(exception)
View gist:cf74ec55732bb8229393
2014-09-05 02:12:21.434783 [WARNING] sofia_reg.c:2748 Can't find user [gianni@107.yyy.yyy.yyy] from
You must define a domain called '107.yyy.yyy.yyy' in your directory and add a user with the id="gianni" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2014-09-05 02:12:21.434783 [WARNING] sofia_reg.c:1608 SIP auth failure (REGISTER) on sofia profile 'internal' for [gianni@107.yyy.yyy.yyy] from ip
You can’t perform that action at this time.