Giter VIP home page Giter VIP logo

weekly's Introduction

周报

投稿方式

GitHub Issue

前往带有 working 标签的 issue 中,分享你看到的有趣/有价值的项目/博客/论文/新闻等

Bookmarklet

Add the following target to your bookmark bar.

Remember to replace %24YOUR_TOKEN_HERE with your Github personal access token. The token could be acquired at Settings -> Developer Settings -> Personal Access Token and check public_repo permission.

javascript:(function()%7Bconst%20apiRequest%20%3D%20(src%2C%20param)%20%3D%3E%20fetch('https%3A%2F%2Fapi.github.com%2F'%20%2B%20src%2C%20Object.assign(%7Bheaders%3A%20%7B%20Accept%3A%20'application%2Fvnd.github.v3%2Bjson'%2C%20'Content-Type'%3A%20'application%2Fjson'%2C%20Authorization%3A%20'token%20%24YOUR_TOKEN_HERE'%20%7D%7D%2C%20param))%3BapiRequest('repos%2Fdyweb%2Fweekly%2Fissues').then(v%20%3D%3E%20v.json()).then(d%20%3D%3E%20d.filter(item%20%3D%3E%20item.labels.some(lab%20%3D%3E%20lab.name%20%3D%3D%3D%20'working'))%5B0%5D.number).then(issuenum%20%3D%3E%20%7Bconst%20url%20%3D%20'repos%2Fdyweb%2Fweekly%2Fissues%2F'%20%2B%20issuenum%20%2B%20'%2Fcomments'%3Bconst%20description%20%3D%20window.prompt('Please%20input%20your%20description%20of%20this%20web%20page%3A'%2C%20'')%3Bconst%20body%20%3D%20description%20%2B%20'%5Cn%5Cn'%20%2B%20window.location.href%20%2B%20'%5Cn%5Cn%20*Submitted%20via%20%5Bbookmarklet%5D(https%3A%2F%2Fgist.github.com%2Fhtfy96%2F301ae2b1c477a4a644e943bbc27c9588)*%20%3Asparkles%3A'%3Breturn%20apiRequest(url%2C%20%7Bmethod%3A%20'POST'%2Cbody%3A%20JSON.stringify(%7Bbody%7D)%7D)%7D).then(()%20%3D%3E%20window.alert('Submission%20OK!')).catch(ex%20%3D%3E%20%7Bconsole.error(ex)%3Bwindow.alert('Failed%20to%20submit...%20See%20console%20log%20for%20exception')%3B%7D)%7D)()

Source code

const apiRequest = (src, param) => fetch('https://api.github.com/' + src, Object.assign({headers: { Accept: 'application/vnd.github.v3+json', 'Content-Type': 'application/json', Authorization: 'token $YOUR_TOKEN_HERE' }}, param));

apiRequest('repos/dyweb/weekly/issues')
    .then(v => v.json())
    .then(d => d.filter(item => item.labels.some(lab => lab.name === 'working'))[0].number) // current issue number
    .then(issuenum => {
        const url = 'repos/dyweb/weekly/issues/' + issuenum + '/comments';
        const description = window.prompt('Please input your description of this web page:', '');
        const body = description + '\n\n' + window.location.href + '\n\n *Submitted via [bookmarklet](https://gist.github.com/htfy96/301ae2b1c477a4a644e943bbc27c9588)* :sparkles:';
        return apiRequest(url, {
            method: 'POST',
            body: JSON.stringify({body})
        })
        })
    .then(() => window.alert('Submission OK!'))
    .catch(ex => {
        console.error(ex);
        window.alert('Failed to submit... See console log for exception');
     })

Copied from Simple bookmarklet to send current webpage to weekly

🎉 Special Thanks to @htfy96!

周报维护方法

如果你是周报的维护者,请参考周报维护方法文档了解如何维护周报系统。

weekly's People

Contributors

arrowrowe avatar at15 avatar codeworm96 avatar commouse avatar dependabot[bot] avatar gaocegege avatar gaocegege-bot avatar grosa1 avatar lukexuan avatar skyzh avatar swaylq avatar xsfour 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weekly's Issues

[discussion] 与其他组织讨论联合周报的事情

目前东岳维护有团队的周报,其工作流如下:

  • 每周 open 一个关于周报的 issue,如 #23
  • 各位同学以 comment 的形式分享自己周围比较有意思/价值的项目或者文章
  • 7 天后 lock communication,使用 dy-weekly-generator 进行自动化的周报构建
  • 周报 merge 到 master 后关闭 issue,开启新的循环

不知道 SJTUG, Geek Pie 等其他组织对周报有无兴趣,可考虑联合维护周报等合作。

[bot] 自动化周报构建

  • 手动 close issue
  • 自动去掉 label 并且新建一个 issue,打上 working label
  • 自动完成构建
  • @gaocegege-bot 发 PR 到 repo
  • 手动 merge

目前应该已经实现,试运行一段时间看看有哪些 bug

[feature] bookmarklet 支持

From #29 (comment)

不如搞个bookmarklet提供给各自社团里的人,看到喜欢的网页一键提交,降低参与成本

需求:打开 GitHub 供稿还是太麻烦了

Weekly/66 for 2017/2/8

2017/2/8, 总第六十六期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

Please TICK YOUR NAME after you have posted a share!! Feel free to add your name if you are not listed above.

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

weekly-88

DL: 8.13

我在 8.10- 8.17 有一段日本旅行,这次周报可能延后一段时间

Weekly/71 for 2017/7/5

2017/7/5, 总第七十一期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

投稿后请在上述名单中 打钩 ,如果没有列出各位的账号,也欢迎补充上来~

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/69 for 2017/3/22

2017/3/22, 总第六十九期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

投稿后请在上述名单中 打钩 ,如果没有列出各位的账号,也欢迎补充上来~

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/65 for 2017/1/25

2017/1/25, 总第六十五期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

Please TICK YOUR NAME after you have posted a share!! Feel free to add your name if you are not listed above.

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/74 for 2018/5/7

2018/05/07, Vol. 74 -> @dyweb/mos

Contributors:

After you share new stuff with us, please edit this issue and add a new line to the placeholder area like the example below:

- [x] @ComMouse

If you have no permission to edit this issue, please contact @ComMouse or @gaocegege .

Weekly/64 for 2017/1/11

2017/1/11, 总第六十四期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

Please TICK YOUR NAME after you have posted a share!! Feel free to add your name if you are not listed above.

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/68 for 2017/3/8

2017/3/8, 总第六十八期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

投稿后请在上述名单中 打钩 ,如果没有列出各位的账号,也欢迎补充上来~

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/70 for 2017/4/19

2017/4/19, 总第七十期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

投稿后请在上述名单中 打钩 ,如果没有列出各位的账号,也欢迎补充上来~

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

Weekly/67 for 2017/2/22

2017/2/22, 总第六十七期 -> @dyweb/mos

投稿:

Web

MOS

Other

  • @dyweb/android-dev
  • @dyweb/ios-dev

Please TICK YOUR NAME after you have posted a share!! Feel free to add your name if you are not listed above.

投稿模板: (评论放在 yaml 块之后)

```yaml
name: 
link: 
description: 
quote: 
cc: 
```

详细规范请参考 dyweb/mos#1 (comment)

关于 YAML,

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.