<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Note</title>
  
  
  <link href="/atom.xml" rel="self"/>
  
  <link href="https://note.junyangz.com/"/>
  <updated>2020-05-12T13:11:32.083Z</updated>
  <id>https://note.junyangz.com/</id>
  
  <author>
    <name>Junyangz</name>
    
  </author>
  
  <generator uri="http://hexo.io/">Hexo</generator>
  
  <entry>
    <title>GitHub Actions部署Hexo博客</title>
    <link href="https://note.junyangz.com/2019/GitHub-Actions-depoly-Hexo/"/>
    <id>https://note.junyangz.com/2019/GitHub-Actions-depoly-Hexo/</id>
    <published>2019-09-17T03:03:21.000Z</published>
    <updated>2020-05-12T13:11:32.083Z</updated>
    
    <summary type="html">
    
      &lt;blockquote&gt;
&lt;p&gt;前言： 最近换了Mac，之前在Windows上写博客是基于本地配置好的一个hexo渲染引擎，迁移到Mac着实花费了不少精力(主要是学习和回顾，好久没折腾hexo了)，结论是本地维护一个这样的渲染环境很麻烦也不易迁移。因而有了这篇文章从另外一个角度来实现hexo博客更快的部署和维护。&lt;/p&gt;
&lt;/blockquote&gt;
    
    </summary>
    
      <category term="Tutorial" scheme="https://note.junyangz.com/categories/Tutorial/"/>
    
    
      <category term="GitHub Actions" scheme="https://note.junyangz.com/tags/GitHub-Actions/"/>
    
      <category term="Hexo" scheme="https://note.junyangz.com/tags/Hexo/"/>
    
  </entry>
  
  <entry>
    <title>Intro to Threads and Processes in Python</title>
    <link href="https://note.junyangz.com/2019/python-multithreading-vs-multiprocessing/"/>
    <id>https://note.junyangz.com/2019/python-multithreading-vs-multiprocessing/</id>
    <published>2019-05-04T12:34:48.000Z</published>
    <updated>2020-05-12T13:11:32.084Z</updated>
    
    <summary type="html">
    
      &lt;h2 id=&quot;Process-vs-Thread&quot;&gt;&lt;a href=&quot;#Process-vs-Thread&quot; class=&quot;headerlink&quot; title=&quot;Process vs Thread&quot;&gt;&lt;/a&gt;Process vs Thread&lt;/h2&gt;&lt;p&gt;A process is an instance of program (e.g. Jupyter notebook, Python interpreter). Processes spawn threads (sub-processes) to handle subtasks like reading keystrokes, loading HTML pages, saving files. Threads live inside processes and share the same memory space.&lt;br&gt;
    
    </summary>
    
    
      <category term="Python" scheme="https://note.junyangz.com/tags/Python/"/>
    
      <category term="Process" scheme="https://note.junyangz.com/tags/Process/"/>
    
      <category term="Thread" scheme="https://note.junyangz.com/tags/Thread/"/>
    
  </entry>
  
  <entry>
    <title>Ansible Playbooks for Apache Kafka in production</title>
    <link href="https://note.junyangz.com/2019/ansible-kafka/"/>
    <id>https://note.junyangz.com/2019/ansible-kafka/</id>
    <published>2019-04-29T07:56:14.000Z</published>
    <updated>2020-05-12T13:11:32.083Z</updated>
    
    <summary type="html">
    
      &lt;h2 id=&quot;前言&quot;&gt;&lt;a href=&quot;#前言&quot; class=&quot;headerlink&quot; title=&quot;前言&quot;&gt;&lt;/a&gt;前言&lt;/h2&gt;&lt;p&gt;参考了&lt;a href=&quot;https://github.com/confluentinc/cp-ansible&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;confluentinc/cp-ansible&lt;/a&gt;playbook批量安装部署Apache Kafka 2.2.0. 已在&lt;a href=&quot;https://github.com/Junyangz/ansible-kafka&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Github&lt;/a&gt;上开源&lt;br&gt;
    
    </summary>
    
      <category term="DevOps" scheme="https://note.junyangz.com/categories/DevOps/"/>
    
    
      <category term="Ansible" scheme="https://note.junyangz.com/tags/Ansible/"/>
    
      <category term="Kafka" scheme="https://note.junyangz.com/tags/Kafka/"/>
    
      <category term="Linux" scheme="https://note.junyangz.com/tags/Linux/"/>
    
  </entry>
  
  <entry>
    <title>Top Shell Scripting Interview Questions &amp; Answers</title>
    <link href="https://note.junyangz.com/2019/shell-scripting-interview-questions/"/>
    <id>https://note.junyangz.com/2019/shell-scripting-interview-questions/</id>
    <published>2019-01-02T06:44:16.000Z</published>
    <updated>2020-05-12T13:11:32.084Z</updated>
    
    <summary type="html">
    
      &lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;What is a shell?&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code&gt;Shell is an interface between the user and the kernel. Even though there can be only one kernel; a system can have many shell running simultaneously. So, whenever a user enters a command through the keyboard, the shell communicates with the kernel to execute it and then display the output to the user.
