自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1270)
  • 资源 (4)
  • 收藏
  • 关注

原创 Leetcode需要重复看的题目

目录没思路动态规划有优化解法没思路动态规划Best Time to Buy and Sell Stock有优化解法

2020-03-09 21:08:22 186

转载 在博客文章中插入数学公式

http://www.ruanyifeng.com/webapp/formula.html

2016-01-06 22:38:20 667

原创 asp.net core 生成RSA密钥对

asp.net core生成rsa密钥对

2022-06-14 14:07:13 2676 2

原创 Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime

npm uninstall node-sassnpm install node-sass

2022-03-11 14:14:41 4946

原创 Kafka Ubuntu 20.04开机启动

添加systemd servicecd /etc/systemd/systemtouch kafka.service[Unit]# Kafka服务的描述Description=Kafka Service# 服务依赖—在什么服务之后启动,一般为在网络服务启动后启动After=network.target zookeeper.service [Service]Type=forking# 启动环境参数# 此脚本指定了Zookeeper日志和Java的目录#Environment=

2022-01-22 09:45:23 4675

原创 .net core zookeeper入门

https://www.cnblogs.com/shanfeng1000/p/12675498.html

2022-01-21 18:02:00 1444

原创 zookeeper ubuntu 20.04 开机启动

添加systemd servicecd /etc/systemd/systemtouch zookeeper.servicezookeeper.service的内容如下[Unit]# Zookeeper服务的描述Description=Zookeeper Service# 服务依赖—在什么服务之后启动,一般为在网络服务启动后启动After=network.target [Service]# 服务类型—如果是shell脚本的方式,则Type=forking,否则不指定作何值(也就是去掉

2022-01-21 16:54:28 2992

原创 Azure虚拟机挂载数据磁盘

找到磁盘lsblk对新磁盘进行分区sudo parted /dev/sda --script mklabel gpt mkpart xfspart xfs 0% 100%sudo mkfs.xfs /dev/sdasudo partprobe /dev/sda挂载磁盘sudo mkdir /home/bryan/datasudo mount /dev/sda /home/bryan/data添加开机自动挂载sudo blkidsudo vim /etc/fstab.

2022-01-20 14:37:38 1365

原创 Cache Strategies 缓存策略

Cache AsideCache-aside caches are usually general purpose and work best for read-heavy workloads. Memcached and Redis are widely used.Read ProcessThe application first checks the cache.If the data is found in cache, we’ve cache hit. The data is rea

2022-01-17 11:05:42 530

原创 UML conventions

2022-01-07 10:41:56 425

原创 Performance Metrics for System Design

ScalabilityReliabilityAvailabilityEfficiencyLatencyThroughputManageability

2022-01-01 17:05:28 1148

原创 853. Car Fleet[单调栈]

ProblemThere are n cars going to the same destination along a one-lane road. The destination is target miles away.You are given two integer array position and speed, both of length n, where position[i] is the position of the ith car and speed[i] is the s

2021-12-15 20:49:04 817

原创 Test gRPC services with gRPCurl in ASP.NET Core

https://docs.microsoft.com/en-us/aspnet/core/grpc/test-tools?view=aspnetcore-5.0

2021-11-24 14:01:37 1683

原创 [重构]第一章:重构,第一个案例

