Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

0

Customize all resources *.sublime-* down to project level

Fabrizio Da Ros 12 лет назад 0
Hello,

Best Editor. Ever.
I have a request about building system on Sublime Text 2. It happens in my organization to develop C applications for micro-controllers. We have different compilers and linkers and normally different building options to manage.
We have up to half dozen of most used tasks (building variants) for each project. Generally speaking we have few categories where a project falls into.
The most obvious difference is on the "file_regex" property when dealing with more compilers.

Now, it's possible to specify "build_systems" inside the sublime-project, but it does not bring to a desirable result.

Another problem is the key binding for building tasks to launch. I'm not able to assign this binding at project level.
For example the Ctrl+Shift+F9 should execute different commands on different projects, given the purpose of the operation is the same for consistency.

Here is my desire
I would like to specify at project level key combos and building variants like they would appear if done inside the user .sublime-build file.

I thought it was possible to customize all resources down to project level by simply adding the associated .sublime-* file inside the project root (aka where the .sublime-project is stored), but I'm not able to make it work.

I googled enough to think it is not possible yet, maybe I'm wrong.

Thanks!


0

Previewing html

fintan macmahon 13 лет назад обновлен 13 лет назад 0
I seen this and thought it would be cool to have something similar for ST2.

Gliimpse is a quick preview technique that smoothly transitions between document markup code
www.aviz.fr/gliimpse/
0

Mac OS X .textclipping support

Chris Platts 13 лет назад обновлен 13 лет назад 0
Mac OS X system-wide .textclipping support does not appear to work, and would be useful - neither from current window to .textclipping file nor from .textclippiong file into the current window. Possibly related to lack of support for dragging and dropping selected text. 
0

ROBERT P. FUESSL: An incisive and impavid individual committed to serving the public

Geneius Fame 9 лет назад 0

Do you want someone to inspire you to become successful?


Then, you should finish reading this article; and get to know a man who achieved many things, such as being included in the prestigious FAA Airmen Certification Database and being the respected vice-president of the American International School of Subic. Yes, challenges came into his life, but that didn't stop him from achieving his goals. He strongly believes that everything in life happens for a good reason, and it teaches us to become a better person and to inspire other people. No one is perfect that's why pencils have erasers.


So, who is this man we're talking about? He is none other than Robert P. Fuessl.


Let us begin with his most daring and challenging career: being a pilot. Perhaps, you've heard about the renowned FAA Airmen Certification Database, right? It's on a different level and the pilots included in its database are the most qualified and best-trained pilots who have met or exceeded the high educational, licensing and medical standards established by the FAA.


Robert is from Landshut, Germany, and as a pilot, he has been recently acknowledged by the Federal Aviation Administration (FAA) for his inclusion in the Airmen Certification Database, a fact which anyone can check in the agency's website.


Seeing a plane crash is a true horror. No wonder the pilot certification standards have progressed dramatically through the years in order to diminish pilot errors. And FAA standards are some of the highest in the world.

0

Crown Capital Eco Management Environmental News Updates: Typhoon Haiyan must spur us on to slow climate change

raile3tomson 11 лет назад 0

Victims of Typhoon Haiyan queue for food and water in Tacloban city, in the Philippines. Photograph: Erik De Castro/Reuters

The Philippines's Typhoon Haiyan and its appalling death toll is a terrible example of the increasing force of extreme weather events. Will it shatter complacency about climate change, and electrify the laborious UN ministerial negotiations that are taking place in Warsaw? Do not bank on it, but do not despair either.

Hurricane Katrina came and went in 2005, and Gallup found that Americans worried about climate change jumped from 51% to 62%. Since then, recession focused people on survival, and climate worries receded. In Maslow's hierarchy, basic needs always trump the far-off threat. With recovery and Hurricane Sandy, American public concern is rising again, and it's now at 58%.

Our own flash floods in the summer of 2007 cost £3.2bn – part of a pattern of rising storm damage – but the impact was soon eclipsed by the Climategate email scandal casting misplaced doubt on the science, and then by the recession. Public opinion has only just begun to turn around again, with YouGov finding a rising 56% believing in man-made climate change.

Ironically, economic recovery is allowing people to raise their sights to the climate threat, and none too soon. The new report from the UN Intergovernmental Panel on Climate Change assesses a 95% chance that climate change is man-made, a high enough risk to spur action in any other field of public policy.

If you were told that your house was virtually certain to burn down, you would think that an insurance premium costing 2% of your income in 2050 – Lord Stern's economic estimate of the cost of sorting carbon emissions – looked like a steal.

