码迷,mamicode.com
首页 >  
搜索关键字:push notification    ( 13107个结果)
阿里云ESC下docker安装Jenkins BlueOcean
首先,在阿里云服务器上配置docker环境,配置时候一定要注意镜像地址的配置: 登录镜像仓库就可以下拉镜像 1、查找jenkins docker search jenkins docker push jenkinsci/blueocen 运行 docker run -d --name=jenkins ...
分类:其他好文   时间:2020-06-25 09:31:41    阅读次数:48
每日一题 - 剑指 Offer 30. 包含min函数的栈
题目信息 时间: 2019-06-24 题目链接:Leetcode tag:栈 难易程度:简单 题目描述: 定义栈的数据结构,请在该类型中实现一个能够得到栈的最小元素的 min 函数在该栈中,调用 min、push 及 pop 的时间复杂度都是 O(1)。 示例: MinStack minStack ...
分类:其他好文   时间:2020-06-25 09:21:29    阅读次数:54
服务器推送
http.Pusher只支持Go 1.8或更高版本 package main import ( "html/template" "log" "github.com/gin-gonic/gin" ) var html = template.Must(template.New("https").Pars ...
分类:其他好文   时间:2020-06-24 23:59:20    阅读次数:127
VisualStudio C++使用汇编函数
Visual Studio编写C++代码使用汇编函数 新建空项目 新建如下源文件 ;test.asm ;测试函数 三个数相加 ;.386 .model flat, c ;public test_ .code test_ proc ;初始化栈帧指针 push ebp mov ebp,esp ;加载参数 ...
分类:编程语言   时间:2020-06-24 23:18:39    阅读次数:106
Codeforces Round #652 (Div. 2) E. DeadLee(贪心)
题目链接:https://codeforces.com/contest/1369/problem/E 题意 Lee 有 $n$ 种不同种类的食物和 $m$ 个朋友,每种食物有 $w_i$ 个,每个朋友喜欢吃两种食物 $x_i, y_i$,如果一个朋友被叫去厨房时一个喜欢吃的食物也没有,他就会吃掉 L ...
分类:其他好文   时间:2020-06-24 22:07:53    阅读次数:71
堆栈模拟队列
设已知有两个堆栈S1和S2,请用这两个堆栈模拟出一个队列Q。 所谓用堆栈模拟队列,实际上就是通过调用堆栈的下列操作函数: int IsFull(Stack S):判断堆栈S是否已满,返回1或0; int IsEmpty (Stack S ):判断堆栈S是否为空,返回1或0; void Push(St ...
分类:其他好文   时间:2020-06-24 19:45:42    阅读次数:56
git上传代码报错ssh: connect to host github.com port 22: Connection timed out解决办法
当在远程库上设置了SSH 之后还是报错连接超时,问题如下 $ git push origin master 报错: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from rem ...
分类:Web程序   时间:2020-06-24 18:13:09    阅读次数:123
ngnix相关
命令相关: nginx -t # 验证配置文件;无法验证其它文件的情况 nginx -s reload # 重新加载;可以重启其它文件启动的情况 nginx -s stop # 快速停止 nginx -s quit # 正常停止 nginx -V # 查看版本 nginx -c conf/web01 ...
分类:其他好文   时间:2020-06-24 14:15:04    阅读次数:41
数据结构(六)-----队列
如何理解“队列”? 队列这个概念非常好理解。你可以把它想象成排队买票,先来的先买,后来的人只能站末尾,不允许插队。先进者先出,这就是典型的“队列”。我们知道,栈只支持两个基本操作:入栈 push()和出栈 pop()。队列跟栈非常相似,支持的操作也很有限,最基本的 操作也是两个:入队 enqueue ...
分类:其他好文   时间:2020-06-24 14:02:37    阅读次数:62
225. Implement Stack using Queues
/** * Initialize your data structure here. */ var MyStack = function() { this.inQueue = []; this.outQueue = []; }; /** * Push element x onto stack. * ...
分类:其他好文   时间:2020-06-24 12:04:42    阅读次数:54
共13107条   上一页 1 ... 55 56 57 58 59 ... 1311 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!