Skip to content

Instantly share code, notes, and snippets.

Ravuthz ravuthz

Block or report user

Report or block ravuthz

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
@ravuthz
ravuthz / log.sh
Last active Jul 8, 2017
SLF4J: Class path contains multiple SLF4J bindings. On Spring Boot 1.5.4
View log.sh
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/ravuthz/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/ravuthz/.m2/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
View get_mac_address.php
<?php
function get_mac_address1() {
exec("ipconfig /all", $arr, $retval);
$arr[14];
$ph = explode(":", $arr[14]);
return trim($ph[1]);
}
function get_mac_address2() {
View codeignitor.htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
You can’t perform that action at this time.