Posts RSS Comments RSS 32 Posts and 1,017 Comments till now

Archive for November, 2007

SVNMate Update

This update re-checks the SVN status of files when TextMate regains focus (to keep in-sync with commits etc. made on the command-line), and also replaces the ugly coloured triangles:

SVNMate

I’ve been on the lookout for some nice icons for a while, but I recently found out that the Windows TortoiseSVN project has generously put their icons under a separate license.

The download includes all the icons from the TortoiseSVN repository and one contributed by JiHO – he’s also included the SVG source file which you can modify with Inkscape.

If you wish to create your own icon set, take a look at the existing sets (found at ~/Library/Application Support/TextMate/PlugIns/SVNMate.tmplugin/Contents/Resources/icons once the plug-in is installed). Any common image format should be loaded if the files have the proper name and extension.

Download SVNMate

TextMate Tip – Where Am I?

Apparently this question is quite common – since TextMate does not show the full path of the currently edited file, people are not entirely clear on the file’s location. So I was asked to do this tip, which will cover 4 different methods of discovering the path to your current file, and hopefully teach some new tricks too.

Continue Reading »

TextMate Project Trees

When I was working on the new Dialog system for TextMate I was having to restart TM a lot (to reload the plug-in after compiling) and it was becoming a pain to re-expand the project structure every time (side note: ⌃⌘R is handy for this since you’ll likely have a relevant file open already) so I wrote this plug-in to store the project tree state in the project file (and restore it when the project is opened).

Just download the plug-in and install it and projects will automatically start using it.

TMLabels Update

Allan was kind enough to share the code he’ll be using to draw the Finder labels for the file list in TextMate 2, so I’ve been able to update the TMLabels plug-in to closer match the appearance of labels in the Finder.

TMLabels

Get it here.

Blurminal

If you have a particular goal, you want to go at it from the most effective, easiest angle possible, right? Weight loss should be no different. There are weight loss tips you can learn that will make your weight loss journey simpler overall.

People often make weight loss way more complicated than it needs to be. The honest truth is that weight loss can be quite easy—all you need to do is focus on making small changes in the areas that have big influence on the weight loss equation.

I’m going to help you do just that with 10 easy and very effective weight loss tips.

1. Stop Snacking

Snacking is the number one saboteur of weight loss. Why? Because people just end up eating way too many calories when they’re constantly popping snacks into their mouths. The other problem is that most “snacks” are based on refined sugar—very calorie dense and not very satisfying.

When’s the last time you felt full after eating that fun-sized bag of candy? Mindless snacking is absolutely pointless and totally destructive to weight loss. Don’t do it.

The Alternative

If you need a snack, eat one that is high in protein to help you feel full without going overboard on portion size. A bag of unsalted nuts or a cup of yogurt with some fruit are great alternatives.

2. Don’t Drink Liquid Calories

If you’re looking for simple weight loss tips, this is a great place to start.

If snacking is the number one weight loss saboteur, then liquid calories are a close second. They pose the exact same problem: It’s just too easy to consume way too many calories when you’re guzzling down sugary drinks that don’t satiate you.

This includes sports drinks. Gatorade isn’t inherently bad, but the fact is that the vast majority of people do not need sports drinks. Unless you’re actually depleting your glycogen stores with more than 60 consecutive minutes of hard training, sports drinks of any kind are just not necessary. Take a look to the latest steel bite pro reviews.

The Alternative

Drink water! It sounds obvious, but most people aren’t even getting close to the daily recommended intake. Switch out all those sodas and sugary juices for a nice glass of refreshing water.

3. Limit Yourself to 3 Meals a Day

This relates to tip number 1. If you eat 3 meals a day or less, it’s much harder to accidentally overeat. There’s a popular myth that one needs to eat every two hours to keep the metabolism roaring at full speed. Understand: That is completely false and unsubstantiated by science.

4. Eat Slowly

This is one of most important weight loss tips if you’re looking for easy solutions. Most people simply need to eat less food to lose weight, and that means not stuffing yourself to the brim. Slow down, and stop eating when you’re 80% full, or satisfied. Visit https://thehealthmania.com/Resurge+Review+ for more information about health supplements.

You’ve likely heard that it takes 20 minutes to feel full, and this is backed up by what we know about how our body registers food intake. Our brain receives feedback signals based on changing glucose levels, and these signals can take anywhere from 5 to 20 minutes to alert us that we’re actually full and can stop eating[1].

This is why it’s so important to eat slowly. You’ll likely end up eating fewer calories because you’ll realize you’re full before finishing your meal.

QuickLook and TextMate

