This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
| (Dijkstra and plain A* are generally not included here as there are thousands of | |
| implementations, though I've made an exception for rare Ruby and Crystal versions, | |
| and for Thor, Mapzen's enhanced A*. ) | |
| A* Ruby https://github.com/georgian-se/shortest-path | |
| A* Crystal https://github.com/petoem/a-star.cr | |
| A* (bidirectional with shortcuts) C++ https://github.com/valhalla/valhalla | |
| NBA* JS https://github.com/anvaka/ngraph.path | |
| NBA* Java https://github.com/coderodde/GraphSearchPal | |
| NBA* Java https://github.com/coderodde/FunkyPathfinding |
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
| package main | |
| import ( | |
| "os/exec" | |
| ) | |
| func newCmd(imageFile, audioFile, outFile string) *exec.Cmd { | |
| return exec.Command("ffmpeg", | |
| "-r", "1", | |
| "-loop", "1", |
| import os | |
| def createFolder(directory): | |
| try: | |
| if not os.path.exists(directory): | |
| os.makedirs(directory) | |
| except OSError: | |
| print ('Error: Creating directory. ' + directory) | |
| //============================================================================ | |
| // Name : AdjacencyMatrixGraphImp.cpp | |
| // Author : Amritpal Singh | |
| // Copyright : arrayed.net | |
| // Description : Array based Adjacency Matrix Graph Implimentation | |
| //============================================================================ | |
| #include <iostream> | |
| #include <vector> | |
| #include <string> |
| // Related to https://issues.jenkins-ci.org/browse/JENKINS-26481 | |
| abcs = ['a', 'b', 'c'] | |
| node('master') { | |
| stage('Test 1: loop of echo statements') { | |
| echo_all(abcs) | |
| } | |
| stage('Test 2: loop of sh commands') { |
| package enum_example | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| ) | |
| // TaskState represents the state of task, moving through Created, Running then Finished or Errorred | |
| type TaskState int |
| # The initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
| " Default settings | |
| set number | |
| syntax enable | |
| set showmatch | |
| set encoding=utf-8 | |
| set nocompatible | |
| set paste | |
| set nowrap | |
| set tabstop=2 shiftwidth=2 | |
| set expandtab |
Use Python to: