×

Falcon

  • DFP动态加载广告代码

    <script> var isMobileBrowser = typeof jQuery.browser.mobile !== 'undefined' && jQuery.browser.mobile; var adSlotClass = 'ad-slot', lrecClass = 'lrec', leade...

    2020-03-09 08:57 Falcon 阅读
  • 测试一下codesample插件

    tinymce.init({ selector: 'textarea', plugins: 'codesample', codesample_languages: [ {text: 'HTML/XML', value: 'markup'}, {text: 'JavaScript', value: 'javascript'},...

    2020-03-07 11:53 Falcon 阅读
  • YouTube 分享的嵌入视频实现响应式显示

    首先,向嵌入的iframe视频外加上一个.responsive-youtube的父元素。 <div class="responsive-youtube"> <iframe YOUR YOUTUBE CODE></iframe> </div> 然后加入以下样式 .responsive-youtube {...

    2020-03-05 08:31 Falcon 阅读
  • ssh不断线的配置方法

    服务端: 修改 /etc/ssh/sshd_config文件的参数如下: ClientAliveInterval 30 ClientAliveCountMax 6 说明: SSH Server 每 30 秒就会自动发送一个信号给 Client,而等待 Client 回应,...

    2020-03-05 06:18 Falcon 阅读
  • 【干货】Chrome插件(扩展)开发全攻略

    写在前面 我花了将近一个多月的时间断断续续写下这篇博文,并精心写下完整demo,写博客的辛苦大家懂的,所以转载务必保留出处。本文所有涉及到的大部分代码均在这个demo里面:https://github.com/sxei/chrome-plugin-demo ,大家可以直接下载下来运行。 另外,本文图片较多,且图片服务器带宽有限,右下角的目录...

    2020-03-04 08:45 Falcon 阅读
  • magic mouse 2 在Mac上灵敏度太低的解决办法

    1、打开终端 2、输入以下代码查看当前鼠标移动速度 defaults read -g com.apple.mouse.scaling 你会看到输出的是 “3”,这是初始速度  3、输入以下代码改变鼠标移动速度 defaults write -g com.apple.mouse.scaling 7 后面的数字 &l...

    2020-03-01 06:26 Falcon 阅读
  • Docker 各组件的作用和解释

    It's all started with a pressure of splitting the monolithic implementation of Docker and Moby Project as result. Now Docker consist of several components on particular m...

    2020-02-28 15:12 Falcon 阅读
  • Docker for Arm on Linux 入门

    This blog post is the result of collaboration between Arm and Docker.  Special thanks to Jason Andrews @ Arm for creating much of the original content. Arm and Docker announc...

    2020-02-28 13:06 Falcon 阅读
  • Docker Daemon 与 Docker CLI 的交互和工作模式

    Docker is not a monolithic piece of software. It is composed of a few different tools and this article will cover the daemon and the CLI. Quick Jump: Visualizing Docker's Arc...

    2020-02-28 12:04 Falcon 阅读
  • docker下安装adguardhome的教程

    1. 如果以前装过docker版的adg,先删除原有容器和相关配置,具体命令如下(以N1为例,贝壳云把 mmcblk1p3 换成 mmcblk0p4 即可): docker stop adguardhome docker rm adguardhome rm -rf /mnt/mmcblk1p3/adguardhome/confdir/*...

    2020-02-28 04:47 Falcon 阅读