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
from typing import Tuple, Callable, Iterable | |
from math import sqrt | |
from ortools.constraint_solver import pywrapcp | |
from ortools.constraint_solver import routing_enums_pb2 | |
Coordinates = Tuple[int, int] | |
Distance = int |
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 com.example.stactracetest; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
public class StackTraceTest extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); |
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
{ | |
"editor.minimap.enabled": false, | |
"files.autoSave": "onFocusChange", | |
"editor.cursorStyle": "block", | |
"editor.cursorBlinking": "smooth", | |
"clang.executable": "clang-3.8", | |
"window.menuBarVisibility": "toggle", | |
"workbench.welcome.enabled": 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
curl wttr.in/oxford |
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
git config --global alias.hist 'log --pretty=format:'%Cblue%h %C(yellow)%ad%Cred | %Creset%s%d %Cblue[%an]' --graph --date=short' | |
git config --global alias.ls 'log --pretty=format:"%C(yellow)%h%Cred%d | %Creset%s%Cblue [%cn]" --decorate' |
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
Vim: | |
:s/\(_\)\([a-z]\)\([a-z]\+\)/\u\2\3/gc | |
Sublime: | |
(_)([a-z])([a-z]+) | |
\u$2$3 |