This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# args=("$@") | |
# echo Number of arguments: $# | |
# echo 1st argument: ${args[0]} | |
# echo 2nd argument: ${args[1]} | |
# echo without first: ${@:2} $1 | |
# echo $@ | |
# echo $* | |
function fail() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build.Default.GOPATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-09-05 02:12:21.434783 [WARNING] sofia_reg.c:2748 Can't find user [[email protected]] from 222.xxx.xxx.xxx | |
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 [[email protected]] from ip 222.xxx.xxx.xxx |