28.图层蒙版及图层混合模式

一、 图层蒙版
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

Codeforces Round #378 (Div. 2)

题目链接:https://codeforces.com/contest/733 A - Grasshopper And the String 题意:有个虫子,要跳过一个长度为 \(n\) 的字符串(从 \(0\) 跳到 \(n+1\) ),只能停在元音字母处。求最短的跳跃距离。 题解:求前后相邻两个停留位置的差的最大值。 char s[200005]; void test_case() { scanf("%s", s + 1); int n = strlen(s + 1);
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

java+selenium+new——访问某个网址的两种方式driver.get()以及driver.navigate().to()

package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty("webdriver.firefox.bin","C:\\Program Files (x86)\\Mozilla Firefox\\fi
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

平台及架构

平台/操作系统 架构 备注 Linux x86_64-cuda 64位cuda x86_64 AMD/Intel x86指令集 64位 x86 Intel x86指令集 32位 armv7 ARM指令集 32位 aarch64 ARM指令集 64位 Windows x86_64 AMD/Intel x86指令集 64位 x86 Intel x86指令集 32位 Android x86 armv7 aarch64 ocl_qcom 高通平台 ocl_mtk MTK平台 mac os x86
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

创世战车透视自瞄源码

只包含主程序,比较简陋,仅供参考。 1 #include <Windows.h> 2 #include <stdio.h> 3 #include <WINBASE.H> 4 #include <string.h> 5 #include <tchar.h> 6 #include <psapi.h> 7 #include <tlhelp32.h> 8 #include <math.h> 9 //定义全局变量 10 COLORREF SnapLineCOLOR;
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

Mac FTP 安装与使用

安装ftp brew install telnet brew install inetutils brew link --overwrite inetutils 使用ftp #### 1. 登录 #方式一 $ ftp ftp> open server-ip #方式二 $ ftp server-ip 以上命令之后,按提示输入用户名和密码。 当出现以下日志,表示连接成功 Connected to server-ip 220 (vsFTPd 2.2.2) Name (10.0.0.101:us
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

《富爸爸穷爸爸》读书笔记【2020207-?】

前言:破产是暂时的,贫困是终生的 第一章:富人不为钱工作 1、生活不像在学校那样,用讲的方式教你,但生活才是最好的老师,大多数时候生活不会对你说些什么,他只是推着你转,每一次推,它都像是在说:“喂,醒一醒,我要让你学点儿东西” 2、不要让贪婪和恐惧控制你的人生 3、无知会放大贪婪和恐惧 4、穷人和中产阶级为钱而工作,而富人让钱为他工作
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

Tensorflow机器学习入门——网络可视化TensorBoard

一、在代码中给变量和操作命名并输出Graph到指定的文件夹 import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import os #设置当前工作目录 os.chdir(r'H:\Notepad\Tensorflow') def add_layer(inputs, in_size, out_size, activation_function=None): with tf.name_sco
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

springboot写入数据库汉字变问号???

用spring boot做的项目,后台向数据库中写入汉字,变成了问号,但是后台确实是向数据库中传递的汉字,数据库也是使用的utf8编码,怎么回事? 检查一下spring boot和数据库中的连接问题: 在application.properties application.propertiesapplication.properties里面的数据库连接中加入 &useUnicode=true&characterEncoding=UTF-8 比方说我的数据库连接加入上面这一行之后变成 sprin
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

[LeetCode 解题报告]231. Power of Two

Given an integer, write a function to determine if
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

[LeetCode 解题报告]232. Implement Queue using Stacks

Implement the following operations of a queue usin
分类: 其他 发布时间: 02-07 23:17 阅读次数: 0

[LeetCode 解题报告]233. Number of Digit One

Given an integer n, count the total number of digi
分类: 其他 发布时间: 02-07 23:16 阅读次数: 0

[LeetCode 解题报告]234. Palindrome Linked List

Given a singly linked list, determine if it is a p
分类: 其他 发布时间: 02-07 23:16 阅读次数: 0

cmd基础 cls 清屏

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:16 阅读次数: 0

cmd基础 dir 查看文件夹中的指定文件信息

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:16 阅读次数: 0

cmd基础 dir 用正则表达式查看文件夹中所有xml类型的文件信息

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:15 阅读次数: 0

cmd基础 help 查看帮助文档

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:15 阅读次数: 0

cmd基础 mkdir 生成以.开头的文件夹

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:15 阅读次数: 0

锁(Lock)、内存屏障(Memory barrier)与 缓存一致性( Cache coherence)

在应用层,关于锁的使用大家应该都很熟悉了,作用就是为了保护共享变量不被同时操作而导致无法预测的情况。
分类: 其他 发布时间: 02-07 23:15 阅读次数: 0

cmd基础 net 查看已启动的服务

       OS : Windows 10 Version 1809   &n
分类: 其他 发布时间: 02-07 23:15 阅读次数: 0