When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| /* ==UserStyle== | |
| @name Custom website fonts | |
| @namespace github.com/dearrrfish/my-userscripts | |
| @version 1.0.0 | |
| @description Override fonts & styles on websites | |
| @author Me | |
| ==/UserStyle== */ | |
| body { | |
| -webkit-font-smoothing: subpixel-antialiased !important; | |
| /* font-family: 'LXGW WenKai UI' */ |
| https://anti-ad.net/domains.txt |
| // an example to create a new mapping `ctrl-y` | |
| mapkey('<Ctrl-y>', 'Show me the money', function() { | |
| Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).'); | |
| }); | |
| // an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
| map('gt', 'T'); | |
| // an example to remove mapkey `Ctrl-i` | |
| unmap('<Ctrl-i>'); |
These rules are adopted from the AngularJS commit conventions.
| " vim: set ft=vim : | |
| set smoothscroll | |
| let scrollduration = 250 | |
| "let barposition = "bottom" | |
| let completionengines = ["google", "wikipedia", "amazon", "youtube"] | |
| "set noautofocus | |
| "let zoomfactor=0.1 |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Author: p0we7 | |
| # Email : [email protected] | |
| def handle_import_error(): | |
| print '\n' + "Import Error:" | |
| print 'Please install the required 3rd-party modules ' + '\033[4;95m' + 'requests' + '\033[0m' + '\n' | |
| import sys | |
| sys.exit() |
| // http://zurb.com/forrst/posts/Alternative_HTTP_Request_method_for_Node_js_usin-Jek | |
| /** | |
| * Send Request | |
| * | |
| * Send Request function uses the CURL command line tool | |
| * rather than Node's built-in HTTP functions because | |
| * it makes specifiying a proxy connection much easier | |
| */ | |
| function send_request(opts, callback) { | |
| var curl = spawn('curl', ['--proxy', 'myproxy.com:1234', '-s', '-S', opts.uri]), |
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>F19 to F19</name> | |
| <appendix>(F19 to Hyper (ctrl+shift+cmd+opt) + F19 Only, F19)</appendix> | |
| <identifier>private.f192f19</identifier> | |
| <autogen> | |
| --KeyOverlaidModifier-- | |
| KeyCode::F19, | |
| KeyCode::COMMAND_L, |
| #!/bin/sh | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Set the colours you can use | |
| black='\033[0;30m' | |
| white='\033[0;37m' | |
| red='\033[0;31m' |