Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
Collapse code block shortcut relevant to the cursors position
It would be good if the "Cmd+k+<number>" shortcut would be relevant to the depth position of the cursor. So for example on a file with 7 indented code blocks, if the shortcut was used from within the first level of code blocks with <number> as "1" then it would close the first level of code blocks within that block instead of closing all the adjacent blocks elsewhere in the file.
I think this could save some time from counting the indentation level when you open a file with a lot of indented blocks
Windows 7 taskbar jumplist - previous projects
Where to Stay in New York City If You're Traveling with Pets
1) The Tribeca Grand welcomes pets with open arms—there's no surcharge and complementary treats, bedding, food and water bowls, and doggy bags are provided upon arrival. Other pet services can be arranged through the concierge. In addition, guests can request a pet goldfish for the duration of their stay, free of charge.
2) Like its sister hotel, the Soho Grand has no surcharge, treats, bedding, optional goldfish, etc. It also has its own dog run, complete with fire hydrant water stations and a landscaped garden.
3) The Affinia chain, including such hotels as Affinia Fifty, Affinia Dumont, Affinia Manhattan, and others cater specifically to pet owners, but the amenities differ slightly from hotel to hotel. The Fifty, for instance, offers skin moisturizer, odor remover, mosquito repellent, and a bad-breath zapper for dogs, while The Benjamin has a doggie bathrobe. (Treats, food and water bowls, toys, and other staples are standard at every one.) The hotels have a $50 pet fee, $10 of which goes to the Humane Society of NY.
4) Affinia's chief competition for pet-friendliest hotel chain is Kimpton, which has four New York City outposts: 70 Park Avenue, The Muse, Ink 48, and Eventi Hotel. The Muse has a teacup pomeranian as a mascot and a human/pet spa package, which includes in-room pedicures for both parties. The other hotels offer similar amenities, and there are no initial fees for bringing an animal, although the pedicures will cost you.
5) The Ritz-Carlton Battery Park charges a hefty $125 fee and only allows pets under 20 pounds, but on the bright side, it offers a bunch of pet amenities including dog beds, toys, treats, bowls, and waste bags. The desk also gives a you welcome note for your pet, so that's worth $125 right there.
6) Loews Regency on the Upper East Side charges a $25 cleaning fee, but also provide pet owners with complementary gift baskets that include treats and a bowl. They also provide such services as a room-service menus for cats and dogs, dog-walking route maps, [et-walking and pet-sitting services, and of course the customary treats and toys.
7) The Algonquin Hotel has a pet cat named Matilda III, the latest in a tradition that began when owner Frank Case adopted a stray that had wandered onto the premises in the late 1930s. The hotel has kept a house cat ever since, naming the males Hamlet and the females Matilda. The cat gets a birthday party every year and has an email address. Guests' pets get to stay for free.
8) The Hotel Pennsylvania hosts the annual Westminster Kennel Club Dog Show, which is a pretty good pet-friendly credential. Owners have to pay a $25 fee and pets get a free treat upon check-in.
Read more:
http://westhillconsulting.info/blog/
API feature request: on_view_scroll event
It would be awesome if API supported on_view_scroll event. It would greatly improve such plugins like Sublimerge where views must be synced. Currently I need to periodically check scroll state and sync the other view. If I had an event for this, scroll sync would work smoothly. Now it lags a bit.
bash
1. you select some text
2. you press ctrl+p, type "apply shell command"
3. you type (for example): "nl -ba"
4. highlighted text is echoed into the command you gave, its output is soaked up, and the highlighted text is replaced with the output.
5. et voilá! you have just prefixed all lines with a line number.
other useful commands would be fmt, sed, grep -Eo etc.
I could code this myself in Python but maybe someone will beat me to it.
Westhill Consulting & Employment Wrong Job or wrong career? Here’s how to tell.
I took my eleven-year-old son to Colorado for a paleontology adventure. Digging up shards of tibia bone with a toothbrush is so not what I want to do with my time, but I want to support my son in finding his passion, and he is enthralled with paleontology.
There’s a great program at the Museum of Western Colorado. We drove there. Omaha is a midpoint between our house and the dinosaur dig, so we stayed there for a day at a hotel where Warren Buffet, who is known for being a reasonable, down-to-earth guy, drew the line at drinking a Pepsi (he’s on the board of Coke), so the hotel guy had to walk five blocks to get two Cokes.
So we get to our first day of our dig, we go to the edge of a cliff in the badlands near the museum. We look down and the guide says, “That rock down there is about 150 million years old, but we don’t have enough money to know for sure.”
My son can’t look. He already has altitude sickness. At the point where the paleontologist shows us the cliff we will dig on, my son, who has read too many earthquake books, announces that we might die, receives unimpressive reassurance, and then throws up.
This is either a photo of my son doing his perfect dream job, or my son right before he throws up in all over the Pleistocene period.
We go back to our hotel.
He told me he could never do a dig. He said next time we should just go to Omaha. “They have such a good zoo,” he said. He was scared he’d never be a paleontologist. I wanted to tell him that he was doing the dig because it cost $1500. But instead I told him that maybe this was a good job for him at the wrong place.
This is a common problem with our work.
1. it’s the skills you use in your job that matters, not the industry you’re in.
My son learned so much from the trip. He learned there’s a high demand for fish experts. “We are in the age of fish,” said the paleontologist who was nice enough to leave the tour and drive us back to our car. “There are more fish right now than any other type of animal, and only fish people study fish.”
My son is fascinated by the idea that because fish skeletons are so varied and so different from mammals, you have to specialize in that to understand it.
My son is also fascinated by the idea that someone needs to organize the excavation trips. He likes managing. Of course: he’s an INTJ. If you know your personality types, and you know your strengths and weaknesses, then all you need is a job that leverages your strengths. An INTJ is great at solving complex problems and managing teams to solve problems. He could do that in technology, in education, or in paleontology.
So I told him he should keep reading those paleontology books he loves. And we are still planning to go on more paleontology trips – just no treacherous digs. Because he’s a lot like a career change in that he’s invested so many years in reading about environmental science that it seems a shame to focus on a job in another field when he doesn’t necessarily need to.
2. Trends in an industry matter more than whether you like the industry now.
Before you decide if you’re in the right career or not, look at trends. Most of you will need to continue working for at least a decade or two. The jobs that will be around in the next decade are nothing like what we have now.
The types of careers that will open up in the near future—vertical farmer, weather modification police—foreshadow huge shifts in the workplace. The shifts also underline how important it is to position yourself in a growing industry rather than one that is dying. So instead of focusing on how much you like the career you are in – since that is largely a function of the skills you are using anyway – focus on whether the field you’re in is growing or dying.
I recently read that the trend in fossil digging is that it is becoming privatized, because professors don’t want to put in the insanely long amounts of searching time, and universities don’t want to pay the insanely high prices that private collectors will pay for fossils.
So private companies are excavating private land. It’s controversial, sure, but I’m impressed that someone dreamed up the idea of putting fish fossils in kitchens. It’s a great way to change the fish fossil market from lemonade-stand-budget, ten-year-old boys to renovation-budget interior designers.
3. We don’t need a perfect job in order to be happy. We just need to be growing.
So many of us have an unguarded obsession with wanting things to fit perfectly. I look at this page of photos of random things fitting perfectly and I want the page to go on forever—it’s inherently satisfying just to know it’s a good fit.
Yet wanting a perfect fit gets us into so much trouble.
The quarter life crisis is a new coming-of-age event that describes the emotional turmoil resulting from the gap between baby boomer parents telling kids their job should be a perfect fit for their passions and talents, and Gen Y kids realizing that the work world does not offer that type of job.
Looking for a perfect fit in a relationship also gets us into trouble.
We do not get perfect harmony in a relationship.
Psychology today describes the best romantic relationship as not necessarily with the partner who has the best traits, but rather the partner who allows you to grow into your best self. Daniel Jones edits the Modern Love column in the New York Times. He says that after reading 50,000 submissions over the course of a decade, he realizes that the best way to be fulfilled in a relationship is to settle for imperfection and focus on being your best self.
The connection between a job and happiness is overrated. And the connection between our romantic life and happiness is overrated. A full 70% of our happiness is determined genetically.
But personal growth is something we have total control over. So get yourself into a job that allows you to do that – but recognize that it rarely requires a change in industry. Usually a change in your job but within your industry will get you where you need to go.
Duplicate line of code with shortcut
Open file in current group from API
disable plugins in via folder rename
Debugging annoyances coming from unidentified plugin could eb made easier by the following convention.
FEATURE:
adding underscore "_" in front of a plugin folder disables the plugin.
Code Folding -> Fold Level 2 [Sublime Text 3 3047]
var bob = {
Customer support service by UserEcho