浏览模式: 标准 | 列表 2016年10月的文章

Linux执行脚本出现/bin/bash^M: bad interpreter:...

在windows系统下用notepad++编辑器编写了一段代码保存为shell.sh,直接上传到了linux系统中,赋予可执行权限:chmod +x shell.sh,然后执行./shell.sh却提示/bin/bash^M: bad interpreter: No such file or directory

造成这个问题的原因是:windows下的编码格式与linux下不同

解决方法,在linux下使用dos2unix工具转码一下即可,centos系统只需要yum -y install dos2unix就可以安装完成,然后用dos2unix shell.sh完成编码转换,然后就可以快乐地执行了!

下载谷歌浏览器(Chrome)扩展离线安装包crx文件

以下载Wappalyzer这个工具为例

直接访问地址是(打不开)https://chrome.google.com/webstore/detail/wappalyzer/gppongmhjkpfnbhagpmjfkannfbllamg

然后通过工具地址:http://yurl.sinaapp.com/crx.php

把扩展ID(红色的32位的字符串)填入后点击生成按钮,然后点击另存为就下载到电脑上了。之后在chrome浏览器地址栏中输入chrome://extensions/ 打开chrome扩展页面,再把下载到的crx文件拖进去就可以安装好了~

常见的一些扩展可以在这个地方下载到:http://yurl.sinaapp.com/crx2.php

  1. AdBlock
  2. Adblock Plus
  3. FireShot 捕捉网页截图
  4. Flashcontrol
  5. HTTPS Everywhere
  6. LastPass
  7. Page Monitor
  8. Pxxxroxy SxxxwitchyOmega
  9. Pxxxroxy SxxxwitchySharp
  10. Ratings Preview for YouTube
  11. Tampermonkey
  12. Todoist
  13. User-Axxxgent Switcher
  14. ZenMate
  15. 哔哩哔哩助手
  16. 惠惠购物助手
  17. 什么值得买
  18. 替换字体的中文部分为雅黑
  19. 小黄瓜视频广告拦截(与代理类冲突)
  20. 迅雷、旋风、快车链接转换
  21. 眼不见心不烦(微博)
  22. 印象笔记·剪藏
  23. 中国天气预报
  24. Adguard
  25. Click&Clean
  26. Fabulous
  27. Ghostery
  28. Google Mail Checker
  29. History Eraser
  30. Last.fm
  31. Photo Zoom for Facebook
  32. RSS Subscription
  33. Session Buddy
  34. SmoothScroll
  35. Speed Dial
  36. UxxxltraSurf
  37. Unblock Youku
  38. Adfree Player Online
  39. Advanced Font Settings
  40. Chrome Apps Developer Tool
  41. EditThisCookie
  42. IPvFoo
  43. Referer Control
  44. Smart Header
  45. Stylish
  46. The Great Suspender
  47. uBlock Origin
  48. uMatrix
  49. Vimium
  50. Chrono下载管理器
  51. EagleGet Free Downloader
  52. Free Download Manager
  53. Imagus
  54. Neater Bookmarks
  55. Popup my Bookmarks
  56. SimpleExtManager
  57. smartUp手势
  58. Yet Another Drag and Go
  59. 划词翻译
  60. 右键搜