create free ssl / https with nginx and yii2 using letsencrypt

Update your sources.list apt, in my case. I using debian 8 with nginx and yii2 is my php framework. add this source code like this following below if you are using Jessie : Using your console, update your repository like below :  nano /e


 

admin
2 years ago no comment
Tags:HTML

HTML Generate QRCODE FREE

Create QRCODE dynamic is so simple with link to http://sintret.com/qrcode. You just need add src attribute in your img tag like this following code : <img src="http://sintret.com/qrcode" />   Property for this QrCode : Text


 

admin
2 years ago no comment
Tags:Regex

Regular Expression - REGEX

1. Pola 1.1 Spesial Karakter \ tanda yang diawali dengan \kemudian diakhiri dengan karakter bukan huruf dan angka semisal \/  untuk karakter "/"  \s untuk karakter spasi atau tab atau line break. . semua karakter kecuali newlin


 

admin
2 years ago no comment
Tags:CSS

CSS

Cascading Style Sheets CSS is code that changes the appeareance of HTML. One place you can put CSS in a style tag that's a child of the head tag. <!DOCTYPE html><html lang="en"><head> <style type="text/css">


 

admin
2 years ago no comment
Tags:Redis

Nodejs part 7 Redis

Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.Redis command using : "npm inst


 

Nodejs part 6 Socket.io

Socket.io Socket.IO enables real-time bidirectional event-based communication.It works on every platform, browser or device, focusing equally on reliability and speed. Example 1 chats with express app.js var express = require('express'), app =


 

Nodejs Part 5 Express

Routing Routing refers to the definition of end points (URIs) to an application and how it responds to client requests. A route is a combination of a URI, a HTTP request method (GET, POST, and so on), and one or more handlers for the endpoint. It t


 

admin
2 years ago no comment
Tags:NodeJS

Nodejs Part 4 Modules

Modules Node has a simple module loading system. In Node, files and modules are in one-to-one correspondence. As an example, app.js loads the module hello.js  and custom_goodbye.js in the same directory. //hello.jsvar hello = function(){


 

admin
2 years ago no comment
Tags:NodeJS

Nodejs Part 3 Streaming

Streaming A stream is an abstract interface implemented by various objects in Node. For example a request to an HTTP server is a stream, as is stdout. Streams are readable, writable, or both. All streams are instances of EventEmitter You can load t


 

admin
2 years ago no comment
Tags:NodeJS

Nodejs Part 2 events

Events and EventEmitter  Many objects in Node emit events: a net.Server emits an event each time a peer connects to it, a fs.readStream emits an event when the file is opened. All objects which emit events are instances of events.EventEmit