As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| @function em($target, $context: $base-font-size) { | |
| @if $target == 0 { @return 0 } | |
| @return $target / $context + 0em; | |
| } | |
| $base-font-size: 15px; | |
| h1 { | |
| font-size: em(21px, 15px); // Outputs 1.4em | |
| } |
| /* | |
| * BOT for 10fastfingers, automatic typing with adjustable speed | |
| * ================================================================ | |
| * | |
| * bored in my apartment and decided to hack this game: http://indonesian-speedtest.10fastfingers.com/ | |
| * just start the game, when you're ready to type, DON'T TYPE ANYTHING, open up | |
| * your Developer Tools in Chrome (CTRL+SHIFT+J) and click Console tab, and | |
| * then paste the whole code below, then press enter, and enjoy the show. | |
| * | |
| * twitter.com/kecebongsoft |
| exports.ensureAuthenicated = function(req, res, next) { | |
| if (req.isAuthenticated()) { return next(); } | |
| res.redirect('/login') | |
| } |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| git config --global user.name "name" | |
| git config --global user.email "email" | |
| #---------------------- aliases -------------------- | |
| git config --global alias.st status | |
| git config --global alias.ci commit | |
| git config --global alias.di diff | |
| git config --global alias.co checkout | |
| git config --global alias.br branch | |
| git config --global alias.lol log --pretty=oneline --abbrev-commit --graph --decorate |
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
| sudo cp /private/etc/php.ini.default /private/etc/php.ini; | |
| sudo php /usr/lib/php/install-pear-nozlib.phar; | |
| pear config-set php_ini /private/etc/php.ini; | |
| pecl config-set php_ini /private/etc/php.ini; | |
| sudo pear upgrade-all; | |
| sudo pear install PHP_CodeSniffer; | |
| ---- | |
| nano /private/etc/php.ini; | |
| include_path Zeile einkommentieren & umändern in: |
| node_modules |
| <?php | |
| /** | |
| * This script is part of the TYPO3 project - inspiring people to share! * | |
| * * | |
| * TYPO3 is free software; you can redistribute it and/or modify it under * | |
| * the terms of the GNU General Public License version 2 as published by * | |
| * the Free Software Foundation. * | |
| * * | |
| * This script is distributed in the hope that it will be useful, but * | |
| * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * |