###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| import Foundation | |
| import WebKit | |
| final class WebCacheCleaner { | |
| class func clean() { | |
| HTTPCookieStorage.shared.removeCookies(since: Date.distantPast) | |
| print("[WebCacheCleaner] All cookies deleted") | |
| WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| var nightCss = 'html,body,div,span,applet,object,' | |
| + 'h1,h2,h3,h4,h5,h6,p,blockquote,' | |
| + 'pre,abbr,acronym,address,big,cite,' | |
| + 'code,del,dfn,em,font,img,ins,kbd,' | |
| + 'q,s,samp,small,strike,strong,sub,' | |
| + 'sup,tt,var,b,u,i,center,dl,dt,dd,' | |
| + 'ol,ul,li,fieldset,form,label,' | |
| + 'legend,table,caption,tbody,tfoot,thead,th,td' | |
| + '{background:#333333 !important;' | |
| + 'color:#A0A0A0 !important;' |
| #!/usr/bin/python | |
| #coding=utf-8 | |
| import urllib | |
| import urllib2 | |
| import re | |
| import threading | |
| import Queue | |
| url = 'https://who.is/whois/name_search/' |