Skip to content

Instantly share code, notes, and snippets.

Ricardo Ruiz Lopez Ricardo1980

Block or report user

Report or block Ricardo1980

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 gist:a5a7047fd0a03a6b10aea3b82f5e7cdf
Sun Sep 10 14:07:31 2017 : Info: # Executing section authorize from file /etc/freeradius2/sites/default
Sun Sep 10 14:07:31 2017 : Info: +group authorize {
Sun Sep 10 14:07:31 2017 : Info: [eap] EAP packet type response id 31 length 6
Sun Sep 10 14:07:31 2017 : Info: [eap] Continuing tunnel setup.
Sun Sep 10 14:07:31 2017 : Info: ++[eap] = ok
Sun Sep 10 14:07:31 2017 : Info: +} # group authorize = ok
Sun Sep 10 14:07:31 2017 : Info: Found Auth-Type = EAP
Sun Sep 10 14:07:31 2017 : Info: # Executing group from file /etc/freeradius2/sites/default
Sun Sep 10 14:07:31 2017 : Info: +group authenticate {
Sun Sep 10 14:07:31 2017 : Info: [eap] Request found, released from the list
View gist:91bcd10dcc901001f4c6
/*!
* jQuery Smart Banner
* Copyright (c) 2012 Arnold Daniels <arnold@jasny.net>
* Based on 'jQuery Smart Web App Banner' by Kurt Zenisek @ kzeni.com
*/
!function ($) {
var SmartBanner = function (options) {
this.origHtmlMargin = parseFloat($('html').css('margin-top')) // Get the original margin-top of the HTML element so we can take that into account
this.options = $.extend({}, $.smartbanner.defaults, options)
View NSString+Distance.h
//
// NSString+Distance.h
//
// Created by Alexander Johansson on 2011-11-27.
// Based on http://stackoverflow.com/q/5684973/590396
//
#import <Foundation/Foundation.h>
@interface NSString (Distance)
@Ricardo1980
Ricardo1980 / UIDeviceHardware.h
Created Jun 22, 2012 — forked from Jaybles/UIDeviceHardware.h
UIDeviceHardware - Determine iOS device being used
View UIDeviceHardware.h
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
+ (NSString *) platform;
+ (NSString *) platformString;
You can’t perform that action at this time.