But what about the global warming pause much beloved by sceptics? There are always variations due to solar activity and other effects, but a new study by British and Canadian scientists Kevin Cowtan and Robert G Way casts doubt on any pause. It suggests that the global temperature rise of the last 15 years has been greatly underestimated.

The reason is the data gaps in the weather station network, especially in the Arctic. If you fill these data gaps using satellite measurements, the warming trend is more than doubled, and the pause disappears. The trend of the last decade looks exactly the same as the trend since the 1950s.

The problem is simple. If we are to hold the rise in global temperatures to 2C above pre-industrial levels – the point at which global damage becomes potentially catastrophic – we have to stop increasing our carbon emissions by the end of this decade, and then reduce them. This is still possible, despite the backsliding on the Kyoto protocol begun by the Canadians.

The Japanese, never keen on Kyoto, have announced they are reducing their carbon target due to a phasing out of low-carbon nuclear in the wake of the Fukushima disaster. They have been followed by the new rightwing Australian government, dumping the Labor coalition's flagship carbon tax. Both moves are causing understandable bad feeling among developing countries in Warsaw, but they are not yet fatal. Other countries are ramping up: the new German coalition, for instance, is likely to aim for 40% cuts in carbon emissions by 2030.

Targets are important, and so is the international agreement now promised for the Paris annual meeting in 2015, not least because it would kill the myth in so many countries that only they are tackling climate change. Why inconvenience ourselves when China is building new coal power stations by the month?

The reality is that China and the United States are continuing to take action. China's low-carbon zones are working. Its low-carbon nuclear energy programme is enormous: it is building another 30 reactors to add to its 17. Its renewable energy target is 15% of primary energy consumption by 2020, the same as the UK's modest contribution to the overall EU target of 20%.

The US federal government is tightening emission standards for coal generators. California is the world's twelfth-largest economy, and is responsible for vehicle standards that are driving electrification of cars. BMW's electric car range is a clear response to the inroads that the electric Tesla is making in this key market.

Both solar panels and onshore wind can, in the right sunny or windy conditions, be cheaper ways of generating electricity than fossil fuels. Solar panels are a quarter of their cost in 2008. Industry estimates suggests that solar will be cheaper (without subsidy) than other ways of generating electricity almost everywhere by 2020, and onshore wind even earlier.

But both solar and wind are intermittent, so a key is battery storage, which is still too expensive. With cheap batteries in the loft or the substation, home heat and light using low-carbon electricity will be attractive. It will open up a new path for developing countries, leapfrogging the need for costly grids and big power stations. In transport, batteries provide long ranges and quick charging for an upmarket luxury car like the Tesla, but the price will need to tumble to attract the mid-range Mondeo buyer.

The shape of low-carbon technology is increasingly clear. The issue is keeping up the pace of change to avert disaster. That means a global deal in December 2015 to curb emissions by 2020, however lopsided it may be. The US Senate will not find the two-thirds majority to ratify a treaty, but the Obama administration can and should make commitments backed up by domestic legislation.

A solution also means tackling the remaining obstacles to the electric economy, particularly batteries. As the EU, let's offer big money like the Longitude prize to spur research. Let's do joint EU-US research with real urgency, like the wartime Manhattan project to make the nuclear bomb.

We need to capture and store the carbon emitted by fossil fuels, or they must be competed out of existence. There has never been a change in the capitalist economy as potentially disruptive or which is likely to be so hard fought by vested interests. For the sake of the victims of Haiyan, and other disasters still to come, it can and must happen.

https://www.pinterest.com/alysiapower27/crown-capital-management-jakarta-indonesia/

http://www.shelfari.com/groups/101428/discussions/477007/Crown-capital-eco-management-environment-blog---Biomass-Boiler-A


0

PC Speak: Abney and Associates News - Amazon's history should teach us to beware 'friendly' internet giants

Stian Brioschi 11 лет назад 0
Despite their superficially user-friendly ways, the titans of the net, such as Google and Facebook, are no different from the big names of American corporate history

TheGuardian.com
When corporate types gather to schmooze at expensive watering holes they talk about competition as an unalloyed public good. It's seen in Darwinian terms – companies engaged in a ceaseless battle for survival, with only the fittest emerging triumphant. But generally the discussion is couched in agreeably vague, general terms. The sordid realities of Darwinian competition – nature red in tooth and claw – are generally eschewed on the golf course and at the poolside.

