码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
JS Leetcode 155. 最小栈 题解分析
壹 ? 引 本题来自LeetCode155. 最小栈,难度简单,题目描述如下: 设计一个支持 push ,pop ,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) —— 将元素 x 推入栈中。 pop() —— 删除栈顶的元素。 top() —— 获取栈顶元素。 getMin() ...
分类:Web程序   时间:2021-06-10 18:09:39    阅读次数:0
mysql常见查询案例
create database zuoye; -- 创建数据库 use zuoye; -- 使?数据库 #创建?个库表 create table Student -- 学?表 ( Sno char(3) NOT NULL Primary key , -- 学号 ,设为主键,不允许空值 Sname c ...
分类:数据库   时间:2021-06-08 23:26:12    阅读次数:0
pymysql使用模板
db = pymysql.connect(host="localhost", port=3306, user="root", passwd="xxx", db="stu_info")cursor = db.cursor(cursor=pymysql.cursors.DictCursor)cursor ...
分类:数据库   时间:2021-06-07 20:09:12    阅读次数:0
vscode
#vscode插件 #vscode代码片段 { // Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. ...
分类:其他好文   时间:2021-06-06 19:18:17    阅读次数:0
msyql5.5 本地离线安装 Ubuntu
1、下载 https://downloads.mysql.com/archives/community/ wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.5.62-linux-glibc2.12-x86_64.tar.g ...
分类:系统相关   时间:2021-06-06 18:56:23    阅读次数:0
谷粒商城学习——环境配置git-ssh
官网注册git账号 下载git客户端 下载的比较快不传百度云了,一路安装默认配置即可 配置git git bash here进入git控制台 配置用户名 git config --global user.name "zyn" 配置作者邮箱 git config --global user.email ...
分类:其他好文   时间:2021-06-06 18:50:15    阅读次数:0
mssql-注入脚本
#coding:utf-8 #Author:LSA #Description:hishop sqli for /user/UserRefundApply?OrderId= #Date:20190701 import sys import requests from bs4 import Beauti ...
分类:数据库   时间:2021-06-05 18:27:44    阅读次数:0
【每日一题】41. 德玛西亚万岁 (状态压缩DP)
补题链接:Here 经典状压DP问题 坑点,注意多组输入。。。 const int N = 16, mod = 100000000; int f[N][1 << N]; int a[N]; void solve() { int n, m; while (cin >> n >> m) { memset ...
分类:其他好文   时间:2021-06-05 17:40:05    阅读次数:0
GORM增删改查
一、增 单:传入实例即可 user := &User{Name: "XX"} db.Create(user) 列表: users := []User{{Name: "xx"},{Name: "XX1"},{Name: "XX2"}} db.Create(&users) 字典 db.Model(&Us ...
分类:其他好文   时间:2021-06-04 19:08:13    阅读次数:0
Caused by: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here in 'reader', line 6, column 16:
出现这个问题主要是yml文件的语法出现了问题。 yml基本语法如下: 大小写敏感 冒号后面要有空格 只允许使用空格缩进,表示层级关系 相同层级的元素需要左侧对齐 # 表示注释,从这个字符一直到行尾 我遇到这个错误是因为缩进问题:第6行的uri应该与id左对齐,uri下面几句话也要相应左移: spri ...
分类:移动开发   时间:2021-06-04 18:45:56    阅读次数:0
6715条   上一页 1 2 3 4 5 6 ... 672 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!