background preloader

Vimcasts - free screencasts about the text editor Vim

Vimcasts - free screencasts about the text editor Vim
Support Neovim! I’ve sometimes wondered what could lure me to switch from Vim to another text editor. On the whole I’m happy with Vim, but the one thing that bothers me is the cruft that has accumulated over the course of 20+ years. Imagine Vim, but without the nocompatible option. That is the promise of Neovim. Continue reading…

http://vimcasts.org/

Java Anti-Patterns This page collects some bad code that may not look so obviously bad to beginners. Beginners often struggle with the language syntax. They also have little knowledge about the standard JDK class library and how to make the best use of it. In fact I have collected all examples from everyday junior code. I have modified the original code to give it example character and such that it highlights the problems. Many of these problems can easily be detected by SonarQube.

ZSH-LOVERS(1) Mailpath: simple multiple mailpath: mailpath=($HOME/Mail/mbox'?new mail in mbox' $HOME/Mail/tux.u-strasbg'?new mail in tux' $HOME/Mail/lilo'?new mail in lilo' $HOME/Mail/ldap-fr'?new mail in ldap-fr') Seil - Software for OS X Step 1 Open a downloaded dmg file, and then open a pkg file in dmg. Step 2 Installer is launched. Install Seil. Don't write on the whiteboard I recently interviewed at a major technology company. I won't mention the name because, honestly, I can't remember whether I signed an NDA, much less how strong it was. I did well. 6 reasons to use Pearltrees Pearltrees is the first and largest social curation community on the Internet. It’s a place to organize, discover and share all the cool content you find online. However, beyond this basic definition, a question remains: why would I want to use Pearltrees?

Configure vi for Java application development Most software developers encounter the vi editor at some point in their career—if not at college, on production UNIX machines when installing work they coded on their Windows desktop machines in full-blown IDEs. It's rare to find a developer except in the most Microsoft-beholden shops who doesn't have to fire up vi at least once a month. Some developers love vi, while others loathe it.

RESTful web services with MongoDB A few tutorials ago,in the tutorial about RestEasy and Hibernate, we saw how we could integrate RESTEasy with Hibernate.Now in this tutorial we will see how can we create Restful web services with RestEasy and MongoDB. As an example we will see how to expose the documents of collection named Categories.The service class will be: Since our service class is ready we now need to create the Application class: package com.javaonly.service; import java.util.HashSet; import java.util.Set; import javax.ws.rs.core.Application; public class CategoryApplication extends Application { private Set<Class<?

Sinatra: README This page is also available in Chinese, French, German, Hungarian, Korean, Portuguese (Brazilian), Portuguese (European), Russian, Spanish and Japanese. Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort: # myapp.rb require 'sinatra' get '/' do 'Hello world!' Binary Trees by Nick Parlante This article introduces the basic concepts of binary trees, and then works through a series of practice problems with solution code in C/C++ and Java. Binary trees have an elegant recursive pointer structure, so they are a good way to learn recursive pointer algorithms. Contents Section 1. Binary Tree Structure -- a quick introduction to binary trees and the code that operates on them Section 2.

Tips for Having Great Virtual Meetings (Editor’s note: The following post is an excerpt from the book The Collaboration Imperative: Executive Strategies for Unlocking Your Organization’s True Potential by Ron Ricci and Carl Wiese. Ron Ricci is the vice president of corporate positioning and has spent the last decade helping Cisco develop and nurture a culture of sharing and collaborative processes. In addition, he has spent countless hours with hundreds of different organizations discussing the impact of collaboration. Carl Wiese is senior vice president of Cisco’s collaboration sales — a multi-billion global business. He has presented on the importance of collaboration to business audiences in dozens of countries, including Australia, China, Dubai, India, Mexico and all across Europe and the United States. For more information please visit

Tree List Recursion Abstract Stanford CS Education Library: one of the neatest recursive pointer problems ever devised. This is an advanced recursive pointer problem that uses a binary tree and a doubly linked list. You should be comfortable with pointers and recursion to understand this problem. 17 powerful bookmarklets for your iPhone Here’s a little known secret: bookmarklets work on your iPhone. But wait, what are bookmarklets? Bookmarklets are little pieces of Javascript code that can be saved as ordinary bookmarks in your web browser. They enhance your browsing experience by giving you super-instant access to useful tools and special functionality. There are billions of them, and below are my favorites. These work wonderfully on a computer, but they’ll add an extra boost of functionality to your iPhone.

Tricks with Direct Memory Access in Java « Highly Scalable Blog Java was initially designed as a safe, managed environment. Nevertheless, Java HotSpot VM contains a “backdoor” that provides a number of low-level operations to manipulate memory and threads directly. This backdoor – sun.misc.Unsafe – is widely used by JDK itself in the packages like java.nio or java.util.concurrent. It is hard to imagine a Java developer who uses this backdoor in any regular development because this API is extremely dangerous, non portable, and volatile. Nevertheless, Unsafe provides an easy way to look into HotSpot JVM internals and do some tricks. Sometimes it is simply funny, sometimes it can be used to study VM internals without C++ code debugging, sometimes it can be leveraged for profiling and development tools.

Getting active with OmniFocus: first days - Blog As threatened promised, here is my first installment of Mastering OmniFocus: Can a Slacker go from Productivity Zero to Guru or Come Up with a Pithy, Descriptive Blog Post Title? Well, we certainly know the answer to one of those questions, don't we? The first thing I do upon launching my copy of OmniFocus is to delete the paltry amount of outdated info in my document.

Related: