A quick intro to why you might use Gulp and how to get started. Produced for the May KnoxvilleJS Meetup.
See a sample gulpfile from a recent project at https://gist.github.com/raddevon/35ce4c50855d8334ff2f
A quick intro to why you might use Gulp and how to get started. Produced for the May KnoxvilleJS Meetup.
See a sample gulpfile from a recent project at https://gist.github.com/raddevon/35ce4c50855d8334ff2f
Gulp is a front-end development tool.
It is basically a streaming build system which provides a way of doing automatic tasks that you have to do yourself again and again.
It's easy to use and very efficient. It all depends on plugins that are intended to only do one job each.
View the deck to know more about Gulp.
Zero Downtime Deployment with Ansible - learn how to provision Linux servers with a web-proxy, a database and automate zero downtime deployment of a Java application to a load balanced environment.
These are the slides from a tutorial held at the Velocity Conference in Barcelona November 19th, 2014.
Git repo: https://github.com/steinim/zero-downtime-ansible
This slide will make the assumption that you have never used a task runner before and will walk through every step required to get up and running with gulp.
Continuous Integration & Continuous Delivery with GCPKAI CHU CHUNG
quick introduction to CI & CD with Google cloud platform
- App Engine Development
- Devops: CI & CD (Docker, gitlab, GCP)
- Tips & Study information
repo: https://gitlab.com/cage1016/gae-flask
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...Jesse Gallagher
Though Domino makes working with build servers and CI/CD pipelines difficult, it is possible to do so even with complex applications. This session will discuss the specifics of using several OpenNTF projects - NSF ODP Tooling, the Jakarta XPages Runtime, and XPages Jakarta EE Support - as well as open-source technologies such as Docker to build, test, and deploy Java-based Domino applications for testing and staging. This builds on previous sessions about the NSF ODP Tooling and Maven generally.
Gulp is a front-end development tool.
It is basically a streaming build system which provides a way of doing automatic tasks that you have to do yourself again and again.
It's easy to use and very efficient. It all depends on plugins that are intended to only do one job each.
View the deck to know more about Gulp.
Zero Downtime Deployment with Ansible - learn how to provision Linux servers with a web-proxy, a database and automate zero downtime deployment of a Java application to a load balanced environment.
These are the slides from a tutorial held at the Velocity Conference in Barcelona November 19th, 2014.
Git repo: https://github.com/steinim/zero-downtime-ansible
This slide will make the assumption that you have never used a task runner before and will walk through every step required to get up and running with gulp.
Continuous Integration & Continuous Delivery with GCPKAI CHU CHUNG
quick introduction to CI & CD with Google cloud platform
- App Engine Development
- Devops: CI & CD (Docker, gitlab, GCP)
- Tips & Study information
repo: https://gitlab.com/cage1016/gae-flask
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...Jesse Gallagher
Though Domino makes working with build servers and CI/CD pipelines difficult, it is possible to do so even with complex applications. This session will discuss the specifics of using several OpenNTF projects - NSF ODP Tooling, the Jakarta XPages Runtime, and XPages Jakarta EE Support - as well as open-source technologies such as Docker to build, test, and deploy Java-based Domino applications for testing and staging. This builds on previous sessions about the NSF ODP Tooling and Maven generally.
Agenda
Setting up an angular app.
Introduction to tools - Babel, Webpack
Alternative to Gulp, Grunt & Bower.
Writing Controllers, Services, Directives etc..
Testing Javascript with Jasmine.
Setting up Karma with Webpack.
Let’s understand code coverage.
An alternative: JEST
Webpack has quickly become one of the most popular choices among web developer builder tools. It can build, minify, split and do others awesome things to your assets.
We will do a simple walk through to let you familiar with the basics of webpack and all its potential.
Tutorial to setup OpenStreetMap tileserver with customized boundaries of IndiaArun Ganesh
Step by step instructions on setting up a custom OpenStreetMap tileserver and customizing the borders of India to display it as per the official map of India.
Source: Shatrughan Saxena https://github.com/azaadshatru/OSM
A bit of history, frustration-driven development, and why and how we started looking into Puppet at Opera Software. What we're doing, successes, pain points and what we're going to do with Puppet and Config Management next.
Improving build solutions dependency management with webpackNodeXperts
Do you know ? - " The fine art of Webpack "
Topics Covered :
- What are Build Tools ?
- What is a Dependency graph ?
- What is webpack & its impacts
- What is a webpack config file and how is it written ?
- Webpack VS Grunt/Gulp & Browserify
Automating Your Workflow with Gulp.js - php[world] 2016Colin O'Dell
Gulp is a powerful utility for automating development workflows. Tasks are written using code, not configuration, enabling the easy creation of highly-custom and flexible automations. This talk introduces developers to the core concepts of gulp.js, and how to leverage it for new & existing projects. We’ll cover several examples of common tasks for managing CSS, JS and PHP, including: compiling Sass, minifying files, running PHP tests, checking code styles, ensuring legacy browser support & more.
Grunt helps front-end web developers automate common tasks such as: linting, testing, sass compilation, watching assets. Check basic features of node.js, npm and Grunt.
Similar to Frontend JS workflow - Gulp 4 and the like (20)
# Internet Security: Safeguarding Your Digital World
In the contemporary digital age, the internet is a cornerstone of our daily lives. It connects us to vast amounts of information, provides platforms for communication, enables commerce, and offers endless entertainment. However, with these conveniences come significant security challenges. Internet security is essential to protect our digital identities, sensitive data, and overall online experience. This comprehensive guide explores the multifaceted world of internet security, providing insights into its importance, common threats, and effective strategies to safeguard your digital world.
## Understanding Internet Security
Internet security encompasses the measures and protocols used to protect information, devices, and networks from unauthorized access, attacks, and damage. It involves a wide range of practices designed to safeguard data confidentiality, integrity, and availability. Effective internet security is crucial for individuals, businesses, and governments alike, as cyber threats continue to evolve in complexity and scale.
### Key Components of Internet Security
1. **Confidentiality**: Ensuring that information is accessible only to those authorized to access it.
2. **Integrity**: Protecting information from being altered or tampered with by unauthorized parties.
3. **Availability**: Ensuring that authorized users have reliable access to information and resources when needed.
## Common Internet Security Threats
Cyber threats are numerous and constantly evolving. Understanding these threats is the first step in protecting against them. Some of the most common internet security threats include:
### Malware
Malware, or malicious software, is designed to harm, exploit, or otherwise compromise a device, network, or service. Common types of malware include:
- **Viruses**: Programs that attach themselves to legitimate software and replicate, spreading to other programs and files.
- **Worms**: Standalone malware that replicates itself to spread to other computers.
- **Trojan Horses**: Malicious software disguised as legitimate software.
- **Ransomware**: Malware that encrypts a user's files and demands a ransom for the decryption key.
- **Spyware**: Software that secretly monitors and collects user information.
### Phishing
Phishing is a social engineering attack that aims to steal sensitive information such as usernames, passwords, and credit card details. Attackers often masquerade as trusted entities in email or other communication channels, tricking victims into providing their information.
### Man-in-the-Middle (MitM) Attacks
MitM attacks occur when an attacker intercepts and potentially alters communication between two parties without their knowledge. This can lead to the unauthorized acquisition of sensitive information.
### Denial-of-Service (DoS) and Distributed Denial-of-Service (DDoS) Attacks
This 7-second Brain Wave Ritual Attracts Money To You.!nirahealhty
Discover the power of a simple 7-second brain wave ritual that can attract wealth and abundance into your life. By tapping into specific brain frequencies, this technique helps you manifest financial success effortlessly. Ready to transform your financial future? Try this powerful ritual and start attracting money today!
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
Wireless communication involves the transmission of information over a distance without the help of wires, cables or any other forms of electrical conductors.
Wireless communication is a broad term that incorporates all procedures and forms of connecting and communicating between two or more devices using a wireless signal through wireless communication technologies and devices.
Features of Wireless Communication
The evolution of wireless technology has brought many advancements with its effective features.
The transmitted distance can be anywhere between a few meters (for example, a television's remote control) and thousands of kilometers (for example, radio communication).
Wireless communication can be used for cellular telephony, wireless access to the internet, wireless home networking, and so on.
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBrad Spiegel Macon GA
Brad Spiegel Macon GA’s journey exemplifies the profound impact that one individual can have on their community. Through his unwavering dedication to digital inclusion, he’s not only bridging the gap in Macon but also setting an example for others to follow.
5. Package Manager
Handles dependencies
Package: a set of files that are bundled together
and can be installed and removed as a group.
Centralisation (one database/registry to pull data from)
Installation/uninstallation (one command to execute)
Upgrade (versionning)
Link Dependencies (avoid dependency hell)
7. Bower
$ bower install underscore#1.0.3
$ bower install backbone # with underscore as a dependency
Unable to find a suitable version for underscore, please choose one:
1) underscore#1.0.3 which resolved to 1.0.3 and is required by bowerexample
2) underscore#>=1.7.0 which resolved to 1.8.3 and is required by backbone#1.2.3
.
└── bower_components
├── backbone
└── underscore
$ npm install -g bower
8. $ npm install underscore@1.0.3
$ npm install backbone # with underscore as a dependency
.
└── node_modules
├── backbone
│ └── node_modules
│ └── underscore
└── underscore
$ npm uninstall underscore
$ npm dedupe
underscore@1.8.3
node_modules/backbone/node_modules/underscore -> node_modules/underscore
npm and front-end packaging
npm as a front-end package manager by @kewah
npm is only for CommonJS!
npm is only for server-side JavaScript!
9. JSPM
Dynamically loads ES6 modules in browsers and NodeJSSystemJS:
: list of packages and their endpointRegistry
$ jspm install npm:react
$ jspm install github:angular/bower-angular
$ jspm install react
"react": "npm:react",
.
├── config.js
├── jspm_packages
└── package.json
19. RequireJS
Pros
Syntax: mostly AMD (CommonJS support not ideal)-
Works in the browser directly-
RequireJS optimizer to bundle/minify-
Cons
Not suited for server side/client application-
Some cryptic error messages-
20. Browserify
Pros
Syntax: CommonJS (+ deAMDify & debowerify)-
Backed up by the huge npm community-
Client-side and server-side modules-
Shim Node.js modules-
(deAMDify translate AMD modules to Node-
style modules automatically)
- List of transforms
Cons
Need a tool to watch and bundle ( )- watchify
Tightly bound to Node.js ecosystem-
21. Webpack
Pros
Syntax: CommonJS and AMD-
Doesn't try to be compatible with node.js at all costs-
Client-side and server-side modules-
(UglifyJsPlugin)- List of plugins
Cons
Configuration over convention-
More features in its core (less modular) but also a pro-
> browserify for webpack users
22. JSPM featuring SystemJS
Pros
Syntax:- ES6, CommonJS, AMD...
Compliant with the ES6 modules specification and future-friendly-
No bundling needed (like RequireJS) = no watcher-
Bundling optional-
(similar to Webpack loaders plugins)- List of plugins
Cons
Needs better performances-
...but doesn't matter in dev since bundling is not needed-
23. Rollup
Pros
Syntax:- ES6, CommonJS, AMD...
... but can only optimize ES6 modules-
- live-code inclusion aka tree-shaking
- List of plugins
Cons
Yet another module bundler-
...but will probably be integrated into- SystemJS
> rollup-starter-project
24. Rollup tree shaking
utils.js
var foo = {};
foo.a = 1;
var bar = {};
bar.b = 2;
export { foo, bar };
main.js
import { foo, bar } from './utils.js';
console.log( foo.a );
bundle.js
'use strict';
var foo = {};
foo.a = 1;
console.log( foo.a );
34. Gulp API
.src() and .dest()
gulp.src([`${config.src}/images/**/*`, `!${config.src}/images/{sprite,sprite/**}`])
A 'glob' is a pattern that allow us to select or exclude a set of files.
=> returns a stream that we can 'pipe'
.pipe(imagemin())
=> transforms the files from the stream (minify them)
.pipe(gulp.dest(`${config.dist}/images`));
=> writes the minified files to the system
gulp.src([`${config.src}/images/**/*`, `!${config.src}/images/{sprite,sprite/**}`])
.pipe(imagemin())
.pipe(gulp.dest(`${config.dist}/images`));
35. Gulp API
.task() and .watch()
gulp.task('images', function() {
return gulp.src([`${config.src}/images/**/*`, `!${config.src}/images/{sprite,sprite/**}`
.pipe(imagemin())
.pipe(gulp.dest(`${config.dist}/images`));
});
=> programmatic API for task dependencies and .watch()
gulp.task('serve', ['images', 'takeABreak', 'smile'], function() {
// Serve once the images, takeABreak and smile tasks have completed
...
});
gulp.watch(`${config.src}/images/**/*`, ['images']);
=> ... and more importantly to the CLI
$ gulp images
36. Gulp CLI
$ gulp <task> <othertask>
$ npm install gulp-cli -g
gulp --gulpfile <gulpfile path> # will manually set path of gulpfile.
gulp --cwd <dir path> # will manually set the CWD.
gulp --tasks # will display the task dependency tree for the loaded gulpfile.
gulp --verify # will verify plugins in package.json against the plugins blacklist
Full list of arguments
37. Changes in Gulp 4
$ npm install -g gulpjs/gulp-cli#4.0
package.json
"devDependencies": {
"gulp": "github:gulpjs/gulp#4.0",
...
}
Slight API changes
New task system
See dmnsgn/gulp-frontend-boilerplate
49. JS fatigue
A new JS framework a day
Too many tools
2015: JavaScript tool X was useful
2016: Make X easier to install/setup/use for all new
users. Minimize dependency & configuration hell.
— Addy Osmani (@addyosmani) January 8, 2016
Controversial articles (some probably missing the point)
- Stop pushing the web forward
- Javascript Fatigue
- State of the Union.js
- Solar system of JS
50. Why it is not a problem if you keep the UX in mind
by- The Controversial State of JavaScript Tooling Nicolás
Bevacqua (@ponyfoo)
by- Why I love working with the web Remy Sharp (@rem)
by- If we stand still, we go backwards Jake Archibald
(@jaffathecake)
Just because it's there, doesn't mean you must
learn it and use it. [...] No one can be an expert in
the whole web. [...] The great thing about the web
is it doesn't hit 1.0 and stop, it's continual.