#Linux & Ubuntu Tips
[TOC]
##Yinka's favourite packages
| @media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
| @media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
| @media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
| @media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
| @media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
| @media (min-width:1281px) { /* hi-res laptops and desktops */ } |
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| <svg xmlns="http://www.w3.org/2000/svg" onload="func(evt)"> | |
| <script> | |
| function func(evt) { | |
| var ns = "http://www.w3.org/2000/svg"; | |
| var doc = evt.target.ownerDocument; | |
| var circle = doc.createElementNS(ns, 'circle'); | |
| circle.setAttributeNS(null, 'cx', '100'); | |
| circle.setAttributeNS(null, 'cy', '100'); | |
| circle.setAttributeNS(null, 'r', '50'); | |
| doc.documentElement.appendChild(circle); |
| .markdown { | |
| background-color: white; | |
| padding: 20px; | |
| max-width: 800px; | |
| margin: auto; | |
| } | |
| .markdown a { | |
| color: #4183C4 !important; } | |
| .markdown a.absent { |
| @import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic|Open+Sans:400italic,700italic,400,700); | |
| /* Reset */ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, | |
| dl, dt, dd, ol, ul, li, |
| /* | |
| ============================================== | |
| CSS3 ANIMATION CHEAT SHEET | |
| ============================================== | |
| Made by Justin Aguilar | |
| www.justinaguilar.com/animations/ | |
| Questions, comments, concerns, love letters: |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| " copy all this into a vim buffer, save it, then... | |
| " source the file by typing :so % | |
| " Now the vim buffer acts like a specialized application for mastering vim | |
| " There are two queues, Study and Known. Depending how confident you feel | |
| " about the item you are currently learning, you can move it down several | |
| " positions, all the way to the end of the Study queue, or to the Known | |
| " queue. | |
| " type ,, (that's comma comma) |