Code Monkey home page Code Monkey logo

wiki-site's People

Contributors

zthxxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wiki-site's Issues

Management: abilities rank assess

purpose: incentive learning to keep up with the Joneses

abstract: assess man's volume of learning and create result to publicly displayed rank point

expectation: learning initiative increased

scheme:

  1. 签到是为了强制保证时间
  2. 周报是为了管理人员了解情况,监督同学学习
  3. 签到和周报内容在管理员处,不够公开,不方便看
  4. 同学们不知道其他人的学习方向和学习情况
  5. 相互之间不知道谁擅长某方面,有问题不知道找谁擅长的问
  6. 将学习的量(看书的量,解决问题的量)和动手做的东西量化成能力点数,例如:
    • 将书本按章节阶段划分,按难度评估点数,学完这几章节即获得相应点数
    • 小制作按工作量、使用技术要点难度、调试过程产出总结量评估点数
  7. 点数排名在实验室公开(大屏幕、黑板、网页)
  8. 大屏幕及网页实时更新,黑板每天更新或周更
  9. 点数能反应学习的方向(通过记录在哪个方向上获的点数)
  10. 公开的好处:
    • 谁在努力谁在混一目了然
    • 后来的人看到点数就能知道自己有问题该问谁
    • 每人个的获取点数路径和起来就是这个方向的学习规划
    • 对于知识传承,直接整理点数表上每个人学的内容,就是一条条对新生来说可以走的路,有直接指导方向的作用
    • 重视点数为大家创造点数或段位攀比的心理,激励学习积极性
    • 把从管理员监督变成所有人监督
    • 方便后续引入淘汰机制
  11. 实施细节待讨论处:
    • 如何评估点数
    • 展示办法,如何更新排名
    • 应对可能的疑问
    • 如何推广让大家重视
    • 如何避免为了挣点数而挣点数的做法
  12. 总目标为激励,并非对人本身评级,因此学习要点的点数评估不用保证难度严格公平

ES6 Iterator 迭代问题总结

  1. Iterator 对象不可查询是否已结束
  2. for of 遍历 Iterator 中,如果 break,则不管 Iterator 是否完成都直接 close
  3. Generator 函数生成的 Iterator 总是在所有 yield 都结束后才单独返回一值为函数 return 值的 done true,如果函数没有 return,则最后单独返回对象的 value 为空(undefined)
  4. for of 或扩展运算符等方法调用 Iterator 接口时,都会默认忽略最后一个 donetrue 的对象中的值,所有很多时候 Generator 函数的 return 没有用
function* gen () {
  yield 1
  yield 2
  yield 3
}

let iter = gen()

// we cannot determine the object `iter` has finished or not

关于不同项目创建 gh-pages 的问题

你好,我想请教一个问题。
昨晚阅读了你在 用 Hexo 做个人 Wiki 知识管理系统 这个帖子 127L 内容,也尝试这么做,但是遇到了问题。

原本的 Github pages 项目:xxx.Github.io ,放置 NEXT 主题的博客;
新建 Wiki-site 项目,设置 writing 和 gh-pages 分支,网页文件放到 gh-pages 分支;

访问 xxx.github.io 页面正常;
访问 xxx.github.io/Wiki-site 页面不正常。

  1. 页面内容只显示文字;
    Snipaste_2019-08-24_14-16-00

  2. 点击此页面里的链接,中间缺失 /Wiki-site/
    期望链接:

    实际如下:

使用 Travis 自动构建 Hexo depoly 到 GitHub 失败

你好,请教一下这个帖子 使用 Travis 自动构建 Hexo 到 GitHub 的相关问题。

我直接复制你项目下的配置文件(去掉 - gulp 这步)和脚本,然后自己绑定了 Access Token,前面都过了,就是最后 hexo deploy 失败,步骤都没错,问题应该还是认证出了问题。

_config.yml 文件,我尝试修改过 repo 地址为 Https类, SSH类,修改 type 为 git 或者 https。都提示失败。

以下 log 是 type git, repo 地址 ssh类型出的结果。

$ hexo deploy
INFO  Deploying: git
INFO  Setting up Git deployment...
Initialized empty Git repository in /home/travis/build/OHLIA/Wiki-site/.deploy_git/.git/

*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <>) not allowed
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html
Error: Spawn failed
    at ChildProcess.<anonymous> (/home/travis/build/OHLIA/Wiki-site/node_modules/hexo-util/lib/spawn.js:52:19)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
travis_time:end:1016f340:start=1566804459853647012,finish=1566804460828702185,duration=975055173
�[0Ktravis_fold:end:after_success
�[0K
Done. Your build exited with 0.

aliyun oss index problem

Hello, I also used travis to push to github, but recently switched to github actions to oss, but there is a problem. The static page access of oss needs to use the absolute path, and index.html must be added. What specific ejs file content needs Modifications, research on it?Read related blog posts, tutorials on other themes.

Sorting Algorithm

  • 冒泡排序
  • 插入排序
  • 快速排序
  • 并归排序
  • 各算法时间复杂度
  • 熟练手写

Global mixin router cause stack exceeded

import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router);

const user = {
  template: `
    <div class="user">
      <h2>User</h2>
      <router-view></router-view>
    </div>
  `
};

const routes = [
  {
    path: '/user',
    component: user,
  }
];
const router = new Router({routes});

Vue.mixin({
  router
});

new Vue({
  el: '#app',
  template: `
    <div>
      <router-view></router-view>
    </div>
  `
});

全局混合 vue-router 将引起 user 中的 router-view 爆栈,原因未知,解决办法只能是不使用全局混合,改成单独注入:

Vue.mixin({
  
});

new Vue({
  el: '#app',
  router,
});

坏处是这样之后使用 new Vue.extend() 新建的实例中无法使用 $route

CSS vertical-align summary

<div style="border:1px solid #34538b;">
  <span style="display: inline-block;font-size: 80px;border:1px solid #a0b3d6;">大大的文字x</span>
  <div style="display: inline-block">
    <div>后面是div的文字</div>
    <div>后面是div的文字</div>
    <div>x后面是div的文字x</div>
  </div>
  xx 这才是静止的文字
</div>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.