Skip to content

Instantly share code, notes, and snippets.

View laosb's full-sized avatar
⚔️
Public attention is a double-edged sword.

Shibo Lyu laosb

⚔️
Public attention is a double-edged sword.
View GitHub Profile
@laosb
laosb / layouts_default_vue.js
Last active August 13, 2017 05:49
How we connect to backend accounts system on Nuxt.js
import axios from 'axios'
export default {
components: { /* Some components */ },
beforeMount() {
//We set this on nuxtServerInit. In this way we get clientId from server.
if (this.$store.state._clientId) {
console.log('found clientId from server:', this.$store.state._clientId)
const bc = require('browser-cookies')
bc.set('__client_id', this.$store.state._clientId, { domain: 'example.com' })
@laosb
laosb / store_index.js
Last active August 13, 2017 09:49
How we connect to backend accounts system on Nuxt.js
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = () => new Vuex.Store({
state: {
_currentUser: null, // Will use later
_clientId: null
### Keybase proof
I hereby claim:
* I am laosb on github.
* I am laosb (https://keybase.io/laosb) on keybase.
* I have a public key whose fingerprint is 8DF5 11B3 BA91 A62E 7757 E6B7 AC1D F8AB 4942 72EC
To claim this, I am signing this object:
mili | sharists 16:01:34
mili | sharists 16:01:34
好玩?
mili | sharists 16:01:51
有意思?
-Laosb8丶 16:01:52
If you do think so, that's it
mili | sharists 16:02:22
I don’t think so

危机10.1

新华网发布评论员文章《中国互联网安全如何掌握在自己手中》,提出政府应该建立唯一且统一的互联网安全体系,将互联网安全收归国有,有利于维护国家安全。

危机8.1

CNNIC接国务院指令,取缔360互联网基础设施提供商的运营资格,查处奇智科技旗下北京360站长服务有限公司。对其股东处以500万元的行政罚款。

危机7.1

《电脑爱好者》发布评论员文章称,360指着QQ大骂是为了掩饰自身对用户隐私的不管不顾甚至偷窥。

危机5.1

饭否某用户声讨百度卫士、360安全卫士均在不同程度上侵犯用户隐私权。

危机4.1

ESET向电脑报记者透露,ESET并没有与360达成合作,但是愿意与360合作,共同保护中国互联网安全。

危机2.2

目前已有部分用户表示,“比利”的变体会读取QQ的消息记录文件,疑似偷窥。腾讯至今未作出反应。