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

Local Area Network(LAN) Formation Scheme

Posted on 2021-09-20 => 02:55:37
| Words count in article: 181

Scene

  • 组一套家庭网络服务,充分利用全部闲置的计算设备。
    Read more »

Github Unsupport PassWord Authentication

Posted on 2021-08-21 => 00:23:55
| Words count in article: 99

Sence

1
2
3
4
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/xxx/xxx.github.io.git/': The requested URL returned error: 403
Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html

Solution

  • Hexo => _config.yaml

    1
    2
    3
    4
    5
    deploy:
    type: git
    # repo: https://github.com/OrekiYuta/OrekiYuta.github.io.git
    repo: git@github.com:OrekiYuta/orekiyuta.github.io.git
    branch: master
  • 👉 Github SSH

Use Github Api Commit

Posted on 2021-08-04 => 00:53:33
| Words count in article: 601

Sence

  • 使用 github 提供的 API 操作 repo
  • 之后可利用该操作,对仓库项目提交,结合 github action 进行自动化部署
    Read more »

Gitkraken Account Switch

Posted on 2021-07-28 => 21:43:24
| Words count in article: 168

Sence

  • 使用 Gitkraken GUI 工具,想要切换绑定的 github 账号拉取代码
  • 出现错误提示,无法断开当前 github 账户绑定
Read more »

Get AZ-900 Certification

Posted on 2021-07-24 => 17:39:00
| Words count in article: 38

Prepare

  • 👉 Exam AZ-900: Microsoft Azure Fundamentals
  • Schedule exam
  • Review examination on the site Or outside materials
    • 👉AZ-900
    • 👉AZ-900.bakLink

If Pass

  • Receive Mail
  • Get the Certification
  • Check on
    • Profile => Certifications 👉 docs.microsoft.com
    • 👉 credly

jQuery Loop Clone

Posted on 2021-07-20 => 20:45:04
| Words count in article: 380

Scene

  • 循环 clone() 发现除了第一个元素以后的都不对劲

Solution

  • 使用 clone() 的时候要注意的是 clone 出来的元素标签需要放在 原型标签的后面
Read more »

Use jsdeliver Load Static Resources

Posted on 2021-07-15 => 20:38:55
| Words count in article: 305

Scene

  • 向 github 的 README 文件中添加图片链接
  • 把图片上传到仓库,然后引用仓库的自动分配给图片的 raw.githubusercontent.com 域地址
  • 但是这种方式只有能访问 raw.githubusercontent.com 的情况下才能加载图片
  • 由于网络情况原因, DNS 污染 ,很多时候加载不出来
  • 因此这种方式不够完善
    Read more »

Git Remote end hung up unexpectedly

Posted on 2021-07-13 => 19:43:07
| Words count in article: 210

Scene

  • 查看 github 发现今日没有自动提交
  • 手动 push 一下,发现异常情况,应该也是网络问题

Solution

  • 把远程连接 https 改用 ssh
  • git remote set-url origin git@github.com:OrekiYuta/Temp.git
  • Read more »

CORS Options Request

Posted on 2021-07-12 => 23:47:18
| Words count in article: 91

Sence

  • 在查看网络请求的时候发现一个动作发送了两次请求
  • 查了一下,得知原因是以为 跨域非简单请求在真正的请求之前,需要先发送一次 OPTIONS 预请求

Other

  • 👉 跨源资源共享(CORS)
  • 👉 http请求发生两次(原来是options请求)
  • 👉 跨域资源共享 CORS 详解

IE Ajax Always Error Callback

Posted on 2021-07-12 => 23:13:19
| Words count in article: 183

Sence

  • 使用 jQuery 的 $.ajax 发送网络请求
  • 在其他浏览器上返回正常结果
  • 但是在 ie 上总是执行 error 回调

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    <!-- jquery-1.12.4.min.js -->
    $.ajax({
    async:false,
    cache:false,
    type:"POST",
    data:param,
    url:"http://xxx",
    dataType: "json",
    success: function(data){
    console.log(data);
    },error : function(error){
    console.log(error)
    }
    });
  • 如上代码在 ie 中总是得到 [object Object]{readyState: 0, responseJSON: undefined, status: 0, statusText: "No Transport"

    Read more »
1234…9
0%
当前浏览器不支持canvas,请更换浏览器后再试
Orekiyuta

Orekiyuta

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