Tekkaman

导航

 
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 42 下一页

2017年4月18日

摘要: 【AutoIncrement无法设置的问题】 下图红色处始终无法勾选Auto_Increment 解决方法是在详细列表里勾选。 链接:http://stackoverflow.com/questions/33602936/mysql-workbench-auto-increment-disabled 阅读全文
posted @ 2017-04-18 16:50 Tekkaman 阅读(5968) 评论(0) 推荐(1) 编辑
 
摘要: 【Frame animation】 An animation defined in XML that shows a sequence of images in order (like a film). res/drawable/filename.xml Resource pointer to an 阅读全文
posted @ 2017-04-18 10:52 Tekkaman 阅读(154) 评论(0) 推荐(0) 编辑
 
摘要: 【Tween animation】 An animation defined in XML that performs transitions such as rotating, fading, moving, and stretching on a graphic. res/anim/filena 阅读全文
posted @ 2017-04-18 10:36 Tekkaman 阅读(173) 评论(0) 推荐(0) 编辑
 

2017年4月17日

摘要: 【在project窗口中快速定位文件】 点击带圆圈的小叉叉按钮,这个时候Project中就会定位到当前文件目录下了。 参考:http://blog.csdn.net/hyr83960944/article/details/38067499 阅读全文
posted @ 2017-04-17 20:54 Tekkaman 阅读(348) 评论(0) 推荐(0) 编辑
 
摘要: 【Activty左出右进动画】 public void overridePendingTransition (int enterAnim, int exitAnim) 其中: enterAnim 定义Activity进入屏幕时的动画 exitAnim 定义Activity退出屏幕时的动画 overr 阅读全文
posted @ 2017-04-17 16:36 Tekkaman 阅读(279) 评论(0) 推荐(0) 编辑
 

2017年4月13日

摘要: 【销售案例】 1、农村包围城市。 2、策反其它玩家 阅读全文
posted @ 2017-04-13 16:34 Tekkaman 阅读(197) 评论(0) 推荐(0) 编辑
 
摘要: 【愿景、使命、价值观】 愿景就是梦想;使命就是职业;价值观就是道德。如果把赚钱当梦想,那么每个员工都会仅仅思考如何实现个人利益最大化,偷懒、腐败防不胜防。 愿景,英文叫Vision,就是一幅描绘了美好未来的图景。你要想想,因为你的存在,10年、20年后的世界是什么样子。画面感越强、越能激发憧憬。 改 阅读全文
posted @ 2017-04-13 11:33 Tekkaman 阅读(10064) 评论(0) 推荐(0) 编辑
 

2017年4月12日

摘要: 【5分钟商学院】 1、你看到的并不是真实的世界,而只是世界在你心中那面镜子上的投影。不要追求投影,也就是观点、价值观的一致。相反,你应该尊重观点的差异,感激团队的多样性。如果两个观点完全相同,那么其中一人必属多余。-138 2、最差的合作就是报仇。我宁愿重伤也要让你死,或者我宁愿死也要让你重伤。报仇 阅读全文
posted @ 2017-04-12 17:30 Tekkaman 阅读(1286) 评论(0) 推荐(0) 编辑
 

2017年4月5日

摘要: 【sqlite3调试】 1、adb shell 激活模拟器shell。 2、cd /data/data/com.xxx.xxx/databases 进入app 数据库目录。 3、ls 查看有哪些数据库,如: 4、sqlite3 xxx.db 打开数据库shell。 5、.tables 查看有哪些表。 阅读全文
posted @ 2017-04-05 23:39 Tekkaman 阅读(833) 评论(0) 推荐(0) 编辑
 
摘要: 【select字符串】 select通常用于选择某中的某一列。如有表Download: 通常用select选择某一列,如: 当select一个字符串时,则会返回如下值: 结论:select中传递一个字符串时,value与列头将均是该字符串。 阅读全文
posted @ 2017-04-05 17:26 Tekkaman 阅读(955) 评论(0) 推荐(0) 编辑
 

2017年3月30日

摘要: 【Manifest File】 on every build, webpack generates some webpack runtime code, which helps webpack do its job. When there is a single bundle, the runtim 阅读全文
posted @ 2017-03-30 20:55 Tekkaman 阅读(772) 评论(0) 推荐(0) 编辑
 
摘要: 【CommonsChunkPlugin】 The CommonsChunkPlugin is an opt-in feature that creates a separate file (known as a chunk), consisting of common modules shared 阅读全文
posted @ 2017-03-30 11:41 Tekkaman 阅读(505) 评论(0) 推荐(0) 编辑
 

