Brainwashing
    
            
摘要:【Brainwashing】 1、教育和媒体都是“国家意识机器”,他们维持并复制国家领导者的思想。 2、洗脑、情感、意识。 3、洗脑所产生的各种影响具有如下特征:全用暴力,或者进行欺骗,或二者兼有。 4、思想就像钻石,在高压下能够保持自己的形状,直到最终(在洗脑的力量下)破碎。 5、洗脑的目标是创造
        
阅读全文
摘要:【Photoshop Keynote】 1、Tab:隐藏、显示所有面板。 2、Sihft+Tab:隐藏、显示右侧面板。 3、F:全屏切换。 4、选择并遮住: 参考:http://www.51shiping.com/html/pscc-704-6817.html 5、图像的分辨率
        
阅读全文
摘要:【关于Android file.createNewFile() 失败的问题】 需要注意的是:要先对设计的文件路径创建文件夹 , 然后在对文件进行创建。 参考:http://blog.csdn.net/wjdarwin/article/details/7108606
        
阅读全文
摘要:【Webpack Plugin】 Since Loaders only execute transforms on a per-file basis, plugins are most commonly used (but not limited to) performing actions and
        
阅读全文
摘要:【Webpack】 1、Split app and vendor code To split your app into 2 files, say app.js and vendor.js, you can require the vendor files in vendor.js. Then pa
        
阅读全文
摘要:【Webpack Loaders】 1、Query parameters Loader can be passed query parameters via a query string (just like in the web). The query string is appended to 
        
阅读全文
摘要:【node 加载逻辑】 参考:https://nodejs.org/api/modules.html
        
阅读全文
摘要:【Babel】 1、babel有非常多的版本,可以通过多种方式引用,在链接1中可以查看到所有支持的版本。 2、对node版本的安装与使用,分以下几步: 1)install 2)使用transform api 转换代码 3)安装preset In order to enable the preset 
        
阅读全文
摘要:【package.json bin】 1、bin field in your package.json which is a map of command name to local file name. On install, npm will symlink that file into pre
        
阅读全文
摘要:【npm run build】 npm 会在项目的 package.json 文件中寻找 scripts 区域,其中包括npm test和npm start等命令。 其实npm test和npm start是npm run test和npm run start的简写。事实上,你可以使用npm run
        
阅读全文
摘要:【npm install --save 与 npm install --save-dev 的区别】 缩写: -S就是--save的简写 -D就是--save-dev 这样安装的包的名称及版本号就会存在package.json的devDependencies这个里面,而--save会将包的名称及版本号
        
阅读全文
摘要:【搭建React环境】 create-react-app 是一个帮助快速搭建 react 工程的 bin。通过npm可以安装。 You don’t need to install or configure tools like Webpack or Babel. They are preconfig
        
阅读全文
摘要:【Template literals】 Template literals are string literals allowing embedded expressions. You can use multi-line strings and string interpolation featu
        
阅读全文
摘要:【Javascript Iterator】 1、@@iterator Whenever an object needs to be iterated (such as at the beginning of a for..of loop), its @@iteratormethod is calle
        
阅读全文
摘要:【Arrow Function】 1、Basic Syntax 2、Advanced Syntax 3、No binding of this An arrow function does not create its own this context, so this has its origina
        
阅读全文
摘要:【destructuring assignment】 The destructuring assignment syntax is a JavaScript expression that makes it possible to extract data from arrays or object
        
阅读全文
摘要:【new.target】 The new.target property lets you detect whether a function or constructor was called using the newoperator. In constructors and functions
        
阅读全文
摘要:【Javascript Hoisting】 hoisting teaches that variable and function declarations are physically moved to the top your coding, but this is not what happe
        
阅读全文
摘要:【Javascript Bind】 The bind() method creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of
        
阅读全文
摘要:【Javascript Property Names】 Property names must be strings. This means that non-string objects cannot be used as keys in the object. Any non-string ob
        
阅读全文
摘要:【Java泛型】 1、(2)以下的泛型转换,不正确,是一种编译错误。 Let's test your understanding of generics. Is the following code snippet legal? List<String> ls = new ArrayList<Str
        
阅读全文
摘要:【Activity 与 Task】 A task is a collection of activities that users interact with when performing a certain job. The activities are arranged in a stack 
        
阅读全文
摘要:【使用ddns搭建免费服务器】 第一步 tplink路由器提供了ddns服务,它为用户免费提供一个子tpddns.cn下的子域名,映射到你的路由器上。当启用后,只在要能接入互联网的地方,都能过此域名,将请求发送到路由器上。 所以,第一步解决了,外网访问路由器的问题。 第二步 tplink路由器还提供
        
阅读全文
摘要:【DDNS】 DDNS(Dynamic Domain Name Server)是动态域名服务的缩写。 DDNS是将用户的动态IP地址映射到一个固定的域名解析服务上,用户每次连接网络的时候客户端程序就会通过信息传递把该主机的动态IP地址传送给位于服务商主机上的服务器程序,服务器程序负责提供DNS服务并
        
阅读全文
摘要:【SimpleAdapter用法】 参考:http://www.cnblogs.com/shang53880/archive/2011/03/15/1985062.html
        
阅读全文
摘要:【Java KeyNote】 1、把一个ArrayList拷贝到另一个ArrayList。 ArrayList list1=new ArrayList(); ArrayList list2=new ArrayList(); list1.addAll(list2); 2、数字转换为String Str
        
阅读全文
摘要:【Android无法访问本地服务器(localhost/127.0.0.1)的解决方案】 在Android开发中通过localhost或127.0.0.1访问本地服务器时,会报Java.NET.ConnectException: localhost/127.0.0.1:8083 -Connectio
        
阅读全文
摘要:【Android 添加网络权限】 <uses-permission Android:name="android.permission.INTERNET"></uses-permission> 参考:http://blog.csdn.net/leilu2008/article/details/5861
        
阅读全文
摘要:【Java 匿名内部类】 参考:http://www.cnblogs.com/nerxious/archive/2013/01/25/2876489.html
        
阅读全文
摘要:【VSC KeyNote】 1、前后跳转。 Alt + LeftArrow, Alt + RightArrow 2、缩进问题。 vsc默认缩进为4,但js代码里缩进依旧是2。 因为vscode默认启用了根据文件类型自动设置tabsize的选项,在设置中添加: 即可解决。
        
阅读全文
摘要:【SQL DEFAULT 约束】 1、create table时创建default约束。 2、alter table时创建default约束。 3、撤销default约束 参考:http://www.w3school.com.cn/sql/sql_default.asp
        
阅读全文
摘要:【Numeric Type Attributes】 INT(4) specifies an INT with a display width of four digits. This optional display width may be used by applications to disp
        
阅读全文
摘要:【MySQL driver for Node】 1、安装 2、一个示例 From this example, you can learn the following: Every method you invoke on a connection is queued and executed in 
        
阅读全文