Canoe

Try to leave where you have been , No body was there to tell you it'll be a long way.


  • Home

  • Archives

  • Tags

  • c24's

  • Search

Markdown Attach Base64 Pic

Posted on 2022-09-04 => 01:03:25
| Words count in article: 106

Scene

  • 在 markdown 做笔记的时候插入图片,不使用外部链接的方式插入图片

Solution

  • 直接把图片转成base64编码后直接插入即可
Read more »

LightCVM and DB in Tencent Cloud

Posted on 2022-03-05 => 16:30:55
| Words count in article: 169

Scene

  • 在使用轻量级应用服务器的时候发现连接不上数据库
  • 查阅得知,腾讯云内部轻量服务器和云数据库默认内网是不通的
    Read more »

Something About VMware

Posted on 2022-01-01 => 22:35:16
| Words count in article: 731

Scene

  • Bulid server in VMware
  • Some issues encountered
    Read more »

Fiddler About Phone Proxy

Posted on 2021-12-20 => 22:13:40
| Words count in article: 277

Scene

  • Fiddler 手机抓包的一些设置
  • 通过 Fiddler 获取手机应用的网络请求数据
  • 不通端网络的设置方式
Read more »

RoboCopy In Win10 Task About(0x1/0x10)

Posted on 2021-12-18 => 18:58:13
| Words count in article: 206

Scene

  • RoboCopy bat 脚本添加到 win10 定时任务中
  • 出现 上次运行结果为 0x1,0x10

Solution

  • 因为脚本中使用到 网络磁盘 的原因
  • 手动执行脚本没问题,但是添加到定时任务就不行
  • 原因是在 定时任务 中的网络磁盘账户信息和 本地执行的网络磁盘账户 并不是一致的
  • 解决方法:
    1. 在定时任务的 常规-安全选项-选择【只在用户登录时运行】,这样就使用了和本地执行一致的网络磁盘账户信息
    2. 在脚本中添加 网络磁盘账户信息 net use j: \\RemoteHost\Files RemotePassword /user:RemoteUser
      Read more »

Use ArchiveBox For Daily

Posted on 2021-12-12 => 03:20:46
| Words count in article: 463

Sence

  • 由于经常发现一些站点或文章很不错,每次都只是手动保存链接
  • 偶尔回头看的话,原本保存的链接的站点或文章已经消失了
  • 所以需要一个服务在保存站点链接的时候,把站点抓取保存成文件
  • 这样日后翻看就很方便
    Read more »

CentOS8 About Docker

Posted on 2021-12-12 => 03:03:25
| Words count in article: 232

Sence

  • 安装 ArchiveBox 遇到了一些问题
  • 由于是用 Docker 安装的, 容器启动失败
    1
    2
    3
    4
    Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
    ERRO[0001] unable to get systemd connection to add healthchecks: dial unix /tmp/podman-run-1003/systemd/private: connect: connection refused
    ERRO[0001] unable to get systemd connection to start healthchecks: dial unix /tmp/podman-run-1003/systemd/private: connect: connection refused
    4
Read more »

Apache Log4j2 Fixbug

Posted on 2021-12-11 => 22:25:22
| Words count in article: 153

Sence

  • Apache Log4j 2.x < 2.15.0 存在远程代码执行
  • 结合了 JNDI , 本地利用 Log4j2 构造函数, 调用远程服务端 Log4j2 的函数,导致本地函数可以注入远程服务端代码
  • 详细 👉【漏洞预警】Apache Log4j2 远程代码执行漏洞(CVE-2021-44228)
    Read more »

Raw Github Connection Refused

Posted on 2021-12-11 => 17:38:53
| Words count in article: 356

Sence

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
root@raspberrypi /h/pi# curl -sSL 'https://get.archivebox.io' | sh
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
root@raspberrypi /h/pi# ping raw.githubusercontent.com
PING raw.githubusercontent.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.180 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.156 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.114 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.118 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.102 ms
64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.105 ms
64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.128 ms
^C
--- raw.githubusercontent.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 234ms
rtt min/avg/max/mdev = 0.102/0.129/0.180/0.026 ms
root@raspberrypi /h/pi#
  • 由上可知,由于 DNS 污染问题, raw.githubusercontent.com 经常访问不了
Read more »

Git Reset Commit Without Change Code

Posted on 2021-12-11 => 02:56:21
| Words count in article: 467

Scene

  • 因为设置了定时提交 github 脚本,偶尔在目录下打包了大的压缩包忘了删除
  • 定时任务提交 git commit 到本地仓库了
  • 今天手动 push 到 github 发现文件过大
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    F:\Code\Temp>git push
    Enumerating objects: 1193, done.
    Counting objects: 100% (1193/1193), done.
    Delta compression using up to 12 threads
    Compressing objects: 100% (812/812), done.
    Writing objects: 100% (1177/1177), 146.10 MiB | 461.00 KiB/s, done.
    Total 1177 (delta 212), reused 1111 (delta 175), pack-reused 0
    remote: Resolving deltas: 100% (212/212), completed with 14 local objects.
    remote: error: Trace: 64c7aa0d8f24426987252f0fa81b8013929e07d5a0f4f52abfff441e541eee51
    remote: error: See http://git.io/iEPt8g for more information.
    remote: error: File vue/vue.zip is 161.24 MB; this exceeds GitHub's file size limit of 100.00 MB
    remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
    To github.com:OrekiYuta/Temp.git
    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'github.com:OrekiYuta/Temp.git'
Read more »
12…9
0%
当前浏览器不支持canvas,请更换浏览器后再试
Orekiyuta

Orekiyuta

83 posts
68 tags
RSS
GitHub E-Mail
© 2024 Orekiyuta | Site words total count: 97.7k
京ICP备2021002172号-1