2017年3月29日

摘要: 【webpack-manifest-plugin】 Webpack plugin for generating an asset manifest. This will generate a manifest.json file in your root output directory with 阅读全文
posted @ 2017-03-29 11:19 Tekkaman 阅读(5039) 评论(1) 推荐(0) 编辑
 
摘要: 【webpack config】 1、entry Simple rule: one entry point per HTML page. SPA: one entry point, MPA: multiple entry points. 2、output.filename Specifies the 阅读全文
posted @ 2017-03-29 10:37 Tekkaman 阅读(211) 评论(0) 推荐(0) 编辑
 

2017年3月28日

摘要: 【Webpack Getting Started】 Make sure you have a fresh version of Node.js installed. If you are using npm scripts in your project, npm will try to look 阅读全文
posted @ 2017-03-28 20:56 Tekkaman 阅读(197) 评论(0) 推荐(0) 编辑
 
摘要: 【极简经济学】 1、研究经济学的理由就是“为了避免被经济学家欺骗”。 2、对公共政策做出建议的经济学,大多只用到大学入门课程的程度。 3、很多经济取舍都有一个特色:它能帮助某些人,却同时伤害了其他人。经济学家关心的是统计受到伤害或帮助的所有人,而不只是新闻报道里的几张脸孔。 4、每个人通常既不打算促 阅读全文
posted @ 2017-03-28 10:28 Tekkaman 阅读(481) 评论(0) 推荐(0) 编辑
 

2017年3月26日

摘要: 【getOwnPropertySymbols】 The Object.assign() method only copies enumerable and own properties from a source object to a target object. Note that Object 阅读全文
posted @ 2017-03-26 11:17 Tekkaman 阅读(269) 评论(0) 推荐(0) 编辑
 
