自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (2)
  • 收藏
  • 关注

原创 powershell script template

【代码】powershell script template。

2024-01-18 19:45:54 356

原创 SciTEUser.properties

sciTE editor config

2023-02-24 23:53:02 93

原创 cat ~/.tmux.conf

tmux simple config

2022-06-27 19:11:07 124

原创 orgmode html setup

1. orgmode html export settings involving favicon#+TITLE: Play Video Game#+AUTHOR: neo#+STARTUP: overview#+OPTIONS: H:3 toc:2 num:t ^:{} \n:nil ::t |:t -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc#+HTML_HEAD: <link rel="stylesheet" type="text/css

2022-02-19 17:38:39 102

原创 windows cmd balloon notification

windows上任务完成后发个通知在cmd脚本里面添加如下命令:powershell -NoProfile -NonInteractive -WindowStyle Hidden -Command [Reflection.Assembly]::LoadWithPartialName("""System.Windows.Forms""");$obj=New-Object Windows.Forms.NotifyIcon;$obj.Icon = [drawing.icon]::ExtractAssoc

2022-01-12 08:54:07 335

原创 orgmode template with html setup

orgmode templatesave as development.org#+TITLE: Development Environment Preparation#+AUTHOR: xxx#+STARTUP: overview#+OPTIONS: H:3 toc:2 num:t ^:{} \n:nil ::t |:t -:t f:t *:t tex:t d:(HIDE) tags:not-in-toc#+HTML_HEAD: <link rel="stylesheet" typ

2021-12-24 14:22:21 149

原创 Nvidia Xavier 开发板网络不稳定,自动重连监控脚本

脚本编码使用ANSICMD代码页使用默认的936 (chcp 936)脚本内容:@echo offsetlocal ENABLEEXTENSIONSsetlocal ENABLEDELAYEDEXPANSIONsetlocaltitle %~f0 自动重连NV模组,请不要关闭,重启电脑请用管理员权限启动此脚本REM chcp get 936REM chcp 65001set FULLNAME=%~f0set FILENAME=%~nx0set DIR=%~dp.

2021-10-21 15:20:35 320

原创 Microsoft.PowerShell_profile.ps1

<# $PSVersionTable.PSVersion 6.2.0.$profile # reload profileSet-ExecutionPolicy RemoteSigned -Scope LocalMachine # Permits profiles (.ps1)$PROFILE | Format-List * -Force$PROFILE.CurrentUserAll...

2019-03-22 18:30:57 1740

原创 tcl shorthand

Tcl syntax: http://www.tcl-lang.org/man/tcl8.6/TclCmd/Tcl.htmtcl commands :http://www.tcl-lang.org/man/tcl8.6/TclCmd/contents.htm#!/bin/env expect --# puts stdout "strings" one lineputs "Tcl v...

2018-11-20 18:34:18 201

原创 Xresourses -- .Xresources

!man x; man xterm: to check class resource! name.Class.resource: value[int|bool|string]!!!!!!!!!!!!!!!!!!!!!!!!!! RELOAD            !!!! xrdb ~/.Xresources!!!!!!!!!!!!!!!!!!!!!!!!! Preferences! xterm-...

2018-04-02 10:14:56 1497

原创 GNU Screen configuration

# no welcome messagestartup_message off# the following two lines give a two-line status, with the current window highlightedhardstatus alwayslastline# hardstatus string '%{= kG}[%{G}%H%? %1`%?

2018-01-31 15:23:15 218

原创 awk complex script

awk复杂脚本300+还是使用Python写吧,不然写的时候痛苦,维护也很难。

2017-07-13 19:39:38 382

原创 自定义补全bash complete

最开始接触shell时觉得命令自动补全功能很强大,但没有深入,今因偶然机遇重新学习竟然看懂了,故记之以作后查。国外也有英文帖子作例解,但解释更长而且也是个人思路讲解,也不一定有助于自己的理解。英文水平好的可以直接看bash mannual中Progammable Completion这段即可,耦即是耐着性子看懂了这段英文手册才有了收获。故这里主要是参照手册来解释,也几乎是翻译了,敬

2017-01-09 19:59:49 2894

原创 sizeof("string") 以及字符数组使用字符串初始化

1. sizeof 对于常量字符串求字节长度时,注意C会对常量字符串追加‘\0’这样一个NUL字符(末尾已经有NUL字符),所以会比所见常量字串长度大12. 在声明字符数组中使用常量字符串string初始化时,如果声明中未指定数组长度,注意数组长度为sizeof("string")3. 在声明字符数组中使用常量字符串string初始化时,如果声明中指定了数组长度,且长度大于字符串长度,则剩

2017-01-01 17:02:52 773

原创 bash脚本错误检查

bash shell 简单错误处理

2016-09-20 00:39:54 1696

原创 putty color config

putty color setup, choose second colors

2016-08-18 20:03:46 560

原创 virtualbox VDI resize

vitualbox VDI resize

2016-08-10 20:26:10 368

原创 Trac搭建

#on Unbuntusudo apt-get install python2.7 python2.7-dev python-pipsudo pip install Genshisudo pip install Trac==1.0sudo pip install Babel==0.9.6sudo apt-get install apache2-dev apache2-utils

2015-12-29 18:13:52 842

原创 更好的使用CMD

工作还是离不开CMD, 虽然没有BASH好用, 还是能完成大量任务的, 只是需要挖掘.本文边收集好玩的特性边作整理.1, 增加alias:这个是bash等都有的非常便利的特性, CMD也有, 只是比较隐藏, 方法是利用doskey:reg add HKCU\Software\Microsoft\Command Processor \v Autorun \t REG_EXPA

2015-12-05 12:27:18 559

原创 Emacs在win7下配置

1, 设置用于当前用户且仅限于Emacs的HOME:    reg add HKCU\Software\GNU\Emacs /t reg_sz /v HOME /d "path\to\Emacs\.emacs.d"2, pending

2015-10-20 10:29:32 405

原创 orgmode使用xetex导出PDF

Orgmode导出PDFTable of Contents1. 本文主要是在Windows环境下配置2. 必要的工具及版本2.1. Emacs版本: 下载最新版本, 24版本以上已经包含Orgmode2.2. CTeX版本: 下载地址, 下载Full包2.3. 编辑工具: 2.4. 几个必要澄清的概念:2.5. 如果直接写tex格式文件, 一般会包含:3. Orgm

2015-10-05 14:37:25 2727

原创 ubuntu 14.04 unknow display

ubuntu unknown display

2015-09-28 18:36:25 2968

原创 C宏参字符串化操作

简单说明C中(仅只能将)宏参字符串化操作, 也建议大家多看英文原著, 参考如下网站:https://gcc.gnu.org/onlinedocs/gcc-4.9.2/cpp/Stringification.html#Stringification将宏参(macro argument into a stringconstant)字符串化, 只要在#符号后仅跟传递到宏定义中的参数即

2015-03-14 00:20:06 795

ARM GIC Reference

ARM GIC, 通用中断控制器参考手册 ARM中断与X86平台中断机制相似但具体实现差别较大 需要参考ARM中断手册

2014-09-25

单片机 英文 毕业论文

Introduction of Programmable controllers From a simple heritage, these remarkable systems have evolved to not only replace electromechanical devices, but to solve an ever-increasing array of control problems in both process and nonprocess industries. By all indications, these microprocessor powered giants will continue to break new ground in the automated factory into the 1990s. HISTORY

2010-01-07

空空如也

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

TA关注的人

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