| <script type="text/javascript"> | |
| var app = { | |
| init: function() { | |
| window.addEventListener('scroll', function() { | |
| if (window.__he == undefined) { | |
| app.load(); | |
| } | |
| }); | |
| window.addEventListener('mousemove', function() { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Graphics, Games, Programming, and Physics Blogs</title> | |
| </head> | |
| <body> | |
| <outline text="Tech News" title="Tech News"> | |
| <outline type="rss" text="Ars Technica" title="Ars Technica" xmlUrl="http://feeds.arstechnica.com/arstechnica/index/" htmlUrl="https://arstechnica.com"/> | |
| <outline type="rss" text="Polygon - Full" title="Polygon - Full" xmlUrl="http://www.polygon.com/rss/index.xml" htmlUrl="https://www.polygon.com/"/> | |
| <outline type="rss" text="Road to VR" title="Road to VR" xmlUrl="http://www.roadtovr.com/feed" htmlUrl="https://www.roadtovr.com"/> |
| <?php | |
| /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
| /* Remove Yoast SEO Change existing title or meta template variable | |
| * Credit: Moshe Harush | |
| * https://stackoverflow.com/questions/36281915/yoast-seo-how-to-create-custom-variables | |
| * Last Tested: Unknown | |
| */ | |
| // define the wpseo_replacements callback | |
| function filter_wpseo_replacements( $replacements ) { |
First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)
$ git checkout masterFetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
| 0px 0rem .p-0 | |
| 4px 0.25rem .p-1 | |
| 8px 0.5rem .p-2 | |
| 12px 0.75rem .p-3, .leading-3, .text-xs | |
| 14px 0.875rem .text-sm | |
| 16px 1rem .p-4, .leading-4, .text-base | |
| 18px 1.125rem .text-lg | |
| 20px 1.25rem .p-5, .leading-5, .text-xl | |
| 24px 1.5rem .p-6, .leading-6, .text-2xl | |
| 28px 1.75rem .leading-7 |
-
When writing a string of multiple utility classes, always do so in an order with meaning. The "Concentric CSS" approach works well with utility classes (i.e,. 1. positioning/visibility 2. box model 3. borders 4. backgrounds 5. typography 6. other visual adjustments). Once you establish a familiar pattern of ordering, parsing through long strings of utility classes will become much, much faster so a little more effort up front goes a long way!
-
Always use fewer utility classes when possible. For example, use
mx-2instead ofml-2 mr-2and don't be afraid to use the simplerp-4 lg:pt-8instead of the longer, more complicatedpt-4 lg:pt-8 pr-4 pb-4 pl-4. -
Prefix all utility classes that will only apply at a certain breakpoint with that breakpoint's prefix. For example, use
block lg:flex lg:flex-col lg:justify-centerinstead ofblock lg:flex flex-col justify-centerto make it very clear that the flexbox utilities are only applicable at the
| /* | |
| Tailwind - The Utility-First CSS Framework | |
| A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), | |
| David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger). | |
| Welcome to the Tailwind config file. This is where you can customize | |
| Tailwind specifically for your project. Don't be intimidated by the |