摘要: 【Symbol】 The Symbol() function returns a value of type symbol. it does not support the syntax "new Symbol()". Every symbol value returned from Symbol( 阅读全文
posted @ 2017-03-26 11:04 Tekkaman 阅读(163) 评论(0) 推荐(0) 编辑
 

2017年3月25日

摘要: 【Object.defineProperty】 1、The Object.defineProperty() method defines a new property directly on an object, or modifies an existing property on an obje 阅读全文
posted @ 2017-03-25 17:49 Tekkaman 阅读(156) 评论(0) 推荐(0) 编辑
 
摘要: 【动态作用域】 作用域有两种: 1、动态作用域 2、词法作用域 JavaScript 中的作用域就是词法 作用域(事实上大部分语言都是基于词法作用域的)。但实际上动态作用域是 JavaScript 另一个重要机制 this 的表亲 词法作用域让 foo() 中的 a 通过 RHS 引用到了全局作用域 阅读全文
posted @ 2017-03-25 11:20 Tekkaman 阅读(533) 评论(0) 推荐(0) 编辑
 

2017年3月24日

摘要: 【eval】 1、只处理字符串 If the argument of eval() is not a string, eval() returns the argument unchanged. In the following example, the String constructor is 阅读全文
posted @ 2017-03-24 11:42 Tekkaman 阅读(190) 评论(0) 推荐(0) 编辑
 
摘要: 【common mistake of closure in loops】 下例中item引用的始终是最后一个值。 function showHelp(help) { document.getElementById('help').innerHTML = help; } function setupH 阅读全文
posted @ 2017-03-24 11:08 Tekkaman 阅读(109) 评论(0) 推荐(0) 编辑
 
摘要: 【Emulating private methods with closures】 JavaScript does not provide a native way of doing this, but it is possible to emulate private methods using 阅读全文
posted @ 2017-03-24 10:52 Tekkaman 阅读(272) 评论(0) 推荐(0) 编辑
 

2017年3月23日

摘要: 【Typechecking With PropTypes】 1、props类型检查 React has some built-in typechecking abilities. To run typechecking on the props for a component, you can as 阅读全文
posted @ 2017-03-23 19:33 Tekkaman 阅读(227) 评论(0) 推荐(0) 编辑
 
摘要: 【JXS In Depth】 1、Spread Attributes If you already have props as an object, and you want to pass it in JSX, you can use ... as a "spread" operator to p 阅读全文
posted @ 2017-03-23 19:21 Tekkaman 阅读(196) 评论(0) 推荐(0) 编辑
 
摘要: 【Choosing the Type at Runtime】 You cannot use a general expression as the React element type. If you do want to use a general expression to indicate t 阅读全文
posted @ 2017-03-23 17:32 Tekkaman 阅读(189) 评论(0) 推荐(0) 编辑
 
摘要: 【User-Defined Components Must Be Capitalized】 When an element type starts with a lowercase letter, it refers to a built-in component like<div> or <spa 阅读全文
posted @ 2017-03-23 17:26 Tekkaman 阅读(194) 评论(0) 推荐(0) 编辑
 
摘要: 【Computed property names】 That allows you to put an expression in brackets [], that will be computed as the property name. 参考:https://developer.mozill 阅读全文
posted @ 2017-03-23 11:03 Tekkaman 阅读(193) 评论(0) 推荐(0) 编辑
 

2017年3月22日

摘要: 【Controlled Components】 In HTML, form elements such as <input>, <textarea>, and <select> typically maintain their own state and update it based on use 阅读全文
posted @ 2017-03-22 17:11 Tekkaman 阅读(169) 评论(0) 推荐(0) 编辑
 
摘要: 【Handling Event】 1、React events are named using camelCase 2、You must call preventDefault explicitly to prevent default behaviour 3、define callback in 阅读全文
posted @ 2017-03-22 10:26 Tekkaman 阅读(198) 评论(0) 推荐(0) 编辑
 

2017年3月21日

摘要: 【State】 1、componentDidMount The componentDidMount() hook runs after the component output has been rendered to the DOM. This is a good place to set up 阅读全文
posted @ 2017-03-21 20:36 Tekkaman 阅读(141) 评论(0) 推荐(0) 编辑
 
摘要: 【props】 elements can also represent user-defined components: When React sees an element representing a user-defined component, it passes JSX attribute 阅读全文
posted @ 2017-03-21 14:31 Tekkaman 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: 【Functional and Class Components】 The simplest way to define a component is to write a JavaScript function: This function is a valid React component b 阅读全文
posted @ 2017-03-21 11:37 Tekkaman 阅读(225) 评论(0) 推荐(0) 编辑
 
摘要: 【招聘漂亮的员工】 无意中看到一个史晓燕的访谈,其中有一段她提到优先招聘漂亮的员工而不是丑陋的员工。原文如下。 史晓燕说她招聘女员工的时候很愿意用那些漂亮的女人,因为漂亮能给人带来愉悦。俗话说赏心悦目,第一印象“悦目”了,才会更容易有心情去欣赏对方的心灵,不是吗?对于这个问题,史晓燕说:“我曾经干过 阅读全文
posted @ 2017-03-21 11:27 Tekkaman 阅读(247) 评论(0) 推荐(0) 编辑
 

2017年3月20日

摘要: 【Spread Syntax】 The spread syntax allows an expression to be expanded in places where multiple arguments are expected. 1、为了将[]传递给一个函数,过去使用apply方法 ES20 阅读全文
posted @ 2017-03-20 17:25 Tekkaman 阅读(221) 评论(0) 推荐(0) 编辑
 

2017年3月19日

摘要: 【签名Cookie】 set-cookie时加上防篡改验证码。 如: user_name=alex|bj95ef23cc6daecc475de 防篡改验证码的生成规则可以很简单:md5(cookieValue+key)或sha1(cookieValue+key),key可以是服务器端掌握的一个固定字 阅读全文
posted @ 2017-03-19 13:58 Tekkaman 阅读(2119) 评论(0) 推荐(0) 编辑
 

2017年3月18日

摘要: 【fs.watchFile】 fs.watchFile(filename[, options], listener) Watch for changes on filename. The callback listener will be called each time the file is a 阅读全文
posted @ 2017-03-18 23:52 Tekkaman 阅读(1047) 评论(0) 推荐(0) 编辑
 
摘要: 【nimble】 series方法用于串行执行多个异步任务,通过npm可安装nimble。 Series works similarly to parallel, only it runs each function only once the previous has finished. Agai 阅读全文
posted @ 2017-03-18 23:28 Tekkaman 阅读(126) 评论(0) 推荐(0) 编辑
 

2017年3月15日

摘要: 【padding与margin的区别 】 margin就是设置view的上下左右边框的额外空间 padding是设置内容相对view的边框的距离 参考:http://blog.csdn.net/a19860903/article/details/7294956 阅读全文
posted @ 2017-03-15 22:59 Tekkaman 阅读(164) 评论(0) 推荐(0) 编辑
 

2017年3月14日

摘要: 【android TextView SetText卡顿原因】 不要用wrap_content即可。 参考:http://blog.csdn.net/self_study/article/details/42297573 阅读全文
posted @ 2017-03-14 19:42 Tekkaman 阅读(482) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 42 下一页