background preloader

Infos & Refs

Facebook Twitter

Use gvim as an external editor for Windows apps. For Windows users, this tip provides a means of using gvim as an external editor for almost any program.

Use gvim as an external editor for Windows apps

This script has been tested with Lotus Notes and Internet Explorer. Alternatively (no script required), FireFox users can easily edit text with gvim by installing an add-on (see below). Script setup Edit Download the following scripts and place them in your Vim plugin directory: The vbscript below should be saved as something like runvim.vbs and put it in a directory such as C:\Program Files\Vim\Vim63. Script usage When you want to use Vim to edit some text in an application such as an email client or web browser, move your cursor to the text area and hit Ctrl-Alt-V. FireFox Edit The script in this tip is not needed if you want to edit text from the FireFox web browser.

Alternatives for FireFox include ViewSourceWith and Mozex (each allows an external editor to be used for "View Source" and for editing any textarea). I had some trouble getting it working. This is a great tip. ;edit in vim... Draft-ietf-idn-race-03 - RACE: Row-based ASCII Compatible Encoding for IDN. [Docs] [txt|pdf] [Tracker] [WG] [Email] [Diff1] [Diff2] [Nits] Versions: 00 01 02 03.

draft-ietf-idn-race-03 - RACE: Row-based ASCII Compatible Encoding for IDN

Microsoft Windows XP - Fsutil: usn. StCroixSkipper's NTFS USN Journal Explorer. I've long been interested in promoting the use of the NTFS USN Journal in Windows applications.

StCroixSkipper's NTFS USN Journal Explorer

And while .Net doesn't provide access to the USN Journal, I've written the PInvoke code to make it easy to use from C#. I've written a NtfsUsnJournal class in C# that exposes the functionality of the USN Journal but masks most of the complexity required to use it. I've also written a WPF application I call StCroixSkipper's USN Journal Explore that lets you select a volume, create or delete the USN Journal on that volume, save the USN Journal state, query the USN Journal and view the changes (USN Journal entries) to the volume. Since accessing the USN Journal is much like reading directly from the NTFS Master File Table, I also let you enumerate all of the directories on the volume and display them in a ListBox.

Mapping WebDAV folder as a network drive letter. Web-based Distributed Authoring and Versioning (WebDAV) is an extension to the HTTP protocol, which makes it possible to manage files on a remote Web-Server.

Mapping WebDAV folder as a network drive letter

WebDAV is preferred when clients has to connect through an insecure network (like the Internet) to reach the remote server, as the remote server can be protected by a firewall and only leaving the HTTP port open and allows SSL instead of using VPN. Windows XP includes the WebClient service that allows one to mount a Web Folder as a mapped network drive: net use x: " /User:UserName PasswordNote to make the mapping permanent add the parameter /persistent:yesNote Windows XP can only connect to port 80 and can only map to a sub folder and not the root directly.

If wanting to make a secure SSL mapping using the https protocol at port 443: Note MS Office (2000+) includes its own WebDAV client which supports file locking and SSL, but will only work when accessing files through the office applications (Excel, Word, etc.). Smoothing spline. Definition[edit] Let be a sequence of observations, modeled by the relation .

Smoothing spline

A* search algorithm. In computer science, A* (pronounced "A star" ( listen)) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting an efficiently traversable path between points, called nodes.

A* search algorithm

Noted for its performance and accuracy, it enjoys widespread use. Performance Tuning Network Adapters. Updated: August 15, 2012 Applies To: Windows Server 2012 This topic contains the following sections.

Performance Tuning Network Adapters

Large English Vocabulary Word Lists. How Does Dropbox Store Data? Dropbox recently clarified (via their blog and privacy policy) that they “de-duplicate” user files.

How Does Dropbox Store Data?

This has been known for quite a while, and is obvious to anyone who’s had a large file “upload” instantly. But how exactly does Dropbox store files? Are they really de-duplicated or just single-instanced? I set out to discover the answer. Single Instance Storage It’s fairly simple for a system to eliminate duplicate data by storing only a single instance of multiple identical files. Dropbox definitely does this. Create a new 10 MB encrypted disk image in TrueCrypt (so it’ll be 100% unique, random data)Move it to the Dropbox folder and wait a few minutes as it uploadsCopy the file with a new name to the folder and notice that it “uploads” instantly Dropbox is at least single-instancing storage.

Note that this single-instancing works across users and geographies. Clashing MD5 Hashes? Three files with identical sizes and MD5 hashes but different names? VNC Snapshot. Five Best Services for Quick Image Sharing. Rock-Paper-Scissors Study Reveals Sneaky Formula For Winning The Game. Is there really a scientific strategy for winning the schoolyard game of rock-paper-scissors?

Rock-Paper-Scissors Study Reveals Sneaky Formula For Winning The Game

Apparently, there is -- and a new paper gives all the details. For the research paper, scientists at Zhejiang University in China had 360 students play 300 rounds of rock-paper-scissors, with the victors of each round winning cash rewards. The researchers observed each round, looking for statistical clues and patterns to winning the game. What did the researchers find? The players who won the first round of a game tended to repeat their same pattern of moves in subsequent rounds, The Telegraph reported. Jose Jesus Perez Aguinaga : One line browser notepad.