摘要:
Java并发编程:volatile关键字解析 (点击链接原文) volatile这个关键字可能很多朋友都听说过,或许也都用过。在Java 5之前,它是一个备受争议的关键字,因为在程序中使用它往往会导致出人意料的结果。在Java 5之后,volatile关键字才得以重获生机。 volatile关键字虽 阅读全文
摘要:
跨域特性: 根据特性一解决: 或者 就可以了 JSONP(JSON with Padding): 浏览器会不当做xhr请求不做校验 阅读全文
该文被密码保护。 阅读全文
摘要:
13 class和module ①export和import profile.js 引用 ②给export的属性或方法使用默认名称: 引用 ③模块继承 circleplus.js main.js 而ES6模块输出的是值的引用 12 promise 基本用法 链式操作:返回新的Promise对象,后一 阅读全文
摘要:
/*************** * Aggregation * ***************/ -- Find minimum msrp of all products select min(msrp) from product; -- Find maximum msrp of all products select max(msrp) from product; -- Top ... 阅读全文
摘要:
/*************** * join tables * ***************/ -- list all sales for FLEX and BLAZE; select * from product; select * from sales; -- what happens without a.product_id=b.product_id; -- use table... 阅读全文
摘要:
USE fitbit_new; insert into product (product_id, code, name, color, class, msrp) values (5, 'np1', 'new product 1', 'PINK','EVERYDAY', 49), (6, 'np2', 'new product 2', 'PINK','EVERYDAY', 29), (7, 'n... 阅读全文
摘要:
/*************************************** * DDL: Create Database * ***************************************/ -- drop existing database if exists; DROP DATABASE IF EXISTS fitbit_new;... 阅读全文