好好爱自己!

05 2018 档案

摘要:https://stackoverflow.com/questions/39286826/how-to-get-the-edited-text-from-itext-in-fabricjs http://jsfiddle.net/srshah23/3pwb2404/2/ You can get yo 阅读全文
posted @ 2018-05-31 20:59 立志做一个好的程序员 阅读(513) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.sitepoint.com/fabric-js-advanced/ 结果如下: We’ve covered most of the basics of Fabric in the first and second parts of this series. In th 阅读全文
posted @ 2018-05-31 15:42 立志做一个好的程序员 阅读(5378) 评论(0) 推荐(0) 编辑
摘要:ou can pass the $event object as an argument when calling the function. The $event object contains the browser's event object: Example <div ng-app="my 阅读全文
posted @ 2018-05-31 14:00 立志做一个好的程序员 阅读(2593) 评论(0) 推荐(0) 编辑
摘要:Event reference: https://developer.mozilla.org/en-US/docs/Web/Events http://w3c.github.io/html/webappapis.html#events 原文: https://developer.mozilla.or 阅读全文
posted @ 2018-05-31 13:49 立志做一个好的程序员 阅读(1490) 评论(0) 推荐(0) 编辑
摘要:The only thing I can think of is that event is in fact window.event and it makes itself available when some event dispatches and Event...but that woul 阅读全文
posted @ 2018-05-31 12:32 立志做一个好的程序员 阅读(1156) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.w3schools.com/js/js_best_practices.asp Avoid global variables, avoid new, avoid ==, avoid eval() Avoid Global Variables Minimize the u 阅读全文
posted @ 2018-05-31 11:09 立志做一个好的程序员 阅读(225) 评论(0) 推荐(0) 编辑
摘要:Propagation At this point, we should ask an important question—if an element and one of its ancestors have a handler on the same event, which handler 阅读全文
posted @ 2018-05-31 10:48 立志做一个好的程序员 阅读(197) 评论(0) 推荐(0) 编辑
摘要:https://www.javascripting.com/view/redux 阅读全文
posted @ 2018-05-30 16:40 立志做一个好的程序员 阅读(140) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.bennadel.com/blog/2480-unbinding-watch-listeners-in-angularjs.htm Unbinding $watch() Listeners In AngularJS By Ben Nadel on June 5, 20 阅读全文
posted @ 2018-05-30 16:37 立志做一个好的程序员 阅读(217) 评论(0) 推荐(0) 编辑
摘要:ProblemDeclaring a setInterval() without keeping a reference to it (which is returned from the function call setInterval(), it returns an id number fo 阅读全文
posted @ 2018-05-29 14:52 立志做一个好的程序员 阅读(196) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.cnblogs.com/codernie/p/9098184.html 1.类的prototype是什么? 在Javascript中,每当我们定义一个构造函数,Javascript引擎就会自动为这个类中添加一个prototype(也被称作原型) 2.对象的 proto 阅读全文
posted @ 2018-05-28 13:39 立志做一个好的程序员 阅读(169) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/sjn0503/article/details/76087631 简单来讲,整体的js代码这个macrotask先执行,同步代码执行完后有microtask执行microtask,没有microtask执行下一个macrotask,如此往复循环至结 阅读全文
posted @ 2018-05-28 09:51 立志做一个好的程序员 阅读(240) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.sohamkamani.com/blog/2016/03/14/wrapping-your-head-around-async-programming/ How is javascript asynchronous AND single threaded? 💫 Ma 阅读全文
posted @ 2018-05-25 14:37 立志做一个好的程序员 阅读(222) 评论(0) 推荐(0) 编辑
摘要:原文: https://www.quora.com/How-does-a-single-thread-handle-asynchronous-code-in-JavaScript Well, arguably its not true that Javascript is single thread 阅读全文
posted @ 2018-05-25 10:54 立志做一个好的程序员 阅读(163) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/36660108/how-to-create-custom-fabricjs-object I have to create a custom fabricjs object(say, fabric.Demo) which ex 阅读全文
posted @ 2018-05-22 09:32 立志做一个好的程序员 阅读(2076) 评论(0) 推荐(0) 编辑
摘要:端口映射和DMZ是提供内网和外网映射的,具体各自如下:DMZ:就相当于DNAT(Destination NAT),只对目的IP地址做地址转换。也就是说,收到目的IP为自己WAN口的包,统统转发给内网的某个IP(你所配置),当然转发的过程中,对目的IP做了NAT。端口映射:针对某些特定的包进行DNAT 阅读全文
posted @ 2018-05-21 01:53 立志做一个好的程序员 阅读(1626) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/jwpker/article/details/45870903 NAT Bridged Adapter网桥模式 Internal内网模式 Host-only Adapter主机模式 双网卡设置 原文: https://blog.csdn.net/j 阅读全文
posted @ 2018-05-21 01:27 立志做一个好的程序员 阅读(8434) 评论(0) 推荐(0) 编辑
摘要:慕课网:https://www.imooc.com/video/7617 马哥linux视频: http://edu.51cto.com//center/course/lesson/index?id=92479 阅读全文
posted @ 2018-05-20 22:45 立志做一个好的程序员 阅读(210) 评论(0) 推荐(0) 编辑
摘要:Ubuntu 查看网关地址方法 2017年01月10日 09:03:02 阅读数:3527 2017年01月10日 09:03:02 阅读数:3527 阅读数:3527 1. ip route show 2.route -n or netstat -rn 3.traceroute 1. ip rou 阅读全文
posted @ 2018-05-20 22:22 立志做一个好的程序员 阅读(2577) 评论(0) 推荐(0) 编辑
摘要:25 Most Frequently Used Linux IPTables Rules Examples by RAMESH NATARAJAN on JUNE 14, 2011 25 Most Frequently Used Linux IPTables Rules Examples by RA 阅读全文
posted @ 2018-05-20 01:19 立志做一个好的程序员 阅读(531) 评论(0) 推荐(0) 编辑
摘要:https://www.3pillarglobal.com/insights/angularjs-understanding-directive-scope In the previous post, we created custom AngularJS directives. However, 阅读全文
posted @ 2018-05-18 13:08 立志做一个好的程序员 阅读(319) 评论(0) 推荐(0) 编辑
摘要:http://www.codelord.net/2015/05/19/angularjs-dynamically-loading-directives/ AngularJS: Dynamically loading directives May 19th, 2015 | Comments It’s 阅读全文
posted @ 2018-05-18 13:06 立志做一个好的程序员 阅读(217) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/23556398/how-to-dynamically-load-directive-into-page I have an html file with a controller and a directive with a 阅读全文
posted @ 2018-05-18 13:04 立志做一个好的程序员 阅读(327) 评论(0) 推荐(0) 编辑
摘要:原文: http://www.jb51.net/article/100462.htm truncate -s 0 access.log 这篇文章主要介绍了Linux 中清空或删除大文件内容的五种方法的相关资料,需要的朋友可以参考下 在 Linux 终端下处理文件时,有时我们想直接清空文件的内容但又不 阅读全文
posted @ 2018-05-17 10:16 立志做一个好的程序员 阅读(8093) 评论(0) 推荐(1) 编辑
摘要:let line1 = new fabric.Line([lineleft, lineheight, lineleft, 0], {//终止位置,线长,起始位置,top,这里是从项目中截下来的我用了变量代替,你要用的话lineheight和lineleft用自己的变量或者数字代替。如果两个终止位置和 阅读全文
posted @ 2018-05-15 16:29 立志做一个好的程序员 阅读(1122) 评论(0) 推荐(0) 编辑
摘要:service --status-all 阅读全文
posted @ 2018-05-13 15:27 立志做一个好的程序员 阅读(674) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.simapple.com/341.html osted by simapple on Sunday, 10 August 2014 rmi 删除image Usage: docker rmi IMAGE [IMAGE...]Remove one or more image 阅读全文
posted @ 2018-05-11 11:07 立志做一个好的程序员 阅读(1588) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/luckystar689/article/details/76572046 https://stackoverflow.com/questions/35994349/php-date-timezone-not-found-with-docker-p 阅读全文
posted @ 2018-05-11 09:08 立志做一个好的程序员 阅读(3176) 评论(0) 推荐(0) 编辑
摘要:原文: https://blog.csdn.net/liuyueyi1995/article/details/61204205 你先确认这两件事:1)执行 docker exec -it dream.php bash,到 php 存放目录看看,如果看不到你的文件,目录映射多半有问题;2)确认 fas 阅读全文
posted @ 2018-05-10 14:45 立志做一个好的程序员 阅读(5370) 评论(0) 推荐(1) 编辑
摘要:var/cache/apt/archives occupying huge space I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/ 阅读全文
posted @ 2018-05-09 22:59 立志做一个好的程序员 阅读(7856) 评论(0) 推荐(0) 编辑
摘要:I see pretty much all the answers recommend deleting the lock. I don't recommend doing that as a first measure; maybe if there is no alternative. The 阅读全文
posted @ 2018-05-09 22:39 立志做一个好的程序员 阅读(1298) 评论(0) 推荐(0) 编辑
摘要:原文: http://man.linuxde.net/watch watch命令以周期性的方式执行给定的指令,指令输出以全屏方式显示。watch是一个非常实用的命令,基本所有的Linux发行版都带有这个小工具,如同名字一样,watch可以帮你监测一个命令的运行结果,省得你一遍遍的手动运行。 语法 选 阅读全文
posted @ 2018-05-09 13:36 立志做一个好的程序员 阅读(272) 评论(0) 推荐(0) 编辑
摘要:原文: https://kb.cnblogs.com/page/578689/ 作为一个从业快10年的程序员,我想给新入行的程序员们一些建议。这些建议是我希望自己可以在毕业时就读到的,也希望它们可以帮助你成为一个更好的程序员。 简单归纳一下,总共有7条: 下面我来详细说说每一点。 保持健康 三寸气在 阅读全文
posted @ 2018-05-04 22:08 立志做一个好的程序员 阅读(329) 评论(0) 推荐(0) 编辑
摘要:openvpn 超时时间设置 原文:http://www.tothenew.com/blog/how-to-update-and-view-timeout-session-in-openvpn-access-server/ EmailTwitterFacebookLinkedInGoogle+ op 阅读全文
posted @ 2018-05-03 16:24 立志做一个好的程序员 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-03 15:35 立志做一个好的程序员 阅读(2) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处

点击右上角即可分享
微信分享提示