To "un-checkout" some <path> from working directory:
svn update --set-depth exclude <path>
More on this: svn update --set-depth exclude
| 0 = Success | |
| 1 = Operation not permitted | |
| 2 = No such file or directory | |
| 3 = No such process | |
| 4 = Interrupted system call | |
| 5 = Input/output error | |
| 6 = No such device or address | |
| 7 = Argument list too long | |
| 8 = Exec format error |
| // Place your key bindings in this file to override the defaultsauto[] | |
| [ | |
| { | |
| "key": "alt+i", | |
| "command": "workbench.files.action.focusFilesExplorer" | |
| }, | |
| { | |
| "key": "alt+i", | |
| "command": "workbench.action.focusActiveEditorGroup", | |
| "when": "filesExplorerFocus" |
| /* | |
| From: https://leetcode.com/problems/divide-chocolate/ | |
| NOTE: very similar to: https://leetcode.com/problems/split-array-largest-sum/solution/ | |
| You have one chocolate bar that consists of some chunks. Each chunk has its own | |
| sweetness given by the array sweetness. | |
| You want to share the chocolate with your K friends so you start cutting the chocolate | |
| bar into K+1 pieces using K cuts, each piece consists of some consecutive chunks. | |
| Being generous, you will eat the piece with the minimum total sweetness and give the | |
| other pieces to your friends. | |
| Find the maximum total sweetness of the piece you can get by cutting the chocolate bar optimally. |
| #!/bin/bash -ex | |
| # Taken from https://unix.stackexchange.com/a/353639 | |
| CONFIG="default.json" | |
| REBUILD="false" | |
| for ARGUMENT in "$@" | |
| do | |
| KEY=$(echo $ARGUMENT | cut -f1 -d=) | |
| VALUE=$(echo $ARGUMENT | cut -f2 -d=) |
| import java.lang.*; | |
| import java.util.*; | |
| // https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd27/000000000020993c | |
| public class Solution { | |
| public static void main(String[] args) { | |
| Matrix[] ms = null; | |
| try (Scanner sc = new Scanner(System.in)) { | |
| int T = sc.nextInt(); | |
| ms = new Matrix[T]; |
| import java.lang.*; | |
| import java.util.*; | |
| // https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd27/0000000000209a9f | |
| public class Solution { | |
| public static void main(String[] args) { | |
| String[] strs = null; | |
| try (Scanner sc = new Scanner(System.in)) { | |
| int T = sc.nextInt(); | |
| sc.nextLine(); |
| import java.lang.*; | |
| import java.util.*; | |
| // https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd27/000000000020bdf9 | |
| public class Solution { | |
| public static void main(String[] args) { | |
| Case[] cases = null; | |
| try (Scanner sc = new Scanner(System.in)) { | |
| int T = sc.nextInt(); | |
| cases = new Case[T]; |
| import java.lang.*; | |
| import java.util.*; | |
| /** Compile and run it with a command: | |
| $ javac Solution.java && python interactive_runner.py python local_testing_tool.py 0 -- java Solution | |
| Use 0, 1, 2 - different test sets. | |
| Source https://codingcompetitions.withgoogle.com/codejam/round/000000000019fd27/0000000000209a9e | |
| */ | |
| public class Solution { | |
| private enum Fluct { |