This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
monitor = 0 | |
follow = mouse | |
geometry = "300x60-20+48" | |
indicate_hidden = yes | |
shrink = no | |
separator_height = 0 | |
padding = 32 | |
horizontal_padding = 32 | |
frame_width = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void SIC(int num); | |
void TNIC(int num); | |
int main(int argc, char const *argv[]) | |
{ | |
for (int i = 1; i <= 9; i++) { | |
for (int j = 1; j <= i; j++) { | |
SIC(j); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
一.引言 | |
1. 编写目的(阐明编写详细设计说明书的目的,指明读者对象。) | |
2. 项目背景(应包括项目的来源和主管部门等。) | |
3. 定义(列出文档中用到的专门术语定义和缩写词的原意。) | |
4. 参考资料(列出这些资料的作者、标题、编号、发表日期、出版单位或资料来源,可包括: | |
(1)项目的计划任务书,合同或批文; | |
(2)项目开发计划; | |
(3)需求规格说明书; | |
(3)概要设计说明书; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<com.google.android.material.appbar.AppBarLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) 2021 AimerNeige | |
# [email protected] | |
# All rights reserved. | |
PS3='Please enter your choice: ' | |
options=("raml2html-default-theme" "raml2html-plain-theme" "raml2html-slate-theme" "raml2html-kaa-theme" "raml2html-full-markdown-theme" "Quit") | |
select opt in "${options[@]}" | |
do | |
case $opt in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Aimer Neige | |
# Email: [email protected] | |
import os | |
import sys | |
service_template = '''[Unit] | |
Description={} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import cv2 as cv | |
import numpy as np | |
def gaussian_pyramid(image, level): | |
""" | |
高斯金字塔 | |
""" | |
temp = image.copy() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import cv2 | |
import numpy as np | |
# 读入图片 | |
img = cv2.imread("./img.jpg") | |
roi = cv2.imread('./roi.jpg', 0) | |
# 转化为灰度图 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import cv2 | |
cap = cv2.VideoCapture(0) | |
while True: | |
ret, frame = cap.read() | |
if ret: | |
frame = cv2.resize(frame, (0, 0), fx=0.5, fy=0.5) | |
cv2.imshow('camera', frame) | |
else: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# pip install pdf2imag | |
# https://stackoverflow.com/questions/53481088/poppler-in-path-for-pdf2image | |
import os | |
from pdf2image import convert_from_path | |
file_name = 'test' |
OlderNewer