码迷,mamicode.com
首页 >  
搜索关键字:push notification    ( 13107个结果)
vue删除指定id的数据
注意click需要传入当前的id值 deletes:function(id){ this.$http.delete("http://jsonplaceholder.typicode.com/users/"+id). then(function(data){ console.log(data) thi ...
分类:其他好文   时间:2020-05-04 13:35:19    阅读次数:47
Git 提交到多个远程仓库
需求 假设我有两个仓库: git@github.com:everlose/CSS3Practice.git git@gitlab.com:everlose/CSS3Practice.git 我希望能再一份本地的工程里push代码能同步到两个仓库里。 如果说push代码的指令如这般: 命令行操作 输入 ...
分类:其他好文   时间:2020-05-04 13:32:08    阅读次数:56
Git 合并或修改线上 commit
简介 在使用 Git 作为版本控制的时,处于多种原因想修改commit。 如果没有 push 到服务器的情况,,只是本地进行了 commit,并且没有进行新的 commit,只需要 还没 push 到服务器,但是有了新的 commit,只需要 git reset soft xxx (xxx有问题那次 ...
分类:其他好文   时间:2020-05-04 13:07:45    阅读次数:74
Git cherry-pick 复制 commit
应用背景 当你写完代码 commit 完心中暗爽,正准备 push 时,突然发现原来自己当前分枝就在 master 上,master 只能用来上线打版本,当然不能直接操作,可惜现在剁手也晚了。 那么总有一种办法可以把 master 上的 commit 复制一份去 develop 上,答案就是 che ...
分类:其他好文   时间:2020-05-04 11:50:05    阅读次数:88
Git rebase 使用例子
步骤 新建一个分支 做了一些修改,然后 add,commit提交 如果这一步没有冲突就直接 push。 如有这一步出现冲突,则Git会停止rebase并会让你去解决 冲突;在解决完冲突后,用 命令去更新这些内容的索引(index), 然后,你无需执行 git commit,只要执行: 这样git会继 ...
分类:其他好文   时间:2020-05-04 11:49:10    阅读次数:70
【剑指offer】【其他算法】43. 1~n整数中1出现的次数
# ``` class Solution { public: int countDigitOne(int n) { if(!n) return 0; vector number; while(n) number.push_back(n % 10), n /= 10; long long res = ... ...
分类:编程语言   时间:2020-05-03 20:57:31    阅读次数:77
javascript导入自定义模块
问题: javascript 如何导入一个自定义的类 javascript 如何导出一个自定义的类 javascript 导入自定义的类的语法 E:\project_ts\abc\main.js:1import {Queue} from './Queue'^^^^^^ SyntaxError: Ca ...
分类:编程语言   时间:2020-05-03 16:25:04    阅读次数:183
uni-app APP-PLUS 获取客户端信息 clientid 等
// /App.vueonLaunch: function() { // #ifdef APP-PLUS const clientInfo = plus.push.getClientInfo() console.log(clientInfo) // #endif} 返回信息: { "id": "un ...
分类:移动开发   时间:2020-05-03 15:02:30    阅读次数:694
【树】530. 二叉搜索树的最小绝对差
题目: 解法: 中序遍历得到一个升序序列,将遍历的结果存在一个数组val中,然后用另一个数组diff存数组val中前后元素的差值,输出其中的最小值。 代码略微繁琐,欢迎提出优化建议。 1 /** 2 * Definition for a binary tree node. 3 * struct Tr ...
分类:其他好文   时间:2020-05-03 14:30:33    阅读次数:57
POJ1236 Network of Schools(强连通分量)
A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools t ...
分类:Web程序   时间:2020-05-03 12:23:25    阅读次数:70
共13107条   上一页 1 ... 83 84 85 86 87 ... 1311 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!