QuickLook in TextMate

This is a TextMate plug-in which allows you to QuickLook items in your project, either by selecting the item(s) you want to preview and using QuickLook from the context menu, or pressing ⌥␣ when the project drawer has focus.

Download QuickLook in TextMate here.

TextMate in QuickLook

This is a TextMate plug-in and a QuickLook generator which renders QuickLook previews (for certain filetypes) using the TextMate syntax highlighter. Currently it’s configured to highlight Perl, PHP, Ruby, Shell, C headers and Obj-C(++). Note: this effectively sets up TextMate as a server for the syntax highlighting, so it won’t work unless TM is running (QuickLook will just fall back to the standard preview if it’s not).

Download TextMate in QuickLook here.

The QuickLook generator will be automatically installed by the plug-in the first time it loads. Hopefully QuickLook will notice and start using it right away, but if it doesn’t you can try running qlmanage -m

Needless to say, both these plug-ins are Leopard only.

TextMate Tip – Find and Replace

Today I’ll give a tour of TextMate’s features related to finding (and replacing) text.

Continue Reading »

Glyph Input Manager Update

I was really missing the input manager while typing out the keystrokes in the tip posts, so I’ve fixed it to work in TextMate too – get the updated version.

See the original post for installation instructions.

ReMate Update

Can living in a densely populated urban centre make you healthier and happier? Yes, according to a study that found that city dwellers have lower rates of obesity and socialize more than people who live in the suburbs.

The study of 419,562 adults by Oxford University and the University of Hong Kong (UHK) found that people living in built-up, residential areas in 22 British cities had lower body-mass indexes and took more exercise than residents of more widely-spaced homes in suburban areas.

The researchers found that 1800 residential “units” per sq km (roughly 18 homes per hectare) is a crucial number: at this housing density level residents had the greatest rates of obesity, compared to city dwellers. Most people that lives in big cities eventually develop hearing loss conditions, treat them with silencil for tinnitus.

Image: UN

While people living in sprawling neighbourhoods may be at greater risk of obesity, in other wealthier parts of suburbia it’s a different story:

“Suburban areas with few homes – often privileged communities with big gardens and open spaces – were healthier than this, but lagged behind the most densely populated areas in inner cities,” the Thomson Reuters Foundation said in its report on the study. Improve your healthy lifestyle with Nutrisystem.

Report co-author Chinmoy Sarkar of UHK told Thomson Reuters: “As cities get more and more compact, they become more walkable. In denser residential areas, they are better designed and more attractive destinations. We are less dependent on our cars and use public transport more.”

The study’s authors argue that the density of a city, its shops, public transport links and closeness to places of work, help residents to be more active. For example, walking instead of driving.

Image: REUTERS/Michael Kooren

Commenting on other research that supports their findings, the authors say: “There is now an increasing body of evidence that several measures of high urban density, including residential density, retail and service density, street-intersection density and land-use diversity, are all associated with lower body-mass index and obesity.”

Gentrification

In his latest book, urbanist Richard Florida, a professor at the Rotman School of Management at the University of Toronto, argues that as city centres become attractive places to live, high property prices squeeze out the “service class”, such as taxi drivers and retail workers.

This allows the affluent “creative class”, who are also more able to afford gym memberships and exercise classes, to buy homes closer to amenities and their workplaces.

Some argue that it’s not just about wealth, and the way to create better opportunities for everyone is to improve access to quality education. However, this is hard to achieve when better schools are often in areas with high property prices. Plenty of studies from around the world link poverty to poor educational outcomes, as well as worse health and higher obesity levels.

While Florida’s work is considered controversial by many who specialize in urban studies, it does reflect a strain of thinking about the redevelopment of many urban centres.

Increasingly, what happens in cities is likely to have a big impact on us all. The United Nations predicts that by 2050, 65% of humanity will live in urban areas. How we are educated, whether we can walk to work or have to commute long distances, and the effects on our health and healthcare systems, are matters of concern that city planners and national governments are being urged to tackle now.

One example of how authorities might act, the Oxford and UHK authors say, is to update planning laws. The researchers say that their findings might mean that governments, such as the UK’s, which are attempting to prevent suburban densification by, for example, prohibiting the subdivision of single-lot housing and the conversion of domestic gardens into housing lots, conversely, could be preventing the suburbs from becoming healthier places to live.

TextMate Tip – Moving and Selecting

I’m going to cover a few general tips for text editing – I’ll split them into parts since there will be quite a few to cover, so this one will focus on moving around and selecting stuff.

Continue Reading »

Next »

Fork me on GitHub