(欢迎查看Issues)
1、javaweb,android,node.js各种不错的项目汇总
2、常用的不错的网址汇总:如阿里的Icon库。
3、面试相关汇总
android开源开源组件使用推荐(车协app项目搭建准备工作)
javaweb,android,node.js各种不错的项目汇总
1、Mybatis多表关联查询之多对一和一对多:
http://it.warmtel.com/?p=1982
1、mui的商城类app例子
https://github.com/z6269773/mui-
2、红旅动漫app例子
https://github.com/tomoya92/hltmapp-mui
3、mui实现的cnode社区
https://github.com/stellar91/Cnode
4、使用mui框架,湖南省江华县旅游类app(蛮不错)
https://github.com/lymcsu/MYYD
5、将一个原生的APP用MUI框架实现,并总结开过过程中的一些注意事项 HBuilder,榆林新青年。
https://github.com/sunny66666666/YuLinNewsDemo
1、Egg在调用controller/service文件夹下的模块时,不需要require,如何实现的?
在原生Node/Koa中,当我们需要调用其他模块时,需要require, 非常繁琐。(java体系都是auto import)
但在Egg中,我们可以通过app.controller.文件名的形式直接调用。
猜想,是不是在app文件夹下任意写一个文件夹xxx,再在xxx下写一个yyy.js, 就可以实现app.xxx.yyy直接调用?实践结果是No。
先说结论,app/加文件夹的方式是实现不了上述的目的的,但在controller/service文件夹里嵌套文件夹,可以实现。这个在官方文档里没有直接写明。
原理:
Egg在启动worker进程时,会执行loadController, loadService等方法,遍历解析app/controller, app/service文件夹下的所有js文件,把导出的模块进行挂载, 对应实现模块是egg-core。
参考: https://blog.csdn.net/wangkai0681080/article/details/79665724
1、media播放语音和弹窗,会有一个不运行,他们之间应该使用异步处理。解决方法: https://zhidao.baidu.com/question/1796332093475709507.html
2、百度文字转语音超简单方式:
http://blog.csdn.net/ztblog/article/details/52209308
1、知乎上有分析介绍 https://www.zhihu.com/question/48132305
这里用java8开启编译模式,如果不开启,.class文件是arg0、arg1这样的参数,有了开启编译才能保留完整的参数名称。
1、https://blog.csdn.net/liyanhui1001/article/details/45242359 该方法参考是可用的。
2、安装officegen可能比较慢,输出文件还需要安装fs模块。
1、egg 前后台路由分离、返回状态码集成。完善的api文档已经开发逻辑:
https://github.com/sfyr111/egg-commerce
2、路由分离、与使用egg-sequelize和mysql连接,apizza api文档参考。
https://github.com/k-water/egg-blog
1、安卓相关面试知识汇总
https://github.com/GeniusVJR/LearningNotes
整理方法:http://plus.zealer.com/post/63844.html
桌面图标整理工具:腾讯电脑管家。
1、添加配置:在lanuch.js中添加配置、
{
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"processId": "9108"
}
2、 console.log('process====='+process.pid); 在app.js中打印进程pid。
调试的时候,每次启动进程pid不一样。每次启动需要将pid添加在配置中,然后启动调试。
1、Win10总是删除不了文件夹总是提示要管理员权限的解决方案
https://www.zhihu.com/question/50963214
1、Nodejs + Expressjs+ JWT,JWT使用
https://cnodejs.org/topic/58c1477b06dbd608756d0bca
2、JWT项目源代码介绍
https://github.com/bleachlei/expressjs-jwt-demo
http://www.jcodecraeer.com/ 泡在网上的日期
http://fir.im/ 移动应用测试工具
## 阿里图标库
http://www.iconfont.cn/
http://www.iconfont.cn/collections/show/33 手机淘宝图标库(推荐使用)
1、node.js _express身份验证_
http://www.jdon.com/46055 Angular.JS 与node.JS架构中基于token身份验证实现。 (express-jwt)
http://blog.csdn.net/smallfish1983/article/details/45644753 用 nodejs express 搭建 restful api (jsonwebtoken)
2、express 获取url参数
http://www.tuicool.com/articles/YnqUZjY Nodejs的express路由规则
数据库设计:
id:主键;
userName:用户姓名;
phoneNum:手机号码;
IMEI:手机唯一标识码;
isPay:是否付钱;
deadline:截止时间;
createTime:账户创建时间;
updateTime:信息更新时间;
id:主键;
userId:用户id;
customerName:客户姓名;
address:客户小区地址;
phoneNum:客户电话;
roomNum:房间号;
remark:备注;
currentMsg:最新收到的短信信息;
id:主键;
userId:创建者id;
templetName:模板名称;
content:模板内容;
createTime:创建时间;
updateTime:更新时间;
id:主键;
userId:发送人id;
customerId:接收人id;
msg:短信内容;
msgTime:短信发送时间;
Node.js调用java接口例子:
问题描述:
https://segmentfault.com/q/1010000010856742
源代码:
https://github.com/yexiaosong/nodejs-web/blob/master/routes/news.js
1、Node.js 引入高德地图会出现(AMap.ToolBar引入失败,map未定义等问题),而静态页面下是好的。
解决方案:不通过直接rander的方式渲染html页面,而是去渲染一个页面,然后通过iframe实现加载地图的html页面。
<iframe style="width: 100%;height: 100%" src="test.html"></iframe>
`var _ = require('lodash');
/*
//遍历,对象数组然后pick所需要的字段
.forEach(data.employees,function (value,index) {//若一个参数,返回的便是其value值
data.employees[index]=.pick(value, 'firstName', 'lastName');
// console.log(.pick(value, 'firstName', 'lastName'));//22 33 11 55
});
data=.pick(data, 'classID', 'className','employees');
//输出选择的结果
console.log(data);
/*打印的结果
1、通过vue脚手架搭建vue项目步骤(测试成功)
http://www.jb51.net/article/110790.htm
1、下载 apizza-SQ 3.0 插件
https://blog.csdn.net/DK_Fashion/article/details/79815453
2、谷歌浏览器无法启动插件
https://blog.csdn.net/a497785609/article/details/52097066
3、可以使用apizza模拟请求,生成api文档,很好用,导出html文件
4、某位网友做好的在线的集成的 天气类的免费api
https://apizza.net/console/project/8e0342415ad3df5643409045ec8a5e75/browse?api=adde793df46746cdb0641b014a12ea18
5、写的很好的bolg服务api
http://sunshinelzb.coding.me/#b29dbaaaf22344129957cf127ca3c199
1、es6 入门教程 http://es6.ruanyifeng.com/#docs/promise
1、一款基于LBS的美食发现APP(AS源代码) :https://github.com/Sambor123/foodie-app (蛮不错,app网上有发布,可浏览)
后台java框架源代码:https://github.com/Sambor123/food-server
2,新闻浏览类APP https://github.com/xinghongfei/LookLook (代码完整下载可以运行)
3,校园服务类APP https://github.com/MZCretin/CollegeHelper
app使用地址: http://zhushou.360.cn/detail/index/soft_id/3281579?recrefer=SE_D_%E6%9C%A8%E6%9C%A8%E6%A0%A1%E5%9B%AD%E5%8A%A9%E6%89%8B#nogo
4.汽车助手APP http://apk.hiapk.com/appinfo/com.classic.car (有源代码,页面清新) http://pan.baidu.com/s/1pLPFXQb
5,校园记账小软件 https://github.com/MZCretin/Money (页面清新)
6,洛克商城APP源代码安卓巴士 http://www.apkbus.com/forum.php?mod=viewthread&tid=266570&extra=page%3D3%26filter%3Ddigest%26orderby%3Ddateline%26digest%3D1%26sortid%3D12
7.IT阅读学习类的开源软件 https://github.com/sfsheng0322/Bingo
菜鸟商城APP (AS的)有部分视频 https://github.com/yxs666/cniao5-shop
官网地址 http://www.cniao5.com/course/comment/10073
菜鸟新闻APP https://github.com/yxs666/cniao5-news
菜鸟窝企业项目课程《菜鸟微博》源码 https://github.com/yxs666/cniao5-weibo
8、洛克商城APP https://github.com/Shuyun123/LKShop (项目结构特别好,值得借鉴,车协app结构可以用这个)
1、android注解框架 butterknife
优点:省去写findViewById以及Onclick监听事件冗长代码,(已使用,star多)
https://github.com/JakeWharton/butterknife 一些用法介绍https://github.com/mengdd/AndroidButterKnifeSample
2、android UI相关
https://github.com/wasabeef/awesome-android-ui android UI各种好用的组件集合
https://github.com/navasmdc/MaterialDesignLibrary MaterialDesign控件设计风格特别好用
http://www.jianshu.com/p/1e6eed09d48b MaterialDesign项目使用介绍
https://github.com/burgessjp/MaterialDesignDemo 实例
https://github.com/chenyangcun/MaterialDesignExample 豆瓣书API在MeterialDesign介绍(花千骨)
https://github.com/pedant/sweet-alert-dialog 对话框(star最多,有动画效果的对话框,)
https://github.com/afollestad/material-dialogs (简洁,就用它了)
https://github.com/wdullaer/MaterialDateTimePicker 时间选择器
http://www.jianshu.com/p/551266dbd735 还不错的EditText实现方法
https://github.com/futuresimple/android-floating-action-button 悬浮按钮(和知乎一样的)
https://github.com/rengwuxian/MaterialEditText (酷炫的EditText输入框)
http://www.tuicool.com/articles/7BJBZb ToorBar详解还不错
app 切换皮肤介绍 http://www.jianshu.com/p/af7c0585dd5b
Android 主题换肤的库子
https://github.com/burgessjp/ThemeSkinning
https://github.com/hongyangAndroid/AndroidChangeSkin (star最多)
3、图片处理框架(facebook) 目前最火
https://github.com/facebook/fresco
https://github.com/bumptech/glide (google推出,专注平滑展示图片)
https://github.com/hdodenhof/CircleImageView 圆形头像图片处理
4、网路访问框架
okhttps这里可以直接用okhttputils封装好了okhttps的工具类
https://github.com/hongyangAndroid/okhttputils
https://github.com/jeasonlzy/okhttp-OkGo (签到APP用到了)
https://github.com/square/retrofit retrofit 更好的配合restful API使用
使用教程 http://www.open-open.com/lib/view/open1453552147323.html
5、json和javabean转换工具类GSON
http://blog.csdn.net/xin917480852/article/details/50891092 转化方法
https://github.com/zzz40500/GsonFormat gson工具类
6、app主体结构
https://github.com/hlgao/FragmentTabHost (fragment+viewpage+tab)底部 (FragmentTabHost + ViewPager实现Android底部Tab)
代码结构 参考:
https://github.com/xinghongfei/LookLook 新闻阅读类软件
https://github.com/xulailing/CNiaoShop 菜鸟商城
https://github.com/JohnTsaiAndroid/CoolMarket 仿酷市场的Demo,MaterialDesign风格使用
7、底部菜单的实现
fragmentTabHost
8、图文列表使用
recycleView 是listView的升级版
SwipeRefreshLayout加上recyleview 下拉刷新,上拉加载更多
https://github.com/android-cjj/Android-MaterialRefreshLayout (SwipeRefreshLayout升级版,可以有更多好看的特效,推荐使用) 菜鸟窝上的教程http://blog.csdn.net/kakayang2012/article/details/51764206
* 9、android开发规范*
http://tianshaojie.com/android-code-style/ (命名可以参考)
https://github.com/youth5201314/banner Android广告图片轮播控件,支持无限循环和多种主题,可以灵活设置轮播样式、动画、轮播和切换时间、位置、图片加载框架等!
https://github.com/daimajia/AndroidImageSlider 菜鸟商城图片轮播
https://github.com/bingoogolapple/BGABanner-Android (广告轮播新一些,使用简单一点儿)
https://github.com/chrisbanes/PhotoView
12、android工具类的使用
https://github.com/Blankj/AndroidUtilCode
13、省心省力的Item布局
https://github.com/maimingliang/BaseItemLayout
1、nodejs实现微信授权,获取微信用户信息介绍。(测试可用)
详细介绍1:http://blog.csdn.net/yolo0927/article/details/54382632
详细介绍2:http://www.jianshu.com/p/c290afd90ffd
填坑1:return_uri需要用转义字符替换://。
填坑2:rul传递参数需要将中文编码一下,即var username= encodeURI(“科比”),这样才能传递参数。
2、nodejs中微信公众号开发-接口配置和签名验证(测试可用)
详细介绍:http://blog.csdn.net/zzwwjjdj1/article/details/52222137
填坑1:app.js中的代码app.use(utils.sign(config),next); 认证完成以后,这句代码需要注释掉,不然会影响项目的正常运行。
3、nodejs创建微信公众号菜单(1030记待测试)
详细介绍:http://blog.csdn.net/WificamSDK7/article/details/62426627
4、Node.js接入微信jssdk的正确可用的思路。
http://www.jb51.net/article/118729.htm
原文地址:http://www.cnblogs.com/wuyuchang/p/7170949.html
这里的代码如果看不懂请参考:箭头函数 https://yq.aliyun.com/articles/3163
1,node.js 微信好友群发消息,看上去不像群发。
https://github.com/yizhiren/wechat-qunfa
1、在windows中安装redis。(已经安装成功)2018-05-12
https://blog.csdn.net/baidu_33465676/article/details/75530477
1、如果配置全局使用的中间件,需要在config.default.js配置文件中配置,如果想对某个路径进行匹配或者限行可以使用match和ignore。
2、如果不想对全局进行中间件配置,就不能在config.default.js文件中配置,而是之间以文件的形式引入,例如我再middleware中写了token校验的配置,我们在需要使用的路由中引入就好了,如:
router.get('/test_token',checkToken,controller.userAccess.adduser);
3、同时可以进行多个验证,例如,对接口首先进行token验证,再进行权限验证,路由就可以这样写: router.get('/test_token_authority',checkToken,checkAuthority,controller.userAccess.adduser);
从这里我们可以看到中间件还是一个洋葱模型。 以await next()进行分割。
1、promise库bluebrid的使用: https://www.cnblogs.com/think8848/p/6591238.html
1、promiseall使用视频的教程。 https://www.bilibili.com/video/av20327829/?p=12
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.