• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4453 shaares
2 / 7
Filters
139 results tagged javascript

Node.js :: Eloquent JavaScript

QRCode

One of the more difficult problems with writing systems that communicate over the network is managing input and output—that is, the reading and writing of data to and from the network and hard drive. Moving data around takes time, and scheduling it cleverly can make a big difference in how quickly a system responds to the user or to network requests.

In such programs, asynchronous programming is often helpful. It allows the program to send and receive data from and to multiple devices at the same time without complicated thread management and synchronization.

https://eloquentjavascript.net/20_node.html
February 24, 2022 at 1:42:36 PM EST *
nodejs javascript tutorial
FILLER

Minify - JavaScript and CSS minifier

QRCode

Minify JS and CSS online, or include the minifier in your project for on-the-fly compression.

https://medium.com/ux-seo-sem-and-webdev-bitesized/top-7-css-minifiers-comparison-f90e28ea0e20

https://www.minifier.org
January 25, 2022 at 10:43:33 AM EST *
minify css javascript
FILLER

Getting Started With jQuery - Ajax The Basics

QRCode

Wanting to make use of Ajax is one of the prime reasons for adopting jQuery.

$.get("mydata.txt").then(
                    function (data) {
                     alert(data);
                    },
                    function () {
                     alert("error");
                    })
                   .always(
                    function () {
                     alert("cleanup");
                    });
https://www.i-programmer.info/programming/jquery/8895-getting-started-with-jquery-ajax-the-basics.html
November 17, 2021 at 11:58:35 AM EST *
jquery javascript ajax promises
FILLER

50 JavaScript Interview Questions You Must Prepare in 2021

QRCode

JavaScript interview questions that will provide you with in-depth knowledge and help you prepare for your interviews.

https://javascript.plainenglish.io/50-javascript-interview-questions-you-must-prepare-in-2021-92fbfb370ed3
September 20, 2021 at 8:21:45 AM EDT *
javascript interviewing
FILLER

Crockford Objects in JavaScript

QRCode

The example that Crockford gave in his presentation on how to create objects is the way developers should use for creating objects. It does not require the 'class' keyword or the 'prototype' property for defining an object. It also does not require using the 'new' keyword for instantiating a new object.

function createThing(name) {
    function getName() {
        return name;
    }

    return Object.freeze({
        name,
        getName
    });
}

const myThing = createThing('My Thing');

https://youtu.be/XFTOG895C7c?t=2807

https://fek.io/blog/crockford-objects-in-java-script
September 16, 2021 at 11:06:32 AM EDT *
javascript coding
FILLER

Kent C. Dodds’ .filter() Trick Will Change How You Use JavaScript | by Dr. Derek Austin 🥳 | Coding at Dawn | Jun, 2021 | Medium

QRCode

Kent C. Dodds’ .filter() Trick Will Change How You Use JavaScript. This one-liner uses the Boolean constructor to magically remove all falsy values from an array ✨.

https://twitter.com/kentcdodds/status/1009918457394225152

const plugins = [
    isProd ? optimizePlug : null,
    isProd ? prodOnlyPlug : null,
    !isProd ? testingPlug : null,
    usefulPlug,
].filter( Boolean );
https://medium.com/coding-at-dawn/kent-c-dodds-filter-trick-will-change-how-you-use-javascript-87b5112f9f6d
July 9, 2021 at 9:31:51 AM EDT *
javascript coding perl
FILLER

Playwright and Mojolicious - DEV Community

QRCode

It's Hack Week again at SUSE. 🥳 An annual tradition where we all work on passion projects for a whole... Tagged with mojolicious, perl, javascript, node.

https://dev.to/kraih/playwright-and-mojolicious-21hn
April 5, 2021 at 9:27:52 AM EDT *
mojolicious perl javascript testing
FILLER

JustSketchMe | Free interactive 3D characters for reference poses.

QRCode

Free interactive 3D characters for reference poses.

Also mannequin.js

https://boytchev.github.io/mannequin.js/posture-editor.html

https://justsketch.me/
February 18, 2021 at 8:18:45 AM EST *
drawing javascript
FILLER

Improve Your JavaScript Level With These 4 Questions | by bitfish | JavaScript In Plain English | Sep, 2020 | Medium

QRCode

JavaScript is now a very popular programming language, based on which a large number of libraries and frameworks have been derived. But no matter how the upper ecosystem evolves, it can’t do without vanilla JavaScript. Here I’ve selected 4 JavaScript interview questions to test a programmer’s skill of vanilla JavaScript.

https://medium.com/javascript-in-plain-english/i-use-these-4-questions-to-find-outstanding-javascript-developers-4a468ea17155
October 1, 2020 at 10:54:13 AM EDT *
javascript interviewing
FILLER

GitHub - duetds/date-picker: Duet Date Picker

QRCode