&lt;/code&gt;&lt;/pre&gt;
    
    </summary>
    
    
      <category term="Linux" scheme="https://note.junyangz.com/tags/Linux/"/>
    
      <category term="Shell" scheme="https://note.junyangz.com/tags/Shell/"/>
    
      <category term="Interview" scheme="https://note.junyangz.com/tags/Interview/"/>
    
  </entry>
  
  <entry>
    <title>联邦学习</title>
    <link href="https://note.junyangz.com/2018/Federated-learning/"/>
    <id>https://note.junyangz.com/2018/Federated-learning/</id>
    <published>2018-12-11T04:31:53.000Z</published>
    <updated>2020-05-12T13:11:32.082Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;联邦学习：数据分散及隐私保护式分布式机器学习（翻译）&quot;&gt;&lt;a href=&quot;#联邦学习：数据分散及隐私保护式分布式机器学习（翻译）&quot; class=&quot;headerlink&quot; title=&quot;联邦学习：数据分散及隐私保护式分布式机器学习（翻译）&quot;&gt;&lt;/a&gt;联邦学习：数据分散及隐私保护式分布式机器学习（翻译）&lt;/h1&gt;&lt;p&gt;原文：&lt;a href=&quot;https://blog.fastforwardlabs.com/2018/11/14/federated-learning.html&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Federated learning: distributed machine learning with data locality and privacy&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;​    联邦学习可以在不直接访问训练数据的情况下构建机器学习系统。数据保留在原始位置，这有助于保护隐私并降低通信成本。&lt;/p&gt;
