| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const NODE_ENV = process.env.NODE_ENV || "development"; //переменная окружения нужная для переключения между dev/prod | |
| const webpack = require('webpack'); | |
| module.exports = { | |
| context: __dirname + "/frontend", //указывается root, где искать файлы для entry | |
| entry: { //объект, когда несколько точек входа. строка, когда одна | |
| home: "./home", | |
| about: "./about", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Поместите настраиваемые сочетания клавиш в этот файл, чтобы перезаписать клавиши по умолчанию. | |
| [ | |
| { | |
| "key": "shift+cmd+-", | |
| "command": "editor.foldAll", | |
| "when": "editorTextFocus" | |
| }, | |
| { | |
| "key": "cmd+k cmd+0", | |
| "command": "-editor.foldAll", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "workbench.editor.enablePreview": false, | |
| "workbench.editor.enablePreviewFromQuickOpen": false, | |
| "window.zoomLevel": 0, | |
| "explorer.confirmDelete": false, | |
| "editor.tabCompletion": true, | |
| "explorer.confirmDragAndDrop": false | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PACKAGE | |
| package example | |
| import "example" | |
| This is the package comment, a top-level piece of documentation | |
| used to explain things about the package (see json or exp/template) | |
| All godoc comments are in this form | |
| with no whitespace between them and what they accompany |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "fmt" | |
| "strconv" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| chrome.browserAction.onClicked.addListener( | |
| function(tab) { | |
| var currentURL = tab.url; | |
| if (currentURL.indexOf("gyazo") == -1) | |
| return; | |
| console.log(currentURL.split("/")); | |
| var src = "http://i.gyazo.com/" + currentURL.split("/").pop() + ".png"; | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("GET", "http://qps.ru/api?url=" + src + "&format=text", true); | |
| xhr.onreadystatechange = function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kAudioFormatMPEG4AAC | |
| kAudioFormatAppleLossless | |
| kAudioFormatAppleIMA4 | |
| kAudioFormatiLBC | |
| kAudioFormatULaw | |
| kAudioFormatLinearPCM |