http://vim.wikia.com/wiki/VimTip432 command! Copyfile let @*=substitute(expand("%:p"), '/', '\', 'g')command! Copyfile let @+=substitute(expand("%:p"), '/', '\', 'g')This copies the entire path and filename of the current file (with an…
弄了3个小时的快捷键,一直不能成功使用,百度上一堆一样的方法,最后FQ才找到能用的方法,真是服了. 方法: ①首选项->快捷键设置 填写如下内容: [ {"keys": ["ctrl+b"], "command": "repl_open", "caption": "Python - RUN current file", "id": "repl_pyth…
参考: Programming Windows with MFC, 2nd. Chapter 18, 19. 建议把这两章学习完(至少到OLE drag-and-drop之前要学习完)再来尝试OLE Clipboard Programming Windows 5th. Chapter 12 - The Clipboard, Memory Allocation, When your program transfers something to the clipboard, it must allo…
http://superuser.com/questions/414110/vim-save-a-file-as-a-different-filename-but-keep-w-as-the-current-filename :w someOtherFile.c it will write to that file, but stay editing someFile.c.…
sqlmap自动注入 Enumeration[数据枚举] --privileges -U username[CU 当前账号] -D dvwa -T users -C user --columns  [指定数据库,表,列] --exclude-sysdbs [排除系统层的库] ******************************************************************************* #查具体数据 [前提:当前数据库用户有权读取informatio…
Maxiee今天又学到了一个插件——Cscope.Cscope 是一款用于查看大型工程中的代码的软件.它使用方便,支持快速查找 C Symbol.function 等在工程中所有出现的位置,而不用自己手动遍历所有文件,从而提高效率.   Cscope 的官网是 http://cscope.sourceforge.net ,上面貌似没有能直接应用于windows的包. Maxiee找到了这个网址: http://code.google.com/p/cscope-win32/downloads/li…
How to use Virstalbox to share files with Linux and Windows, and to move the mouse in and out Virtualbox freely without click Ctrl key, herewith what I have done to achieve both. 1, download 'VBoxGuestAdditions_4.3.12.iso' 2, in RH Linux of Virtualbo…
环境:环境是内网windows,传入路径的时候不带盘符,并且服务器的win10也不是超级管理员账户 关于File类的mkdirs()远程访问创建不了文件和路径的问题. 如果浏览器操作者是windows是超级管理员账户,如果没有盘符情况下取得默认是servlet服务器所在的盘符然后创建文件夹:如果浏览器操作者不是超级管理员账户,那么久不能创建文件夹,带上盘符可是可以的! 关于File的构造方法的几点认识: 1.File对象实例化对外提供了四种构造方法: // 1. 通过指定文件路径实例化 File…
linux服务器上编辑 .ini 文件时卡死,关闭连接工具后重新进入操作该 .ini 文件时,会提示: E325: ATTENTION Found a swap file by the name ".xxx.ini.swp" (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the…
I’ve always been frustrated in Visual Studio (all versions I can remember including latest vs2012) with not being able to look at the top of a file and edit the bottom.  Recently, on an Microsoft insiders list I participate in, someone posted that ex…