Server:LiteSpeed...
The main IP address: 77.72.1.2,Your server United Kingdom,Torquay ISP:Krystal Solutions LLP TLD:uk CountryCode:GB
The description :daily content, updated yearly...
This report updates in 04-Oct-2018
Created Date: | 2007-10-09 |
Changed Date: | 2017-10-09 |
Geo IP provides you such as latitude, longitude and ISP (Internet Service Provider) etc. informations. Our GeoIP service found where is host acodemics.co.uk. Currently, hosted in United Kingdom and its service provider is Krystal Solutions LLP .
Latitude: | 50.463840484619 |
Longitude: | -3.5143399238586 |
Country: | United Kingdom (GB) |
City: | Torquay |
Region: | England |
ISP: | Krystal Solutions LLP |
HTTP Header information is a part of HTTP protocol that a user's browser sends to called LiteSpeed containing the details of what the browser wants and will accept back from the web server.
Content-Encoding: | gzip |
Transfer-Encoding: | chunked |
Accept-Ranges: | bytes |
Vary: | Accept-Encoding |
Server: | LiteSpeed |
Connection: | close |
Link: | |
Date: | Thu, 04 Oct 2018 04:30:41 GMT |
Content-Type: | text/html; charset=UTF-8 |
soa: | ns1.krystal.co.uk. admin.krystal.co.uk. 2016082400 3600 7200 1209600 86400 |
txt: | "v=spf1 +a +mx +ip4:77.72.1.2 ?all" |
ns: | ns1.krystal.co.uk. ns2.krystal.co.uk. |
ipv4: | IP:77.72.1.2 ASN:12488 OWNER:KRYSTAL, GR Country:GB |
mx: | MX preference = 20, mail exchanger = mx2.krystal.co.uk. MX preference = 10, mail exchanger = mx1.krystal.co.uk. |
-- show menu hide menu about me contact me learning to program about me contact me learning to program submit categories diy (1) elsewhere (8) gadgets (1) gaming (6) how to (11) information (9) internet (13) micro review (2) mobile phones (3) papers (4) programming (45) site news (4) space (1) uncategorized (2) meta log in entries rss comments rss wordpress.org superset gitlab oauth integration may 2, 2018 / jack concanon / 0 comments finally cracked getting superset to use gitlab as an oauth provider. we had to make a custom superset securitymanager class – python import logging from flask_appbuilder.security.sqla.manager import securitymanager from flask import session log = logging.getlogger(__name__) class gitlabsecuritymanager(securitymanager): def oauth_user_info(self, provider, resp=none): if provider == 'gitlab': log.info('handling gitlab oauth response') me = self.appbuilder.sm.oauth_remotes[provider].get('user') name = me.data.get('name', '') first_name = '' last_name = '' if ' ' in name: s = name.split(' ') first_name = s[0] last_name = s[1] data = {'username' : me.data.get('username', ''), 'email': me.data.get('email', ''), 'first_name': first_name, 'last_name': last_name } log.info('gitlab response: {}'.format(data)) return data return {} 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 import logging from flask_appbuilder . security . sqla . manager import securitymanager from flask import session log = logging . getlogger ( __name__ ) class gitlabsecuritymanager ( securitymanager ) : def oauth_user_info ( self , provider , resp = none ) : if provider == 'gitlab' : log . info ( 'handling gitlab oauth response' ) me = self . appbuilder . sm . oauth_remotes [ provider ] . get ( 'user' ) name = me . data . get ( 'name' , '' ) first_name = '' last_name = '' if ' ' in name : s = name . split ( ' ' ) first_name = s [ 0 ] last_name = s [ 1 ] data = { 'username' : me . data . get ( 'username' , '' ) , 'email' : me . data . get ( 'email' , '' ) , 'first_name' : first_name , 'last_name' : last _ name } log . info ( 'gitlab response: {}' . format ( data ) ) return data return { } and then this is the superset_config.py, note that we load a custom security manager python import ssl from flask_appbuilder.security.manager import auth_oauth # monkey patch the ssl library to avoid certificate verification ssl._create_default_https_context = ssl._create_unverified_context sql_alchemy_database_uri = 'sqlite:////var/lib/superset/superset.db' auth_type = auth_oauth auth_user_registration = true auth_user_registration_role = 'admin' oauth_providers = [{ 'name': 'gitlab', 'icon': 'fa-gitlab', 'token_key': 'access_token', 'remote_app': { 'base_url': 'https://gitlab/api/v4/user', 'request_token_params': { 'scope': 'openid read_user' }, 'access_token_url': 'https://gitlab-server/oauth/token', 'authorize_url': 'https://gitlab-server/oauth/authorize', 'request_token_method': 'get', 'access_token_method': 'post', 'consumer_key': '<application key>', 'consumer_secret': '<application secret>' } }] from security_manager import gitlabsecuritymanager custom_security_manager = gitlabsecuritymanager 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 import ssl from flask_appbuilder . security . manager import auth_oauth # monkey patch the ssl library to avoid certificate verification ssl . _create_default_https_context = ssl . _create_unverified_context sql_alchemy_database_uri = 'sqlite:////var/lib/superset/superset.db' auth_type = auth_oauth auth_user_registration = true auth_user_registration_role = 'admin' oauth_providers = [ { 'name' : 'gitlab' , 'icon' : 'fa-gitlab' , 'token_key' : 'access_token' , 'remote_app' : { 'base_url' : 'https://gitlab/api/v4/user' , 'request_token_params' : { 'scope' : 'openid read_user' } , 'access_token_url' : 'https://gitlab-server/oauth/token' , 'authorize_url' : 'https://gitlab-server/oauth/authorize' , 'request_token_method' : 'get' , 'access_token_method' : 'post' , 'consumer_key' : '<application key>' , 'consumer_secret' : '<application secret>' } } ] from security_manager import gitlabsecuritymanager custom_security_manager = gitlabsecuritymanager additionally i had to disable ssl certificate validation as we are using a self signed ssl certificate for our internal gitlab installation. superset ssl verifiy failed may 2, 2018 / jack concanon / 0 comments installing apache superset at work for internal use, i was attempting to link our superset oauth to an internal oauth provider, this provider uses self signed ssl certificates which caused issues with the flask oauthlib. in my superset logs i would see the following error – [ssl: certificate_verify_failed] 1 [ ssl : certificate_verify_failed ] as this is an internal system it’s possible to monkey patch the ssl handler to avoid doing a verification on our certificates by adding the following to the superset_config.py – python import ssl ssl._create_default_https_context = ssl._create_unverified_context 1 2 3 import ssl ssl . _create_default_https_context = ssl . _create_unverified_context this means that we can reuse the same superset_config.py for our superset docker image and bypass the exception, oauth here we come! android bluetooth barcode scanner july 5, 2016 / jack concanon / 0 comments as part of an android contract role i am working on i needed to integrate a bluetooth barcode scanner with my app, this scanner would be used to trigger events in the app. the first thing to work out was how to get data from the scanner into the app, i initially suspected i would need to deal with the bluetooth stack directly but luckily this wasn’t the case. all recent (from 2011 and onwards really) android devices should support the hid standard as part of the android open accessory protocol 2.0 update. hid basically allows connected devices (usb and bluetooth) to self describe the contents and types of their inputs, in general this means that connected devices can represent themselves as keyboard devices or specific hardware buttons. in the case of bluetooth scanners ensure that the device supports hid connections and also has the ability to send a line feed after each barcode is sent. coming back to our android app, knowing what we do now, we can capture all key inputs to our activity in order to capture barcodes sent by the scanner. android hid capture java private final keycharactermap charactermap = keycharactermap.load(keycharactermap.full); @override public boolean dispatchkeyevent(keyevent event) { if(event.getaction() == keyevent.action_down) { switch (event.getkeycode()) { case keyevent.keycode_back: onbackpressed(); return false; case keyevent.keycode_enter: string tmp = barcodeinput; barcodeinput = ""; lookupbarcode(tmp); // todo this is your event handler default: barcodeinput += charactermap.getdisplaylabel(event.getkeycode()); return true; } } super.dispatchkeyevent(event); return false; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 private final keycharactermap charactermap = keycharactermap . load ( keycharactermap . full ) ; @override public boolean dispatchkeyevent ( keyevent event ) { if ( event . getaction ( ) == keyevent . action_down ) { switch ( event . getkeycode ( ) ) { case keyevent . keycode_back : onbackpressed ( ) ; return false ; case keyevent . keycode_enter : string tmp = barcodeinput ; barcodeinput = "" ; lookupbarcode ( tmp ) ; // todo this is your event handler default : barcodeinput += charactermap . getdisplaylabel ( event . getkeycode ( ) ) ; return true ; } } super . dispatchkeyevent ( event ) ; return false ; } override an activities detault dispatchkeyevent method with the above function. it takes all action down events, interprets the keycode using the keycharactermap class and adds it to an internal buffer; once an enter key is detected this signals that our scanner has completed sending it’s information and can then trigger our handler. as we capture all key pres
http://www.acodemics.co.uk/about-me/
http://www.acodemics.co.uk/2015/03/06/python-importing-global-variables-reference-or-value/#respond
http://www.acodemics.co.uk/2018/05/02/superset-gitlab-oauth-integration/
http://www.acodemics.co.uk/2015/06/08/automatic-tagging-of-articles/
http://www.acodemics.co.uk/category/elsewhere/
http://www.acodemics.co.uk/2014/12/19/merry-christmas/
http://www.acodemics.co.uk/category/gadgets/
http://www.acodemics.co.uk/wp-content/uploads/2015/03/wpid-wp-1425502334405.jpeg
http://www.acodemics.co.uk/category/gaming/micro-review/
http://www.acodemics.co.uk/learning-to-program/#comment-5650
http://www.acodemics.co.uk/category/how-to/
http://www.acodemics.co.uk/category/mobile-phones/
http://www.acodemics.co.uk/author/jack/
http://www.acodemics.co.uk/2015/02/17/bag-of-words-implementation/
http://www.acodemics.co.uk/category/uncategorized/
Whois is a protocol that is access to registering information. You can reach when the website was registered, when it will be expire, what is contact details of the site with the following informations. In a nutshell, it includes these informations;
Domain name:
acodemics.co.uk
Registrant:
Jack Concanon
Registrant type:
UK Individual
Registrant's address:
The registrant is a non-trading individual who has opted to have their
address omitted from the WHOIS service.
Data validation:
Nominet was able to match the registrant's name and address against a 3rd party data source on 10-Dec-2012
Registrar:
Krystal Hosting Ltd [Tag = KRYSTAL]
URL: https://krystal.co.uk
Relevant dates:
Registered on: 09-Oct-2007
Expiry date: 09-Oct-2019
Last updated: 09-Oct-2017
Registration status:
Registered until expiry date.
Name servers:
ns1.krystal.co.uk 77.72.0.11
ns2.krystal.co.uk 139.162.230.184
WHOIS lookup made at 10:15:31 07-Nov-2017
--
This WHOIS information is provided for free by Nominet UK the central registry
for .uk domain names. This information and the .uk WHOIS are:
Copyright Nominet UK 1996 - 2017.
You may not access the .uk WHOIS or use any data from it except as permitted
by the terms of use available in full at http://www.nominet.uk/whoisterms,
which includes restrictions on: (A) use of the data for advertising, or its
repackaging, recompilation, redistribution or reuse (B) obscuring, removing
or hiding any or all of this notice and (C) exceeding query rate or volume
limits. The data is provided on an 'as-is' basis and may lag behind the
register. Access may be withdrawn or restricted at any time.
REFERRER http://www.nominet.org.uk
REGISTRAR Nominet UK
SERVERS
SERVER co.uk.whois-servers.net
ARGS acodemics.co.uk
PORT 43
TYPE domain
OWNER
ORGANIZATION Jack Concanon
TYPE
UK Individual
ADDRESS
The registrant is a non-trading individual who has opted to have their
address omitted from the WHOIS service.
Data validation:
Nominet was able to match the registrant's name and address against a 3rd party data source on 10-Dec-2012
DOMAIN
SPONSOR Krystal Hosting Ltd [Tag = KRYSTAL]
CREATED 2007-10-09
CHANGED 2017-10-09
STATUS
Registered until expiry date.
NSERVER
NS1.KRYSTAL.CO.UK 77.72.0.11
NS2.KRYSTAL.CO.UK 139.162.230.184
NAME acodemics.co.uk
DISCLAIMER
This WHOIS information is provided for free by Nominet UK the central registry
for .uk domain names. This information and the .uk WHOIS are:
Copyright Nominet UK 1996 - 2017.
You may not access the .uk WHOIS or use any data from it except as permitted
by the terms of use available in full at http://www.nominet.uk/whoisterms,
which includes restrictions on: (A) use of the data for advertising, or its
repackaging, recompilation, redistribution or reuse (B) obscuring, removing
or hiding any or all of this notice and (C) exceeding query rate or volume
limits. The data is provided on an 'as-is' basis and may lag behind the
register. Access may be withdrawn or restricted at any time.
REGISTERED yes
The following list shows you to spelling mistakes possible of the internet users for the website searched .