Warning
These guidelines haven't been updated since 2016. Learn more…
Table of contents
Warning
These guidelines haven't been updated since 2016. Learn more…
Table of contents
Markdown backup of ‟Why white looks bigger than black — The irradiation illusion” article by Gonçalo Dias, originally published in UX Collective.
The unknown optical illusion every designer should know
| <body bgcolor=#223><center> | |
| <div style=font-size:45px><b>ℤ𝕫𝔽𝕏 - Zuper Zmall Zound Zynth</b></div> | |
| <div style=font-size:20px><i>A tiny tool for creating and playing sound effects with JavaScript</i></div> | |
| <div style=max-width:799px> | |
| <div style=font-size:20px> | |
| <input id=volume type=range min=0 max=1 step=.01 oninput='zzfxV=volume.value;volumeText.innerHTML=volume.value*100|0'></input> | |
| Volume <span id=volumeText>30</span> % | |
| </div> | |
| <button onClick=zzfx(...[,,1675,,.06,.24,1,1.82,,,837,.06])>💰</button> | |
| <button onClick=zzfx(...[,,925,.04,.3,.6,1,.3,,6.27,-184,.09,.17])>🥊</button> |
| <?php | |
| // PHP Logical operators: The difference between OR vs ||, AND vs && | |
| // Key concept #1: "||" and "&&" have greater precedence than "=", "OR", "AND" | |
| // http://php.net/manual/en/language.operators.precedence.php | |
| // Key concept #2: PHP logical operators are short-circuit | |
| // http://en.wikipedia.org/wiki/Short-circuit_evaluation | |
| // http://php.net/manual/en/language.operators.logical.php |
Table of contents
Python Cheatsheets
http://refcardz.dzone.com/refcardz/core-python
http://rgruet.free.fr/
Learn Python in 10 minutes
http://www.stavros.io/tutorials/python/
https://leanpub.com/learn-python
| <?php | |
| /** | |
| * PHP Regex to validate a Twitter hashtag | |
| * | |
| * Useful for validating a text input (an HTML form in your CMS or custom application) that must be a valid Twitter hashtag. | |
| * Valid examples: #a, #_, #_1, #_a, #1a, #áéìôü, #123hàsh_täg446 | |
| * Invalid examples: #1, ##hashtag, #hash-tag, #hash.tag, #hash tag, #hashtag!, (any hashtag that is more than 140 characters long, hash symbol included) | |
| * | |
| * Regex explanation: | |
| * First, the lookahead assertion (?=.{2,140}$) checks the minimum and max length, as explained here http://stackoverflow.com/a/4223213/1441613 |
A list of company-related stuff—mission, core values, and culture—that I research before considering applying to a job.
Sure, it’s nearly impossible to find a company that will satisfy every single point, but it helps me at least in finding better matches against my personal preferences and values.
The list doesn’t follow any specific order.
| include ../mixins/util | |
| #mailtoui-modal.mailtoui-modal(style="display: none;" aria-hidden="true") | |
| .mailtoui-modal-content | |
| .mailtoui-modal-head | |
| #mailtoui-modal-title.mailtoui-modal-title Send email to… | |
| a#mailtoui-modal-close.mailtoui-modal-close(title="Close" aria-label="Close" href="#") | |
| +svg('delete') | |
| .mailtoui-modal-body | |
| #mailtoui-copy.mailtoui-copy |