start new:
tmux
start new with session name:
tmux new -s myname
"meta": { | |
"errorCode": 0, | |
"errorMsg": "", | |
"max_results": 10, | |
"statusCode": 200, | |
"statusMsg": "OK" | |
}, | |
"response": { |
# Workflow from https://github.com/necolas/dotfiles | |
# Add the new submodule | |
git submodule add git://example.com/remote/path/to/repo.git vim/bundle/one-submodule | |
# Initialize the submodule | |
git submodule init | |
# Clone the submodule | |
git submodule update | |
# Stage the changes | |
git add vim/bundle/one-submodule |
<select id="CategoryList" onchange="CategoryList_OnChange()"> | |
<option value="" selected="selected"></option> | |
<option value="1" selected="selected">Food</option> | |
<option value="2" selected="selected">Toys</option> | |
<option value="3" selected="selected">Books</option> | |
</select> | |
<select id="ProductList"></select> | |
<script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script> |
#! /usr/bin/perl -w | |
use strict; | |
my $since; | |
if ($ARGV[0]) { | |
$since = $ARGV[0]; | |
} else { | |
$since = "1 week ago"; | |
} |
Given an integer, and a range of integers (both positive and negative) as input.
We need to calculate the possible combinations of the integers from the range that add up to the given integer.
For example:
Integer: 5
Range: -1, 0, 1, 2, 3, 4