Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
// swap the keybindings for paste and paste_and_indent | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } |
Go to Sublime Text 2 > Preferences > Key Bindings - User
and add this JSON to the file:
[
{ "keys": ["super+shift+l"],
"command": "insert_snippet",
"args": {
"contents": "console.log(${1:}$SELECTION);${0}"
}
}
google.maps.event.addDomListener(window, 'resize', function() { | |
var center = map.getCenter() | |
google.maps.event.trigger(map, "resize") | |
map.setCenter(center) | |
}) |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls
command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
Dear Green Party executives, supporters and members,
I appreciate this is an extremely busy time to be in politics but I beg for a moment of your time as a frustrated member of the Green Party.
My whole adult life I have voted Liberal Democrats and fiercely challenged anyone who said that mine was a wasted vote. I was disheartened then in 2010 with their decision to go into alliance with the Conservative party, a party who's policies and values I fiercely oppose. I wrote to every Liberal Democrat MP saying I would never vote for them again and that my trust for them had been destroyed. In the run up to the 2015 General Election I joined the Green Party in my constituency of Somerton and Frome and was delighted that they were the third best represented at the ballot.
When Theresa May announced a snap election earlier this month I attended a meeting in Frome from disconcerted members of the constituency that were concerned about a divided left come June 8th and the potential impotence against a Tory incumben