Except at amazon.com. Like the other titans of the online world – Google, Facebook, Yahoo and to a lesser extent, Microsoft – Amazon is driven by data and algorithms. But not entirely. What many of its customers may not realise is that the results generated by Amazon's search engine are partly determined by promotional fees extracted from publishers. In his book The Everything Store: Jeff Bezos and the Age of Amazon, Brad Stone describes one campaign to exert pressure for better terms on the more vulnerable publishers. It was known internally as the gazelle project, after Bezos suggested "that Amazon should approach these small publishers the way a cheetah would pursue a sickly gazelle". (With a nice Orwellian touch, company lawyers later changed the name to the "small publisher negotiation programme".)

That's a revealing metaphor: capitalism red in tooth and claw. And it's a useful antidote to the soothing PR of the corporations that now dominate our networked world. Up to now, they have succeeded in branding themselves as different in important ways from the bad old industrial behemoths of the past. Google has its much-vaunted "don't be evil" slogan, for example. Facebook just wants to help everyone to hook up to "share" and "like" stuff. (Strangely, there is no "dislike" button on Planet Facebook.) Amazon is fanatically committed to the philosophy that you – the customer – are always right. And so on.

As a public relations posture this branding strategy has been a brilliant success. We loathe, fear or suspect many of the companies that dominate the offline world – energy utilities, oil companies and banks, to name just three sectors. Yet the giants of cyberspace seem to escape such opprobrium. Instead, it seems that we cannot get enough of the "free" services that they offer.

Yet in Darwinian terms these new corporate giants are just the latest stage in the evolution of the public corporation. They exist to create wealth – vast quantities of it – for their founders and shareholders. Their imperative is to grow and achieve dominance in their chosen markets – as well as in others which they now deem to be within their reach. They are as hostile to trade unions, taxation and regulation as John D Rockefeller, JP Morgan and Andrew Carnegie ever were in their day. The only differences are that the new titans employ far fewer people, enjoy higher margins and are less harassed by governments than their predecessors.

These reflections are triggered by a fascinating study of Amazon by George Packer in the New Yorker magazine. Amazon, you will recall, started out as an online bookstore, and most people probably think that it just branched out into selling other stuff as opportunities arose. The company is pathologically secretive about its sales figures, but Packer quotes one estimate that less than 7% of Amazon's annual revenue now comes from books. Indeed, it's now hard to think of anything that one can't buy from it, or from its affiliates. In that sense, it has indeed become "the everything store".

Packer claims that this was Jeff Bezos's plan from the very beginning. Books were simply a good place to start because people don't need to handle the product before they buy and they are easy to ship. In the early days, some astute observers thought that Bezos's ambition was to become the Walmart of the web. But actually compared with Amazon as it is now, Walmart looks like a niche retailer.

Although books are no longer its core business, Amazon still thinks that book publishing is an industry ripe for further creative destruction. In his book Amazonia, James Marcus, a former Amazon editorial employee, describes how Amazon's techie executives viewed book publishers as "antediluvian losers with rotary phones and inventory systems designed in 1968 and warehouses full of crap". Which explains why most publishers privately regard Amazon as a predatory monster, squeezing their margins the way Tesco squeezes farmers. They won't say this in public, though, for fear that the "buy" button will disappear from their books' pages on Amazon sites.

The big question, of course, is what happens if traditional book publishing becomes unviable because of Amazon's power? One answer – the one that keeps some people awake at night – is that Amazon's dominance in the eBook market will lead to it becoming the biggest publisher in the world. The fittest will then have survived. The rest of us will just have to pay its monopoly rents.
0

Improve behavior of “Single selection” after “Split into lines”

kizu 13 лет назад 0

If you have some lines selected and then do “Split into lines” you get multiple carets with selections. But when you run “Single selection” right after this, you'd get only first caret and selection and other selections would be lost.


My suggestion: if all of the selections can be merged to one, the resulting selection after running “Single selection” must include all of them. If there are gaps in selections, then all the first selections must be merged and the rest (after the first gap) can be dropped.

0

Status bar is not shown until window is moved/resized

iconv 13 лет назад обновлен Jimmy Merrild Krag 13 лет назад 1
At startup, there's no status bar on screen:

However, status bar is enabled:

Status bar appears after window was moved:
0

Using commands from command line.

Максим Кот 12 лет назад обновлен 12 лет назад 3

Imho it can be nice feature, if there will be ability to make in console something like this:

sublime_text <file name> [<file name>]  -c '<Command> <arg>[<arg>]' [<file name> [<file name>]  -c '<Command>']


0

Regex find to use groups e.g. textBefore(.+)textAfter

Vlad Svoka 12 лет назад 0

Reges find does not using groups. It just ignores () in search token.

Both Sublime 2 and 3. It would be nice if parenthesis are used, find would select/replace only terms in search groups, and FindAll would select only text in founded groups

Сервис поддержки клиентов работает на платформе UserEcho