Duet Date Picker is an open source version of Duet Design System’s WCAG 2.1 compliant date picker. Duet Date Picker can be implemented and used across any JavaScript framework or no framework at all. We accomplish this by using standardized web platform APIs and Web Components.

https://github.com/duetds/date-picker
September 23, 2020 at 7:33:04 AM EDT *
javascript datepicker
FILLER

Essential Cheat Sheet: Convert jQuery to JavaScript

QRCode

After reading your article, I am more convinced than ever to stick with jQuery.

https://webdesign.tutsplus.com/articles/essential-cheat-sheet-convert-jquery-to-javascript--cms-35633
September 18, 2020 at 3:23:55 PM EDT *
javascript jquery webdesign
FILLER

Javascript regular expressions aren’t that daunting — here’s how to design your own

QRCode
https://thenextweb.com/syndication/2020/07/11/javascript-regular-expressions-arent-that-daunting-heres-how-to-design-your-own/
August 14, 2020 at 4:29:33 PM EDT *
javascript regex
FILLER

Fixing memory leaks in web applications | Read the Tea Leaves

QRCode

Modern web app frameworks like React, Vue, and Svelte use a component-based model. Within this model, the most common way to introduce a memory leak is something like this:

window.addEventListener('message', this.onMessage.bind(this));

That’s it. That’s all it takes to introduce a memory leak. If you call addEventListener on some global object (the window, the , etc.) and then forget to clean it up with removeEventListener when the component is unmounted, then you’ve created a memory leak.

http://nolanlawson.com/2020/02/19/fixing-memory-leaks-in-web-applications/
March 6, 2020 at 9:27:54 AM EST *
javascript memory
FILLER

javascript/README.md at master · airbnb/javascript · GitHub

QRCode

A mostly reasonable approach to JavaScript

Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent.

https://github.com/airbnb/javascript/blob/master/README.md
February 11, 2020 at 1:25:40 PM EST *
javascript styleguide
FILLER

ESLint configuration and best practices

QRCode

If you've never heard of Airbnb style guide, I highly recommend that you take a look at the following pieces of documentation:

  • Airbnb JavaScript style guide
  • Airbnb React style guide
  • Airbnb CSS in JavaScript style guide
  • Airbnb Sass style guide
https://blog.geographer.fr/eslint-guide
January 28, 2020 at 9:23:41 AM EST *
nslint javascript
FILLER

Mastering JS console.log like a Pro - JavaScript in Plain English - Medium

QRCode

Use placeholders

There are different placeholders that can be used as listed below
%o — which takes an object,
%s — which takes a string, and
%d — which is for a decimal or integer

https://medium.com/javascript-in-plain-english/mastering-js-console-log-like-a-pro-1c634e6393f9
January 21, 2020 at 9:09:07 AM EST *
javascript console
FILLER

Interviewing at Microsoft— JavaScript Assessment Questions

QRCode

Below are 3 questions from Microsoft’s Online Assessment 2019 for developers

https://medium.com/javascript-in-plain-english/microsoft-online-assessment-questions-js-f68ecdb6e927
January 20, 2020 at 3:14:17 PM EST *
javascript interviewing
FILLER

JavaScript Design Patterns - Better Programming - Medium

QRCode

The underlying concept of design patterns has been around in the software engineering industry since the very beginning, but they weren’t really so formalised. Design Patterns: Elements Of Reusable Object-Oriented Software written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — the famous Gang of Four (GoF)—was instrumental in pushing the formalised concept of design patterns in software engineering. Now, design patterns are an essential part of software development and have been so for a long time.

https://medium.com/better-programming/javascript-design-patterns-25f0faaaa15
January 15, 2020 at 10:51:19 AM EST *
javascript coding
FILLER

GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations

QRCode

I post multiple choice JavaScript questions on my Instagram stories, which I'll also post here! Last updated: December 24th

From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview! muscle rocket I update this repo regularly with new questions. I added the answers in the collapsed sections below the questions, simply click on them to expand it. It's just for fun, good luck! heart

https://github.com/lydiahallie/javascript-questions
January 1, 2020 at 7:12:08 PM EST *
coding javascript interviewing
FILLER

Using the DOM like a Pro - ITNEXT

QRCode

The legacy of jQuery is quite impressive and a great example of how it influenced the standards are the querySelector and querySelectorAll methods which mimic jQuery’s $ function.

You can use document.querySelectorAll in the same way as document.querySelector. Any valid CSS selector will do and the only difference is querySelector will return a single element whereas querySelectorAll will return a static NodeList containing the found elements. If there are no elements found it will return an empty NodeList.

You don’t necessarily need to run querySelector(All) on document. You can run it on any HTMLElement to run a relative search:

https://itnext.io/using-the-dom-like-a-pro-163a6c552eba
September 3, 2019 at 9:14:25 AM EDT *
javascript jquery
FILLER
2 / 7
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community