&lt;p&gt;本文关注联邦学习技术原理方面。&lt;br&gt;
    
    </summary>
    
      <category term="Research" scheme="https://note.junyangz.com/categories/Research/"/>
    
    
      <category term="Federated-learning" scheme="https://note.junyangz.com/tags/Federated-learning/"/>
    
      <category term="Distributed machine learning" scheme="https://note.junyangz.com/tags/Distributed-machine-learning/"/>
    
      <category term="Differential privacy" scheme="https://note.junyangz.com/tags/Differential-privacy/"/>
    
  </entry>
  
  <entry>
    <title>Caddy</title>
    <link href="https://note.junyangz.com/2018/caddy-server/"/>
    <id>https://note.junyangz.com/2018/caddy-server/</id>
    <published>2018-05-18T12:31:58.000Z</published>
    <updated>2020-05-12T13:11:32.083Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;Caddy-Server&quot;&gt;&lt;a href=&quot;#Caddy-Server&quot; class=&quot;headerlink&quot; title=&quot;Caddy Server&quot;&gt;&lt;/a&gt;Caddy Server&lt;/h1&gt;&lt;p&gt;上手 &lt;strong&gt;Caddy server&lt;/strong&gt; 有一段时间了，一直打算写点相关使用的体验奈何太懒加之前段时间太忙了。最近刚好结了一些课，时间稍微空余了些便将以前零星的内容整理下。&lt;br&gt;本文主要涉及Caddy一些初级使用情形（server、反向代理、filemanager等），其他高级的使用场景待以后体验后再补充。&lt;br&gt;
    
    </summary>
    
      <category term="DevOps" scheme="https://note.junyangz.com/categories/DevOps/"/>
    
    
      <category term="caddy" scheme="https://note.junyangz.com/tags/caddy/"/>
    
      <category term="web server" scheme="https://note.junyangz.com/tags/web-server/"/>
    
      <category term="filemanager" scheme="https://note.junyangz.com/tags/filemanager/"/>
    
  </entry>
  
  <entry>
    <title>CTF</title>
    <link href="https://note.junyangz.com/2017/ctf/"/>
    <id>https://note.junyangz.com/2017/ctf/</id>
    <published>2017-11-20T08:32:10.000Z</published>
    <updated>2020-05-12T13:11:32.083Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;签。。签到题？&quot;&gt;&lt;a href=&quot;#签。。签到题？&quot; class=&quot;headerlink&quot; title=&quot;签。。签到题？&quot;&gt;&lt;/a&gt;签。。签到题？&lt;/h1&gt;&lt;h2 id=&quot;你想要什么？告诉我&quot;&gt;&lt;a href=&quot;#你想要什么？告诉我&quot; class=&quot;headerlink&quot; title=&quot;你想要什么？告诉我&quot;&gt;&lt;/a&gt;你想要什么？告诉我&lt;/h2&gt;&lt;p&gt;&lt;a href=&quot;http://127.0.0.1:30004&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;http://127.0.0.1:30004&lt;/a&gt;&lt;/p&gt;
    
    </summary>
    
      <category term="Web" scheme="https://note.junyangz.com/categories/Web/"/>
    
    
      <category term="CTF" scheme="https://note.junyangz.com/tags/CTF/"/>
    
  </entry>
  
  <entry>
    <title>Migrating to IPv6 on AWS</title>
    <link href="https://note.junyangz.com/2017/IPv6-AWS/"/>
    <id>https://note.junyangz.com/2017/IPv6-AWS/</id>
    <published>2017-04-04T03:13:08.000Z</published>
    <updated>2020-05-12T13:11:32.083Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;&amp;nbsp;&amp;nbsp;If you have an existing VPC that supports IPv4 only, and resources in your subnet that are configured to use IPv4 only, you can enable IPv6 support for your VPC and resources. Your VPC can operate in dual-stack mode — your resources can communicate over IPv4, or IPv6, or both. IPv4 and IPv6 communication are independent of each other.&lt;br&gt;
    
    </summary>
    
      <category term="DevOps" scheme="https://note.junyangz.com/categories/DevOps/"/>
    
    
      <category term="IPv6" scheme="https://note.junyangz.com/tags/IPv6/"/>
    
      <category term="AWS" scheme="https://note.junyangz.com/tags/AWS/"/>
    
      <category term="ec2" scheme="https://note.junyangz.com/tags/ec2/"/>
    
      <category term="Centos 7" scheme="https://note.junyangz.com/tags/Centos-7/"/>
    
  </entry>
  
  <entry>
    <title>ELK &amp; SENSU</title>
    <link href="https://note.junyangz.com/2017/ELK%20&amp;%20SENSU/"/>
    <id>https://note.junyangz.com/2017/ELK &amp; SENSU/</id>
    <published>2017-03-07T08:30:30.000Z</published>
    <updated>2020-05-12T13:11:32.082Z</updated>
    
    <summary type="html">
    
      &lt;h1 id=&quot;ELK-amp-SENSU&quot;&gt;&lt;a href=&quot;#ELK-amp-SENSU&quot; class=&quot;headerlink&quot; title=&quot;ELK &amp;amp; SENSU&quot;&gt;&lt;/a&gt;ELK &amp;amp; SENSU&lt;/h1&gt;&lt;h2 id=&quot;SENSU&quot;&gt;&lt;a href=&quot;#SENSU&quot; class=&quot;headerlink&quot; title=&quot;SENSU&quot;&gt;&lt;/a&gt;SENSU&lt;/h2&gt;&lt;h3 id=&quot;Sensu-Server-and-API-installation&quot;&gt;&lt;a href=&quot;#Sensu-Server-and-API-installation&quot; class=&quot;headerlink&quot; title=&quot;Sensu Server and API installation&quot;&gt;&lt;/a&gt;Sensu Server and API installation&lt;/h3&gt;&lt;h4 id=&quot;Install-Redis-and-Configure-Redis&quot;&gt;&lt;a href=&quot;#Install-Redis-and-Configure-Redis&quot; class=&quot;headerlink&quot; title=&quot;Install Redis and Configure Redis&quot;&gt;&lt;/a&gt;Install Redis and Configure Redis&lt;/h4&gt;&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;sudo apt-get -y install redis-server
