Shineyrock web design & consultancy

Shineyrock

Gezocht op: "100" / 313 gevonden

Refactoring Legacy Code - Part 10: Dissecting Long Methods with Extractions

…100 numbers and you will immediately see that it is not. It is actually seems to be working for numbers between 40 and 99. It misfires once between 30-39 by nominating 35 as prime. Same is true in the 20-29 range. 25 is considered prime. This exercise that started as…


How to Build Rate Limiting into Your Web App Login

…100 list is 40%, and the top 500 make up 71%. In other words, people commonly use and re-use a small number of passwords; in part, because they are easy to remember and easy to type.That means that even a tiny dictionary attack using just the twenty-five most common passwords could be…


Building a Customer Management App Using AngularJS and Laravel

…100%; } table thead tr { background: #ccc; } table tbody tr { background: #ddd; } table tbody tr:nth-child(2n + 1) { background: #eee; } table tr td:nth-child(1) { text-align: center; } table tr td:nth-child(3), table tr td:nth-child(4) { text-align: right; } .error { color: red; }Now open the app…


Building a Website by Progressive Enhancement

…100px 10px 20px; margin: 0; background: #dfdfdf; font-weight: normal; font-size: 3em; } Notice how we changed the font size—we used em instead of any other unit. This is because of the last of the rules explained in the first part of this series. Users can change the base size of…


Building a Website With Progressive Enhancement

…100px 10px 20px; margin: 0; background: #dfdfdf; font-weight: normal; font-size: 3em; } Notice how we changed the font size — we used em instead of any other unit. This is because of the last of the rules explained in the first part of this series: Users can change the base…


Creating a PayPal Buy Now Button With Variable Shortcodes

…100, or 40. Remember not to include the currency symbol in the amount variable.[buy_now amount=150 currency=GBP size=LG]Step 5One final point I should make is that because there are default values set already, you don't need to set all three variables each time; you could simply change one or two of…


Introduction to Generators & Koa.js: Part 2

…1000*60*3 , // 3 min max: 10, blacklist: []})); app.use(logger());Here we have imported two modules and added them as middleware. The logger will log each request and print in the stdout of the process which can be easily saved in a file. And limit middleware limits the number of requests…


Building With the Twitter API: OAuth, Reading and Posting

…100) of tweets since the highest previously processed one. The Twitter API recognizes the since_id as a pointer to the place in the timeline you wish to start retrieving from. It will return all the tweets more recent than since_id. In the example below, we're querying the REST API statuses/home_timeline…


50 Filters of WordPress: Filters 11-20

…100 ); ?> Or if you're on WordPress Multisite and you need to enable this feature (since it's disabled by default on Multisite), you can use the __return_true() function: <?php add_filter( 'enable_post_by_email_configuration', '__return_true', 100 ); ?> Filtering Your Page Titles The wp_title() function outputs the page titles, the ones that…


Building With the Twitter API: Using Real-Time Streams

…1000  9768  9743  20   0 273112 16916 poll_s S    pts/0      0:00 php ./app/stream.php StreamAnd you can terminate Phirehose by killing the job id:kill 9768In my experience, Phirehose has worked flawlessly with this technique operating without interruption for the past two weeks.Processing the Streaming DataWe also need…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.