Skip to content

Instantly share code, notes, and snippets.

{
"status": "inactive",
"rating": {
"hero_rank": 0.0
},
"published_product_catalog": null,
"draft_product_catalog": {
"url": "http://uapi.lab14.lymph-mesos.heroeslabs.net/product-catalogs/89d68b1c-18b6-49b1-9dd0-f73359985cfc/",
"id": "89d68b1c-18b6-49b1-9dd0-f73359985cfc"
},
sergiibezliudnyl@Sergiis-MacBook-Pro launchpad (master) $ launchpad --config ../labs/lab3.yml landscape deploy lab3
[2015-09-29 14:27:35,125] INFO [main.deploy():110] Deploying landscape from repo
[2015-09-29 14:27:38,207] WARNING [landscape.get_running_landscape():57] Status code "404" when getting running landscape. Message: "Group '/lab3' does not exist"
[2015-09-29 14:27:40,288] INFO [landscape._continue_deploy():89] Will deploy. Landscape change:
[]
--->
- {owner: delivero, revision: v0.8.0, service: dhh-storage}
'use strict';
var React = require('react');
var Immutable = require('immutable');
var _ = require('lodash');
var connectToStores = require('../../../../decorators/connect-to-stores.jsx');
var Dropdown = require('react-select');
var Variants = React.createClass({
contextTypes: {
@sbezludny
sbezludny / uri.js
Created January 28, 2014 09:40 — forked from jlong/uri.js
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
import sublime, sublime_plugin, os
class ConvertToTabsOnSave(sublime_plugin.EventListener):
def on_pre_save(self, view):
if view.settings().get('convert_to_tabs_on_save') == 1:
view.window().run_command('unexpand_tabs', {"set_translate_tabs": False})

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
@sbezludny
sbezludny / zip.targets
Last active December 27, 2015 04:09
Zip project output
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Simple ZIP task that utilize .NET 4.5 Zip Compression -->
<!--
Example
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion="4.0" DefaultTargets="Sample" >