sudo update-rc.d redis-server defaults
sudo vim /etc/redis/redis.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;blockquote&gt;
&lt;p&gt;Change “bind 127.0.0.1” to “bind 0.0.0.0” #VPC USE ONLY!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;sudo service redis-server restart
redis-cli ping
&lt;/code&gt;&lt;/pre&gt;
    
    </summary>
    
      <category term="DevOps" scheme="https://note.junyangz.com/categories/DevOps/"/>
    
    
      <category term="SENSU" scheme="https://note.junyangz.com/tags/SENSU/"/>
    
      <category term="ELK Stack" scheme="https://note.junyangz.com/tags/ELK-Stack/"/>
    
      <category term="Elasticsearch" scheme="https://note.junyangz.com/tags/Elasticsearch/"/>
    
      <category term="Kibana" scheme="https://note.junyangz.com/tags/Kibana/"/>
    
      <category term="Logstash" scheme="https://note.junyangz.com/tags/Logstash/"/>
    
      <category term="Grafana" scheme="https://note.junyangz.com/tags/Grafana/"/>
    
      <category term="AWS" scheme="https://note.junyangz.com/tags/AWS/"/>
    
  </entry>
  
  <entry>
    <title>一份简要的IPv6入门姿势</title>
    <link href="https://note.junyangz.com/2015/ipv6/"/>
    <id>https://note.junyangz.com/2015/ipv6/</id>
    <published>2015-09-23T03:23:25.000Z</published>
    <updated>2020-05-12T13:11:32.084Z</updated>
    
    <summary type="html">
    
      &lt;p&gt;  IPv6是“Internet Protocol Version 6”的缩写，是由国际互联网标准化组织IETF设计的用于替代现行版本IPv4的下一代互联网核心协议，对过渡、路由、网管、传输、安全等已有比较成熟的标准。&lt;br&gt;&lt;a href=&quot;https://www.wikiwand.com/en/IPv6&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;IPv6 wiki&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://www.wikiwand.com/en/China_Next_Generation_Internet&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;China_Next_Generation_Internet&lt;/a&gt;&lt;/p&gt;
    
    </summary>
    
      <category term="Tutorial" scheme="https://note.junyangz.com/categories/Tutorial/"/>
    
    
      <category term="IPv6" scheme="https://note.junyangz.com/tags/IPv6/"/>
    
      <category term="Youtube" scheme="https://note.junyangz.com/tags/Youtube/"/>
    
      <category term="Google" scheme="https://note.junyangz.com/tags/Google/"/>
    
      <category term="Network" scheme="https://note.junyangz.com/tags/Network/"/>
    
  </entry>
  
  <entry>
    <title>教育网利用DigitalOcean搭建IPv6—Shadowscoks实现免流量&amp;科学上网</title>
    <link href="https://note.junyangz.com/2015/digitalocean/"/>
    <id>https://note.junyangz.com/2015/digitalocean/</id>
    <published>2015-09-17T13:58:10.000Z</published>
    <updated>2020-05-12T13:11:32.084Z</updated>
    
    <summary type="html">
    
      &lt;h2 id=&quot;搭建IPv6的SS背景&quot;&gt;&lt;a href=&quot;#搭建IPv6的SS背景&quot; class=&quot;headerlink&quot; title=&quot;搭建IPv6的SS背景&quot;&gt;&lt;/a&gt;搭建IPv6的SS背景&lt;/h2&gt;&lt;p&gt;自从在VPS搭建了IPv6-Shadowscoks以后就一直觉得有这样一个免流量无墙的通道不好好玩一玩貌似可惜了。 于是本人折腾了半天的时间，租用了DigitalOcean一个VPS搭建了一个支持IPv6的VPN，不仅可以免流量还自带科学上网。支持IPv6免流量的高校应该都是可以的。&lt;/p&gt;
&lt;h2 id=&quot;效果&quot;&gt;&lt;a href=&quot;#效果&quot; class=&quot;headerlink&quot; title=&quot;效果&quot;&gt;&lt;/a&gt;&lt;strong&gt;效果&lt;/strong&gt;&lt;/h2&gt;
    
    </summary>
    
      <category term="Tutorial" scheme="https://note.junyangz.com/categories/Tutorial/"/>
    
    
      <category term="digitalocean" scheme="https://note.junyangz.com/tags/digitalocean/"/>
    
      <category term="shadowsocks" scheme="https://note.junyangz.com/tags/shadowsocks/"/>
    
      <category term="vps" scheme="https://note.junyangz.com/tags/vps/"/>
    
  </entry>
  
</feed>
