- 博客(24)
- 资源 (2)
- 收藏
- 关注
原创 partitions dump&flash commands generate
【代码】partitions dump&flash commands generate。
2026-03-20 22:26:52
29
原创 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
194
原创 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
563
原创 orgmode template with html setup
orgmode template save 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
265
原创 Nvidia Xavier 开发板网络不稳定,自动重连监控脚本
脚本编码使用ANSI CMD代码页使用默认的936 (chcp 936) 脚本内容: @echo off setlocal ENABLEEXTENSIONS setlocal ENABLEDELAYEDEXPANSION setlocal title %~f0 自动重连NV模组,请不要关闭,重启电脑请用管理员权限启动此脚本 REM chcp get 936 REM chcp 65001 set FULLNAME=%~f0 set FILENAME=%~nx0 set DIR=%~dp.
2021-10-21 15:20:35
646
原创 Microsoft.PowerShell_profile.ps1
<# $PSVersionTable.PSVersion 6.2.0 .$profile # reload profile Set-ExecutionPolicy RemoteSigned -Scope LocalMachine # Permits profiles (.ps1) $PROFILE | Format-List * -Force $PROFILE.CurrentUserAll...
2019-03-22 18:30:57
1977
原创 tcl shorthand
Tcl syntax: http://www.tcl-lang.org/man/tcl8.6/TclCmd/Tcl.htm tcl commands :http://www.tcl-lang.org/man/tcl8.6/TclCmd/contents.htm #!/bin/env expect -- # puts stdout "strings" one line puts "Tcl v...
2018-11-20 18:34:18
262
原创 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
1795
原创 GNU Screen configuration
# no welcome message startup_message off # the following two lines give a two-line status, with the current window highlighted hardstatus alwayslastline # hardstatus string '%{= kG}[%{G}%H%? %1`%?
2018-01-31 15:23:15
316
原创 自定义补全bash complete
最开始接触shell时觉得命令自动补全功能很强大,但没有深入,今因偶然机遇重新学习竟然看懂了,故记之以作后查。 国外也有英文帖子作例解,但解释更长而且也是个人思路讲解,也不一定有助于自己的理解。 英文水平好的可以直接看bash mannual中Progammable Completion这段即可,耦即是耐着性子看懂了这段英文手册才有了收获。 故这里主要是参照手册来解释,也几乎是翻译了,敬
2017-01-09 19:59:49
3103
原创 sizeof("string") 以及字符数组使用字符串初始化
1. sizeof 对于常量字符串求字节长度时,注意C会对常量字符串追加‘\0’这样一个NUL字符(末尾已经有NUL字符),所以会比所见常量字串长度大1 2. 在声明字符数组中使用常量字符串string初始化时,如果声明中未指定数组长度,注意数组长度为sizeof("string") 3. 在声明字符数组中使用常量字符串string初始化时,如果声明中指定了数组长度,且长度大于字符串长度,则剩
2017-01-01 17:02:52
942
原创 Trac搭建
#on Unbuntu sudo apt-get install python2.7 python2.7-dev python-pip sudo pip install Genshi sudo pip install Trac==1.0 sudo pip install Babel==0.9.6 sudo apt-get install apache2-dev apache2-utils
2015-12-29 18:13:52
977
原创 更好的使用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
660
原创 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
527
原创 orgmode使用xetex导出PDF
Orgmode导出PDF Table of Contents 1. 本文主要是在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
2901
原创 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
931
单片机 英文 毕业论文
2010-01-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
1