First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
| git rebase --interactive HEAD~2 | |
| # we are going to squash c into b | |
| pick b76d157 b | |
| pick a931ac7 c | |
| # squash c into b | |
| pick b76d157 b | |
| s a931ac7 c |
| // delete console.log | |
| querySelectorAttempt._timerIDs = [] | |
| function querySelectorAttempt(selectors, callback, _attempts){ | |
| if (!Array.isArray(selectors)) selectors = selectors.toString().split(/\s*,\s*/) | |
| console.log('querySelectorAttempt', selectors, _attempts) | |
| if (_attempts == null) _attempts = 20; | |
| var elements | |
| selectors.forEach(function(selector){ | |
| if (elements && elements.length > 0) return; | |
| elements = document.querySelectorAll(selector); |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| #!/usr/bin/env bash | |
| # | |
| # This is sp, the command-line Spotify controller. It talks to a running | |
| # instance of the Spotify Linux client over dbus, providing an interface not | |
| # unlike mpc. | |
| # | |
| # Put differently, it allows you to control Spotify without leaving the comfort | |
| # of your command line, and without a custom client or Premium subscription. | |
| # |
| http://www.100reklam.cz | |
| http://10hvezd.cz | |
| http://12plus12.cz | |
| http://www.17november1989.sk | |
| http://1bazar.sk | |
| http://www.1cfc.cz | |
| http://1cornhill.com | |
| http://1site.cz | |
| http://www.1weby.cz | |
| http://24keys.cz |
| //* Make Font Awesome available | |
| add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' ); | |
| function enqueue_font_awesome() { | |
| wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css' ); | |
| } | |
| /** | |
| * Place a cart icon with number of items and total cost in the menu bar. |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| var DATE_RFC2822 = "ddd, DD MMM YYYY HH:mm:ss ZZ"; | |
| moment().format(DATE_RFC2822); |