Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| formátování <fieldset> a <legend> je opravdu vojeb. veškerá řešení, | |
| která jsem našel vyžadovala přidat do kódu nějaké pomocné <div>y nebo | |
| <span>y. takové řešení mi ale nevyhovuje | |
| nakonec jsem dospěl k tomuto. vypadá na pixel stejně ve všech novějších | |
| prohlížečích včetně IE7. v IE6 a starších (bez selektorů + a >) nefunguje | |
| falešný padding |
| location / { | |
| if (!-e $request_filename) { | |
| rewrite ^/(.*)$ /index.php last; | |
| break; | |
| } | |
| } |
| --- | |
| #### | |
| #### THIS IS OLD AND OUTDATED | |
| #### LIKE, ANSIBLE 1.0 OLD. | |
| #### | |
| #### PROBABLY HIT UP https://docs.ansible.com MY DUDES | |
| #### | |
| #### IF IT BREAKS I'M JUST SOME GUY WITH | |
| #### A DOG, OK, SORRY | |
| #### |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
| ######################### | |
| # .gitignore file for Xcode4 and Xcode5 Source projects | |
| # | |
| # Apple bugs, waiting for Apple to fix/respond: | |
| # | |
| # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? | |
| # | |
| # Version 2.6 | |
| # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| # |
Put test1.js and test2.js into a tests/ directory, then run the suite:
$ casperjs test tests/ --pre=pre.js --includes=inc.js --post=post.js
Test file: /Users/nperriault/tmp/pre-inc/pre.js
Hey, I'm executed before the suite.
Test file: /Users/nperriault/tmp/pre-inc/tests/test1.js
# this is test 1
Hi, I've been included.
PASS Subject is strictly true
| namespace Fmdb\CoreBundle\Composer; | |
| use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler; | |
| use Symfony\Component\ClassLoader\ClassCollectionLoader; | |
| use Symfony\Component\Process\Process; | |
| class ScriptHandler extends BaseScriptHandler | |
| { | |
| public static function installBowerAssets($event) | |
| { |
| <Alloy> | |
| <TabGroup> | |
| <Tab title="tab 1"> | |
| <Window title="tab 1"/> | |
| </Tab> | |
| <Tab title="tab 2"> | |
| <Window title="tab 2"/> | |
| </Tab> | |
| </TabGroup> | |
| </Alloy> |
| <?php | |
| // **** | |
| // Inspired by: https://gist.github.com/robflaherty/1185299 | |
| class csv2json { | |
| private static function csvToArray($file, $delimiter) { | |
| if (($handle = fopen($file, 'r')) !== FALSE) { | |
| $i = 0; | |
| while (($lineArray = fgetcsv($handle, 4000, $delimiter, '"')) !== FALSE) { | |
| for ($j = 0; $j < count($lineArray); $j++) { | |
| $arr[$i][$j] = $lineArray[$j]; |