Skip to main content

Posts

Showing posts from 2014

Forcing Mac OS X to use custom install of Git

UPDATE:   What may be a simpler approach is to edit the /etc/paths file by adding an entry for /usr/local/git/bin at the top of the file.  It seems that the solution presented in this article does not persist. Updating the PATH variable will allow Mac OS X to be able to find the binary from a custom install of Git .  Apple ships a version of Git with Xcode , but its version may lag behind Git's releases.  As such it may be desirable to use the official version from Git itself.  The Git installer puts the binary at /usr/local/git/bin which is not in the PATH variable. Starting with at least version 10.9 of Mac OS X, Git has had the unfortunate problem of not being invoked with the "conventional" commands from the terminal.  That is to say, running the command git status , for example, would generate an error stating: The "git" command requires the command line developer tools. This cue is helpful if Git isn't already installed on the system. 

Ubuntu calendars

Canonical is nice enough to publish a series of Google Calendars  to the public for Ubuntu .  A couple of the more interesting ones can be found at the following. Ubuntu Fridge Calendar http://fridge.ubuntu.com/calendars/ Ubuntu Release Calendar http://fridge.ubuntu.com/calendars/ubuntu-release-calendar/ The second one is of particular interest since while Canonical has made it a practice to release the next version of its OS on a rigid interval, the actual release dates aren't always easy to find.  This is a nice place to find them as soon as they;re scheduled. Additionally, the following wiki page identifies the details of the current releases. Releases https://wiki.ubuntu.com/Releases

Allow Windows authentication using SQL Server driver with DBeaver

DBeaver will allow Microsoft Windows single sign on access when connecting to Microsoft SQL Server using the SQL Server driver (rather than jTDS ).  From the driver properties settings, set the integratedSecurity flag to true . Open the Connection configuration panel and choose the Driver properties section. Set the integratedSecurity flag to true . A subtle, but important step is to not provide username and password credentials to the connection.

List all branches in GitEye History view

By default, GitEye only shows the other branches the checked out branch has been merged with.  There is a way however, to show all the branches.  In the History view, select the button that looks like a downward pointing Y.  The tool tip on this button is "Show All Branches and Tags" and clicking it will show or hide all the branches and tags this particular branch is unassociated with. The "Show All Branches and Tags" button. Assume a repository has 4 branches, A, B, C, and D, but branch D has only been merged with branches B and C.  This means that the history for D will only show B, C, and D items.  Sometimes though, it may be necessary to compare the checked out branch with branch A even though the two have never been merged.  This control will expose those other items and the diffs can be made.

Email's 'carbon copy' issue

It seems obvious to many, but given the prevalence of the issue, it's not to most.  The problem:  sending a message to a mailing list in the "Cc" field.  Why is it a problem?  The email address of each person on the mailing list is now exposed to each of the other members on the list. For those who don't know, email clients have an additional field other than the "To" field to indicate the recipients of the message with.  This has colloquially been dubbed the carbon copy, or "Cc" field. In a similar way that email programs have the "Cc" field, they also have a "Bcc" field, or blind carbon copy.  The effect of the "Bcc" field is the same as the "Cc" field except for one crucial detail.  The address of each recipient is not exposed to each of the other recipients. Enter addresses one at a time, or use a mailing list just like either the "To" or "Cc" fields.  An individual message

Labels used by this publication

This is a summary of the types of labels used by this publication.  The term label can also be referred to as a tag and the two terms are used interchangeably. The types of labels are defined as the following: Language (technology) Development application ( IDE , database manager client, et cetera) Protocol ( FTP , LDAP , et cetera) Browser Concept (OOP, refactoring, continuous integration) Examples of tags might be:  PHP , ColdFusion , or MySQL , where PHP and ColdFusion are development languages and MySQL is a database manager.  Command line tools like Git would also have a tag. Labels that are not used are ones that refer to specific products or companies such as:  IBM , Gmail , or Flickr . These distinctions are made for two reasons.  The first is to stress the emphasis of the publication on development.  The second is to help limit the volume of tags that would certainly build up and thereby just create noise in the tagging mechanism.

Google Drive now views Open Document files

