Белов Артём «Право.ру» (Самара) – Прогрессивные методы ускорения
I hereby claim:
- I am artbelov on github.
- I am artbelov (https://keybase.io/artbelov) on keybase.
- I have a public key whose fingerprint is 605C 35C4 4834 628B C615 8409 7EEF 73A8 D2A8 862C
To claim this, I am signing this object:
Презентация и исходники – https://app.box.com/s/pavd8x1he8ljm9k0whch55yeu70btqky
Исходники с Hello World на обеих платформах в комплекте.
Ссылки по NW.js:
| <!doctype html> | |
| <html ng-app="app" class="no-js" lang=""> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| </head> | |
| <body ng-controller="xmlCtrl"> | |
| <div class="xml"> | |
| {{result.testsuite.testcase | json}} |
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Mac Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you will see an error like this:
$ npm update npm -g
To run this, you can try:
curl -ks https://gist.github.com/nicerobot/2697848/raw/uninstall-node.sh | bash
I haven't tested this script doing it this way but i run a lot of my Gists like this so maybe this one'll work too.
Alternatively,
curl -ksO https://gist.github.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
Захват тега — <tag[^>]*?>[\s\S]*?<\/tag>
Захват тега с атрибутами — \s[^\s]*?=\"[^"]*\"
Захват тега без атрибута attr — \sattr=[\"''][^"]*[\"'']
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1"| <?php | |
| switch ($modx->event->name) { | |
| case 'msOnChangeOrderStatus': | |
| if ($status == 3) { | |
| $modx->getService('error', 'error.modError'); | |
| $modx->getService('mail', 'mail.modPHPMailer'); | |
| $modx->setLogLevel(modX::LOG_LEVEL_INFO); | |
| $modx->setLogTarget('FILE'); | |
| $modx->log(modX::LOG_LEVEL_INFO, 'Заказ №' . $order->get('id')); |
| // Import Compass | |
| @import compass | |
| // Get Sprite Map | |
| $icons: sprite_map('icons/*.png') | |
| // Set Common Class | |
| [class^="icon-"],[class*=" icon-"] | |
| display: inline-block | |
| background-image: $icons |