- 博客(48)
- 资源 (6)
- 收藏
- 关注
原创 Gulp 快速入门
image.pngpackage.json{ "devDependencies": { "gulp": "^3.9.1", "gulp-browserify": "^0.5.1", "gulp-jade": "^1.1.0" }}gulpfile.jsvar gulp =
2017-11-30 10:05:00 8393
原创 React 学习笔记 1 React 是什么
实例https://codepen.io/penimage.pnghttps://github.com/facebook/reactA declarative, efficient, and flexible JavaScript library for building user interfaces.https://reactjs...
2017-11-28 10:24:00 8492
原创 第1讲 Spring Boot 快速开始 《Kotlin + Spring Boot :下一代 Java 服务端开发》
第1讲 Spring Boot 快速开始 《Kotlin + Spring Boot :下一代 Java 服务端开发》 视频教程投影片01.jpg投影片02.jpg投影片03.jpg投影片04.jpg投影片05.jpg投影片06.jpg投影片07.jpg...
2017-11-27 21:34:00 8644 1
原创 用 React 分页显示数据
用react分页显示数据去年年底,尝试着用react写个组件化的页面!demo地址里面有一个list页面弄了一下数据的分页展示展示一下主要三个组件:父组件listBox、列表组件List、按钮组件PageButton父组件listBoxconst listData = [{ key:"001", idd:"001", ...
2017-11-24 23:17:00 9195
原创 Spring Boot 中文乱码问题解决方案汇总
使用 Spring Boot 开发,对外开发接口供调用,传入参数中有中文,出现中文乱码,查了好多资料,总结解决方法如下:第一步,约定传参编码格式不管是使用httpclient,还是okhttp,都要设置传参的编码,为了统一,这里全部设置为utf-8第二步,修改application.properties文件增加如下配置:spring.http.e...
2017-11-24 21:51:00 11958 4
原创 JSONP 的工作原理
很简单,就是利用<script>标签没有跨域限制的“漏洞”(历史遗迹啊)来达到与第三方通讯的目的。当需要通讯时,本站脚本创建一个<script>元素,地址指向第三方的API网址,形如:<script src="http://www.example.net/api?param1=1&param2=2"></...
2017-11-24 21:34:00 8376
原创 前端知识体系整理(不断更新)
前端知识体系整理(不断更新)——人脑不是机器,记忆都会退化,我们需要文档辅助作知识沉淀javascript基本功语言特性数据类型:Undefined,Null,Bollean,Number,StringObject、ArrayDate、RegExptypeof输出(以下六个值之一):undefinedvar...
2017-11-23 23:02:00 8745
原创 10 cool things about Kotlin
10 cool things about Kotlinhttps://easykotlin.quora.com/10-cool-things-about-Kotlin
2017-11-23 15:39:00 8483
原创 Understanding Generics and Variance in Kotlin
https://proandroiddev.com/understanding-generics-and-variance-in-kotlin-714c14564c47
2017-11-23 14:38:00 8628
原创 React 生命周期:方法和钩子解释 The React lifecycle: methods and hooks explained
但请注意,它必须包含在如上例所示的条件中,否则会导致无限循环。通常,您不需要显式设置它,因为它是从定义组件的函数或类的名称推断出来的。如果您出于调试目的想要显示不同的名称,或者当您创建高阶组件时,您可能需要明确设置它,有关详细信息,请参阅包装显示名称以便轻松调试。错误边界是 React 组件,可以在其子组件树中的任何位置捕获 JavaScript 错误,记录这些错误,并显示后备 UI 而不是崩溃的组件树。如果您单击它顶部的“显示不太常见的生命周期”复选框,您可以在此生命周期图中看到下面的大多数方法。
2017-11-23 14:27:00 8804 1
原创 React 组件介绍
https://easykotlin.quora.com/Components-the-war-horses-of-React
2017-11-23 14:22:00 8465
原创 React, a gentle introduction.
https://easykotlin.quora.com/React-a-gentle-introduction
2017-11-23 14:21:00 8415
原创 一段探索React自建内部构造的旅程
一段探索 React 自建内部构造的旅程在先前的文章里我们涵盖了React基本原理和如何构建更加复杂的交互组件。此篇文章我们将会继续探索React组件的特性,特别是生命周期。稍微思考一下React组件所做的事,首先想到的是一点是:React描述了如何去渲染(DOM)。我们已经知道React使用render()方法来达到这个目的。然而仅有render()...
2017-11-23 14:09:00 8570
原创 React State(状态): React通过this.state来访问state,通过this.setState()方法来更新state
React State(状态)React 把组件看成是一个状态机(State Machines)。通过与用户的交互,实现不同状态,然后渲染 UI,让用户界面和数据保持一致。React 里,只需更新组件的 state,然后根据新的 state 重新渲染用户界面(不要操作 DOM)。以下实例中创建了 LikeButton 组件,getInitialSta...
2017-11-23 00:47:00 10086
原创 谷歌浏览器限制 6666 端口
今天搭的一个工程用的端口号是6666,本来我一直都是在firefox里面做开发调试的,今天想测下谷歌浏览器的兼容性,结果竟然访问不了,其它IE的浏览器也是正常的,因为谷歌浏览器没有提示到不安全的端口,一开始以为是代理或host文件的问题,但检查一遍都是正常的,然后重装了谷歌浏览器,发现问题依旧,然后我让其它同事访问下我的地址,结果也只有谷歌浏览器访问不了,...
2017-11-22 23:15:00 10568
原创 第16章 Spring Boot + Kotlin: 下一代 Java 服务端开发
第16章 Spring Boot + Kotlin: 下一代 Java 服务端开发16.1 Kotlin 简介16.2 Kotlin 与 Java 的无缝集成16.3 Spring Boot 集成 Kotlin 开发实例详解image.pngimage.pngimage.pngimage.png...
2017-11-22 10:41:00 8674
原创 Spring Boot 2.0 极简教程
Spring Boot 2.0 极简教程第 I 部分 Spring Boot 框架基础第1章 Spring Boot 简介1.1 Spring Boot 产生背景1.2 XML 配置文件 VS. JavaConfig 注解配置1.3 Spring Boot 基本特性1.4 Spring Boot 命令行 CLI1.5 本章小结第2章 快速开...
2017-11-21 21:47:00 8671
原创 使用 WebStorm 创建 React App
image.png/usr/local/bin/node /usr/local/lib/node_modules/create-react-app/index.js .Creating a new React app in /Users/jack/WebstormProjects/helloworld.Installing packag...
2017-11-21 15:05:00 8730
原创 Linux fuser 命令详解
fuser命令小结linux环境下,当使用umount命令卸载挂载点时,会遇到“device is busy”提示,这时fuser就能查出谁在使用这个资源;当然umount –lf [挂载点] 也可以强制卸载功能fuser 可以显示出当前哪个程序在使用磁盘上的某个文件挂载点甚至网络端口并给出程序进程的详细信息.fuser只把PID输出...
2017-11-21 13:35:00 8750
原创 Shell 极简教程
Hello Worldvim hello_world.sh#!/bin/bashecho "Hello World !"chmod +x *.sh./hello_world.sh Hello,World!变量#!/bin/bashecho "Hello,World!"a=1b=`expr $a + 1`echo $b...
2017-11-18 23:34:00 8652
原创 Jenkins 自动化部署 持续集成
螢幕快照 2017-11-18 22.56.06.pngSource filesbuild/libs/cms-0.0.1-SNAPSHOT.jarHelp for feature: Source filesFiles to upload to a server.The string is a comma separated list...
2017-11-18 22:59:00 8838
原创 Kotlin + Spring Boot 应用中多个 main 函数的处理: build.gradle 配置
Spring Boot 默认会找一个 main,如果多个 main,需要配启动main。测试代码,写在 test 下面。不要用 main 来写测试。需要注意的 Kotlin 的类编译之后,class 文件名对应的会在后面加上 Kt例如,CmsApplication ---> CmsApplicationKtmainClassName = "c...
2017-11-18 22:20:00 9017
原创 Kotlin 项目开发最佳实践: Kotlin + Spring Boot + kts(Kotlin Script) 全栈统一前后端...
Kotlin 项目开发最佳实践: Kotlin + Spring Boot + kts(Kotlin Script) 全栈统一前后端Spring Boot + Kotlin type safe template rendering with i18n and nested template support.Requires Spring Framew...
2017-11-18 02:55:00 9051
原创 彻底解决 MYSQL: Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x80\xE3\x80......
Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x80\xE3\x80...' for column 'show_content' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLErr...
2017-11-17 22:23:00 11966
原创 select 统计数据
selecte.emp_name workID,sum(case when i.status = 'New' THEN 1 ELSE 0 END) bugNum,sum(case when i.status = 'New' and i.serious_level like '%blocker%' THEN 1 ELSE 0 END) blocker,...
2017-11-17 15:11:00 8771
原创 Vue.js 极简教程
https://unpkg.com/vue@2.5.3/dist/vue.js来,直接开始:创建一个 .html 文件,然后通过如下方式引入 Vue:<script src="https://unpkg.com/vue"></script>jsfiddle Hello World 例子:https://jsfiddle....
2017-11-16 16:51:00 8566
原创 Rust 编程语言极简教程 --- 实例学习
Rust 编程语言极简教程 --- 实例学习安装$ curl https://sh.rustup.rs -sSf | shinfo: downloading installerWelcome to Rust!This will download and install the official compiler for the Rust pr...
2017-11-16 16:35:00 9859
原创 TypeScript 之父简介:TS Anders Hejlsberg: Introducing TypeScript
Anders Hejlsberg: Introducing TypeScripthttps://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScriptimage.pngimage.pngimage.pngTypeScript 是 JavaS...
2017-11-16 16:02:00 9764
原创 杀掉某个进程的 Shell
set pid = $(ps -ef|grep java|grep kotlin|awk '{print $2}')if (test $pid)thenkill -9 $pidfi
2017-11-15 15:36:00 8426
原创 mysql 查看索引、添加索引、删除索引命令
查看索引mysql> show index from tblname;mysql> show keys from tblname;mysql> show index from center_bank_rate;+------------------+------------+----------+--------------+...
2017-11-14 23:36:00 8365
原创 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES/NO)
初次安装mysql,net start mysql,然后输入mysql -u root -p,出现enter password,我直接点击回车,结果出现如果下错误:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)。或者在 my.cnf ...
2017-11-14 23:34:00 8618 4
原创 《 Kotlin + Spring Boot : 下一代 Java 服务端开发 》
《 Kotlin + Spring Boot : 下一代 Java 服务端开发 》《Spring Boot 开发实战》(基于 Kotlin + Gradle + Spring Boot 2.0 的企业级服务端开发实战)京东下单链接https://item.jd.com/31178320122.html天猫下单链接https://detail.tm...
2017-11-13 19:25:00 8985 27
原创 《 Kotlin 极简教程 》 系列课程(视频持续更新......)
第1讲 快速入门 第2讲 基础语法第3讲 可空类型与类型系统第4讲 Kotlin 的类与面向对象编程OOP(上)第4讲 Kotlin类与面向对象编程OOP(下)第5讲 Lambda 表达式、闭包与高阶函数第6讲 扩展函数与属性第7讲 集合类第8讲 泛型第9讲 文件IO操作、正则表达式与多线程第10讲 使用 Kotlin 创建 DSL...
2017-11-13 00:29:00 8551 2
原创 Kotlin + Spring Boot :下一代 Java 服务端开发 (视频)
Kotlin + Spring Boot :下一代 Java 服务端开发 (视频)第1讲 Kotlin + Spring Boot 版本的 Restful Hello World第2讲 在 Spring Boot 中使用 Kotlin 与 Java 混合编程第3讲 Kotlin 与 Spring Boot 使用 JUnit 进行单元测试第4讲 ...
2017-11-13 00:25:00 8730 2
原创 Spring 实现 SchedulingConfigurer 接口完成动态定时任务(配合数据库动态执行)
Spring 实现 SchedulingConfigurer 接口完成动态定时任务(配合数据库动态执行)import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Select;import org.springframework.beans.fac...
2017-11-12 22:25:00 16336 1
原创 SELECT 语句中的 子查询(Sub Query)
SELECT 语句中的子查询子查询(Sub Query)或者说内查询(Inner Query),也可以称作嵌套查询(Nested Query),是一种嵌套在其他 SQL 查询的 WHERE 子句中的查询。子查询用于为主查询返回其所需数据,或者对检索数据进行进一步的限制。子查询可以在 SELECT、INSERT、UPDATE 和 DELETE 语句中,...
2017-11-12 15:42:00 13472
原创 【Spring Boot + Kotlin 实战教程】Spring Data JPA 多表关联查询 映射到 Dto 的方法
【Spring Boot + Kotlin 实战教程】Spring Data JPA 多表关联查询 映射到 Dto 的方法TechArticlepackage com.ak47.cms.cms.entityimport java.util.*import javax.persistence.*@Entity@Table(indexes =...
2017-11-12 02:15:00 8999
原创 mysql随机排序 order by rand()
@Query("SELECT a from #{#entityName} a where a.isDeleted=0 and a.sourceType=1 order by rand()")fun findGankAll(pageable: Pageable): Page<Image>@Query("SELECT a from #{#en...
2017-11-11 12:33:00 14401
原创 Spring Boot 2.0 与 Spring 5 项目实战开发(基于 Kotlin & Java )
Spring Boot 2.0 与 Spring 5 项目实战开发(基于 Kotlin & Java )
2017-11-06 23:36:00 8449 3
ClickHouse 高性能、可扩展和低成本的OLAP数据库 陈光剑 20230912
2023-09-14
Will AI Fix Work? 工作节奏超过了我们的跟上能力 人工智能有望创造一种全新的工作方式
2023-05-17
THE AI INDEX REPORT 人工智能指数报告 Measuring trends in Artificial Inte
2023-04-06
Kotlin Coroutines by Tutorials (1st Edition)
2021-04-28
Principles of programming languages by Gilles Dowek (auth.) (z-lib.org).pdf
2021-04-28
A Brief History of Artificial Intelligence
2021-04-28
An introduction to functional programming through lambda calculus.PDF.zip
2019-09-22
《Kotlin项目实战开发》第3章+类型系统与可空类型
2017-09-30
2024 年可以实现 AGI 吗?
2024-01-02
TA创建的收藏夹 TA关注的收藏夹
TA关注的人