File and folder naming convention for React.js components
/actions/...
/components/common/Link.js
/components/common/...
/components/forms/TextBox.js
/components/forms/TextBox.res/style.css
Reference : https://viblo.asia/cuong.nguyen/posts/JQVkVznNkyd | |
Template | |
slim / slim-rails (+1) | |
erb | |
haml | |
Pagination | |
kaminari | |
will_paginate (+1) | |
Authentication |
I want to say 2 techology: Sphinx and Solr. They are open source. | |
Full text search (FTS) |
WARNING: ruby-1.8.7-p374 is past its end of life and is now unsupported. | |
It no longer receives bug fixes or critical security updates. | |
BUILD FAILED (Ubuntu 14.04 using ruby-build 20170405-4-g365dd1f) | |
Inspect or clean up the working tree at /tmp/ruby-build.20170504104325.1544 | |
Results logged to /tmp/ruby-build.20170504104325.1544.log | |
Last 10 log lines: |
server { | |
listen 80; | |
#listen [::]:80 default_server; | |
root /home/tyluu/projects/KLTN/Code/Radius-login-php; | |
# Add index.php to the list if you are using PHP | |
index index.php; #index.html index.htm index.nginx-debian.html; | |
server_name radius-login.dev; |
create database music; | |
use music; | |
CREATE TABLE `user` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`email` text COLLATE utf8_unicode_ci, | |
`username` varchar(255) COLLATE utf8_unicode_ci NOT NULL, | |
`fullname` text COLLATE utf8_unicode_ci, | |
`dob` date DEFAULT NULL, |
"use strict" | |
var gulp = require('gulp'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
concat = require('gulp-concat'), | |
jshint = require('gulp-jshint') | |
; | |
gulp.task('hello', function () { |
// TrangNguyen: update script for home nursing | |
togglePopup('box-item-nursing.item-baby-care', 'parent-babycare-information'); | |
togglePopup('box-item-nursing.item-wound-care', 'parent-woundcare-information'); | |
toggleBackgroundPopup('background-popup.homenursing-information'); | |
function togglePopup(btnTrigger, realBackgroundPopup){ | |
//Open popup |
const express = require('express'); | |
const base64 = require('base-64'); | |
const app = express() | |
var bodyParser = require('body-parser') | |
app.use( bodyParser.json() ); // to support JSON-encoded bodies | |
app.use(bodyParser.urlencoded({ // to support URL-encoded bodies | |
extended: true | |
})); | |
app.post('/', (req, res) => { |
Bước 1: Mở lên | |
Bước 2: Trên màn hình chọn Help -> Register và check vào License server | |
Bước 3: Copy 1 trong 5 đường dẫn sau | |
http://idea.qinxi1992.cn | |
http://114.215.133.70:41017 | |
http://jetbrains.tencent.click | |
http://idea.lanyus.com/ | |
http://172.245.22.235:1017 |