Noticed first a couple of days ago, the browser based version of Google Drive can now view Open Document Format (ODF) files.  Initial tests have confirmed that both word processing (ODT) and spreadsheet (ODS) files will open in Drive. Drive is Google 's offering in the cloud storage market.  The service includes web based applications for editing office productivity files.  Until just recently, ODF files could only be downloaded in order to be read. At this point, web application productivity suites are light on features compared to their desktop brethren, so this addition is a welcome convenience, to be sure.

What is the record for spamming new users?

News broke today on tech outlets like The Verge and TechCrunch about a new calendar service called Sunrise .  Login options for the web application version include Google and Facebook .  A quick look around after logging in via each of these methods yielded an appealing interface, but nothing really enough to sway users away from whatever they're currently using. What is impressive though is how quickly the spam machine was fired up.  The following message was received only hours after the brief tour from earlier in the day.  Here is the message veiled under the "From" address of "support@sunrise.am." Dear user, Today is an exciting day for Sunrise. We're launching on both Desktop and Android. [image] You can start using Sunrise everywhere for free. On desktop, Sunrise will help you stay organized by combining all the information you need in one place. The desktop app is fast, beautiful and brings everything you love about Sunrise to your desk

Consolidate "coding," "testing," and "documenting" into a single term

The three main functions of programming, coding, testing, and documenting can be a "mouthful" when spoken together.  This can be clumsy when done so on a regular basis.  In en effort to simplify matters and to "follow suit" with so many other aspects of the development world, the abbreviation CTD may be appropriate. Like so many other abbreviations (also known as acronyms), this term could be used as a verb as well.  "Thanks Bill, I'll get back to CTDing now."  Of course, the assumed redundancy is noted when used in this manner.  Meaning that, if the use of CTD in its expanded form stands for code-ing, test-ing, and document-ing, then CTD-ing is assumed to be compounding the "-ing" ending in each of the individual words as well.  For simplicity's sake, just let it stand as "CTDing."

Calendar invitations are broken

The ability to respond to calendar event invitations in most applications is broken.  This is true for both web and desktop applications. There are a whole host of calendaring applications on the market with the likes such as Exchange , Google , Yahoo , iCloud , you name it.  In more closed environments like those in many offices that use Outlook as the client for email and calendaring, the problem is less noticeable.  The integration is much tighter.  Take Google Calendar and iCloud for example, the integration is less tight because invitees will get their notifications using Apple Mail , Yahoo Mail , iOS , Android , and who knows what else.  This is because the invitees will be using their email and calendaring application of choice rather than whatever is issued in the office. Attempts have been made by most software vendors to gracefully handle invitations from email, and the calendar vendors try their best to make the invitations simple to respond from.  The trouble is that t

Filters to add to Eclipse projects

Eclipse has the ability to prevent certain files from being incorporated into projects or from being scanned during file searches.  The limits are applied by way of patterns in the file names. It may well be the case that several IDEs are used in the development of projects which will litter the projects' folders with IDE support files.  These can get in the way of Eclipse, but can be ignored with this resource limiting provision. To get there: Right click on a project Choose Properties Expand Resource Choose Resource Filters Some common "exclude" filters might be: .buildpath (file-level should be fine) .git (folder-level, and should exclude children as well) *.komodoproject (file-level should be fine) .project (folder-level, and should exclude children as well) .settings (folder-level, and should exclude children as well) *.sublime-* (file-level should be fine) Adding these filters to an Eclipse project should allow the placement of project file

Jump to any point in a YouTube video

Google provides a feature with its YouTube service that allows a user to jump to any place in a video.  The trick?  Simply put a minute and second marker in the URL using the MMmSSs format, where "MM" is the minute value with a leading zero, and "SS" is the seconds value, also with a leading zero. This minute and second values combination then just needs to be combined with some URL notation to tell YouTube to jump to this spot in the video.  This looks like:  #t=MMmSSs.  Just tack this bit to the end of your URL and away you go.  Compare the differences in an actual YouTube URL: Plays the video from the beginning http://www.youtube.com/watch?v=Bu927_ul_X0 Plays the video from second 23 http://www.youtube.com/watch?v=Bu927_ul_X0#t=00m23s