import java.util.Enumeration;import java.util.Vector;public class Movie { public static final int CHILDRENS = 2; public static final int REGULAR = 0; public static final int NEW_RELEASE = 1; private String _title; private int _price

2021-11-23 16:42:48 639

原创 OBSERVER

定义Observer is a behavioral design pattern that lets you define a subscription mechanism to notify multiple objects about any events that happen to the object they’re observing.类图示例代码using System;using System.Collections.Generic;using System.Threadin

2021-11-17 15:52:00 1108

原创 STRATEGY

定义Strategy is a behavioral design pattern that lets you define a family of algorithms, put each of them into a separate class,and make their objects interchangeable.类图示例代码using System;using System.Collections.Generic;namespace RefactoringGuru.Desig

2021-11-17 15:28:08 734

原创 asp.net core cache

In-memory & Distributed (Redis) Caching in ASP.NET Core

2021-11-16 16:41:53 2496

原创 test_api

import asynciofrom asyncio import sleepimport aiohttpasync def get_metadata(session): url = 'http://localhost:30016/api/v1/projects/dc5047af-20e2-384c-9510-aa3882399111/files?path=%2FCAP_DEV%2FProjects%2Fdc5047af-20e2-384c-9510-aa3882399111%2FDatase

2021-11-11 16:38:54 518

原创 SOLID Design Principles in C#

Single Responsibility PrincipleOpen-Closed PrincipleLiskov Substitution PrincipleInterface SegregationDependency Inversion Principle

2021-11-08 14:05:57 866

原创 剑指 Offer 22. 链表中倒数第k个节点[Easy](Leetcode每日一题-2021.09.02)

Problem输入一个链表,输出该链表中倒数第k个节点。为了符合大多数人的习惯,本题从1开始计数,即链表的尾节点是倒数第1个节点。例如,一个链表有 6 个节点,从头节点开始,它们的值依次是 1、2、3、4、5、6。这个链表的倒数第 3 个节点是值为 4 的节点。Example给定一个链表: 1->2->3->4->5, 和 k = 2.返回链表 4->5.Solution/** * Definition for singly-linked list. *

2021-09-02 20:24:06 146

原创 165. Compare Version Numbers[Medium](Leetcode每日一题-2021.09.01)

ProblemGiven two version numbers, version1 and version2, compare them.Version numbers consist of one or more revisions joined by a dot ‘.’. Each revision consists of digits and may contain leading zeros. Every revision contains at least one character. Re

2021-09-01 20:32:35 220

原创 1109. Corporate Flight Bookings[Medium](Leetcode每日一题-2021.08.31)

Problem

2021-09-01 20:28:58 337

原创 528. Random Pick with Weight[Medium](Leetcode每日一题-2021.08.30)

Problem

2021-09-01 20:28:05 226

原创 1588. Sum of All Odd Length Subarrays[Easy](Leetcode每日一题-2021.08.29)

Problem

2021-09-01 20:26:59 205

原创 1480. Running Sum of 1d Array[Easy](Leetcode每日一题-2021.08.28)

Problem

2021-09-01 20:25:50 289

原创 295. Find Median from Data Stream[Hard](Leetcode每日一题-2021.08.27)

Problem

2021-09-01 20:24:40 153

原创 881. Boats to Save People[Medium](Leetcode每日一题-2021.08.26)

Problem

2021-09-01 20:23:47 245

原创 797. All Paths From Source to Target[Medium](Leetcode每日一题-2021.08.25)

Problem

2021-09-01 20:22:23 180

原创 787. Cheapest Flights Within K Stops[Medium](Leetcode每日一题-2021.08.24)

ProblemThere are n cities connected by some number of flights. You are given an array flights where flights[i] = [fromi, toi, pricei] indicates that there is a flight from city fromi to city toi with cost pricei.You are also given three integers src, dst

2021-08-24 22:09:45 289

原创 1646. Get Maximum in Generated Array[Easy](Leetcode每日一题-2021.08.23)

Problem

2021-08-24 22:03:56 218

原创 789. Escape The Ghosts[Medium](Leetcode每日一题-2021.08.22)

Problem曼哈顿距离

2021-08-24 22:03:11 150

原创 443. String Compression[Medium](Leetcode每日一题-2021.08.21)

Problem

2021-08-24 22:02:13 164

原创 541. Reverse String II[Easy](Leetcode每日一题-2021.08.20)

Problem

2021-08-24 22:01:12 131

原创 345. Reverse Vowels of a String[Easy](Leetcode每日一题-2021.08.19)

Problem

2021-08-24 21:56:45 263

原创 552. Student Attendance Record II[Hard](Leetcode每日一题-2021.08.18)

Problem

2021-08-24 21:54:22 161

原创 551. Student Attendance Record I[Easy](Leetcode每日一题-2021.08.17)

ProblemYou are given a string s representing an attendance record for a student where each character signifies whether the student was absent, late, or present on that day. The record only contains the following three characters:‘A’: Absent.‘L’: Late.

2021-08-17 20:14:06 217

原创 526. Beautiful Arrangement[Medium](Leetcode每日一题-2021.08.16)

位运算DP

2021-08-17 20:11:54 280

原创 576. Out of Boundary Paths[Medium](Leetcode每日一题-2021.08.15)

DP

2021-08-17 20:10:51 227

原创 1583. Count Unhappy Friends[Medium](Leetcode每日一题-2021.08.14)

模拟

2021-08-17 20:09:59 273

原创 233. Number of Digit One[Hard](Leetcode每日一题-2021.08.13)

数位DP

2021-08-17 20:08:41 137

vs2010.vssettings

vs2010.vssettings

2016-04-06

设计模式--design patterns课件

哈工大威海--孙玉山老师的设计模式课件,讲的非常之详细

2011-09-12

Ubuntu下Mentohust的用法

mentohustd的使用,很详细,希望对你有帮助

2011-09-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除