摘要:
js ParseUrlfunction parseURL(url) { var a = document.createElement('a'); a.href = url; return { source: url, protocol: a.protocol.replace(':',''), hos
阅读全文
posted @ 2017-12-27 11:59
bug_x
阅读(196)
推荐(0)
编辑
摘要:
https://github.com/electron/electron/issues/2610
阅读全文
posted @ 2017-12-20 09:34
bug_x
阅读(476)
推荐(0)
编辑
摘要:
function setConsole() { var iframe = document.createElement('iframe'); iframe.style.display = 'none'; document.body.appendChild(iframe); console = ifr
阅读全文
posted @ 2017-12-12 11:45
bug_x
阅读(282)
推荐(0)
编辑
摘要:
1、Facebook ID? User ID / https://www.piliapp.com/facebook/id/?url=https%3A%2F%2Fwww.facebook.com%2Fzuker
阅读全文
posted @ 2017-12-07 19:29
bug_x
阅读(233)
推荐(0)
编辑
摘要:
最近处理fb emoji,查了下相关的资料。记录于此 twitter blog 关于:https://blog.twitter.com/developer/en_us/a/2014/open-sourcing-twitter-emoji-for-everyone.html 872 emoji. tw
阅读全文
posted @ 2017-12-07 19:29
bug_x
阅读(4569)
推荐(0)
编辑
摘要:
delete FROM `test_table` WHERE id in (SELECT id,concat(user_id,user_id2) as __fFROM `test_table` where user_id = 11GROUP BY `__f` HAVING COUNT( * ) >1
阅读全文
posted @ 2017-12-07 15:57
bug_x
阅读(1283)
推荐(0)
编辑
摘要:
原文来自: https://www.cnblogs.com/tsjTSJ/p/7065544.html 最全最详细的用JS过滤Emoji表情的输入 在前端页面开发过程中,总会碰到不允许输入框输入emoji表情的需求,我的思路是通过编码用正则匹配表情,然后将其替换为空字符创。但是问题也是显而易见的,完
阅读全文
posted @ 2017-12-07 15:54
bug_x
阅读(1921)
推荐(0)
编辑
摘要:
繁体字转换:http://xh.5156edu.com/jtof.php 转换的有问题http://tool.lu/zhconvert/ git网址:https://github.com/BYVoid/OpenCC//正常安装 doxygen --version1.8.14gcc (GCC) 4.8
阅读全文
posted @ 2017-11-17 16:19
bug_x
阅读(2181)
推荐(0)
编辑
摘要:
错误信息: relocation error: /lib/tls/libc.so.6: symbol _dl_tls_get_addr_soft, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time refer
阅读全文
posted @ 2017-11-16 19:49
bug_x
阅读(15143)
推荐(0)
编辑
摘要:
计算相关进程数: tasklist|find /i "cmd.exe" 安装git的可以 tasklist|find /i "cmd.exe" | wc -l
阅读全文
posted @ 2017-11-02 17:34
bug_x
阅读(133)
推荐(0)
编辑