Shineyrock web design & consultancy

Shineyrock

Gezocht op: "100" / 313 gevonden

Node.js for Beginners

…1000000000; var d = Date.now(); for (i = 0; i < max; i++) { a = 1234 + 5678 + i; b = 1234 * 5678 + i; c = 1234 / 2 + i; } console.log(Date.now() - d); And here is the equivalent written in PHP: $a = null;…


How to Create a Resumable Video Uploader in Node.js

…100; socket.emit("MoreData", { Place: Place, Percent: Percent }); } ); } else { let Place = Files[Name]["Downloaded"] / 524288; let Percent = (Files[Name]["Downloaded"] / Files[Name]["FileSize"]) * 100; socket.emit("MoreData", { Place: Place, Percent: Percent }); } }); The first two lines of this code update the buffer with the new data…


Image Resizing Made Easy With PHP

…100, 'crop'); // *** 3) Save image $resizeObj -> saveImage('sample-resized.gif', 100); From the code above, you can see we're opening a jpg file but saving a gif. Remember, it's all about flexibility. 3. Create the Class Skeleton It's Object-Oriented Programming (OOP) that makes this sense of ease possible. Think of…


Relational Databases for Dummies

…100), username VARCHAR(100) ); RDBMSs require that each column in a table is given a data type. Here I have assigned the "full_name" and "username" columns the data type VARCHAR, which is a string that can vary in width. I've arbitrarily set a max length of 100. A full list…


HTTP: The Protocol Every Web Developer Must Know - Part 1

…100-continue message, telling the client to continue sending the remainder of the request, or ignore if it has already sent it. HTTP/1.0 clients are supposed to ignore this header. 2xx: Successful This tells the client that the request was successfully processed. The most common code is 200 OK. For a…


Build a Complete MVC Website With Express

…* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} What Is Express? Express is one of the best frameworks for Node.js. It has great support and a bunch of helpful features. There are a lot of great articles out there, which cover all of the basics. However, this time I want…


Getting Started With TypeScript

…100]; Looking at the code above, the array has a fixed length of two elements representing the name of a shape and area; the first element is of type string and the second element is of type number. If we try adding a third element, for example a type number,…


Learn JavaScript

…* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;}#ifmzv{background-color:rgb(243, 245, 246);}#ifdsy-2{background-color:rgb(243, 245, 246);}#ifdsy-2-2{background-color:rgb(243, 245, 246);}#ifdsy-2-2-2{background-color:rgb(243, 245, 246);}#iqgsz{background-color:rgb(243, 245, 246);}#i7r43{background-color:rgb(243, 245, 246);}Wondering how to learn JavaScript on your own? There are plenty of JavaScript tutorials and resources on Envato Tuts+ and its YouTube channel. What Is JavaScript? JavaScript is a dynamic scripting…


How to Create Presentation Slides With HTML and CSS

…100vw; height: 100vh; display: flex; align-items: center; justify-content: center; } ul { margin-left: 2rem; } ul li, a { font-size: 1.2em; } .container { background: #212121; width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } #presentation-area { width: 1000px; height: 500px; position: relative; background: purple; }…


Working With LESS and the Chrome DevTools

…This is a complete tutorial to using LESS with Chrome’s DevTools. If you’ve already used Sass with Chrome’s DevTools, you’ll most likely already be familiar with the concepts introduced here.The Tl;drLESS has very recently added support for Source Maps, so this is new and exciting!DevTools mapping means you can view…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.