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
| setlocal enabledelayedexpansion | |
| set var=%1 | |
| set output= | |
| for /f "delims=" %%a in ('git diff-tree --no-commit-id --name-only -r %1^^') do ( set output=!output! "%%a" ) | |
| git archive -o update-%var:~0,7%.zip HEAD %output% | |
| endlocal |
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
| ######################################################### | |
| ################# Enter Values Here ##################### | |
| ######################################################### | |
| zipcode = 13775 | |
| pages = 100 | |
| data_name = "new3" | |
| ######################################################### |
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
| # pretty sudo prompt | |
| read -r -d '' SUDOPROMPT << EOM | |
| πΊπ³πΈπ·π·πΈπ»π·π·πΈπΈπΈπΈπ·πΌπ·π³πΊπΌπΊπΈπ»πΌπΌπ³π³πΌπΊπ»π·ππ·πΌπ»π³πΈπ·π·π»πΈ | |
| πΈπ¦π»πΈπ³π·πΈπ·πΈπ³πΈπ»π³ππ»π·π·πΌπ»πΊπΊπ»πΌπ»π»πΌπΊπ»π³πΌπ³πΊπ³π·π»πΌπ·πΌπ»πΈ | |
| π³πΈπ»πΊπ»π³πΊπΊπ»πΊπΈπ»π·π·πΌπ»πΊπΌπ»π»π·π³π»πΈπ³π·π»π³π³π³π³πΌπ³π³πΊπ·π³πΊπ³πΊ | |
| π¦πΈπ»πΊπΊπ³πΈπΈπΌπ»πΊπΌπ·πΈπ³πΌπΊπΈπΊπ·π»π·πΊπΊπ³π·π·π°πΈπ»π³πΈπΌπ·πΌπ³π·πΉπΌπΊ | |
| π·π³π»πΈπΈπΌπ°π·πΊπ·πΊπ»π·πΈπΊπ»π³π»π·π»π»πΊπΈπΈπΊπ»πΈπ»π³π³π»π¦π»πΌπΌπ»π»πΊπ³π° | |
| πΌπ¦π»π³πΈπΈπ³π·πΊπΌπ³π·πΈπ»πΌπ»ππ»πΌπ·πΊπΌπΊπΈπΊπ¦π·πΈπ·π»π»πΊπΌπ·ππΈπ·πΌπΈπΉ | |
| πΈπ³π»πΌπ»π³πΈπ·πΊπ·π·πΌπ»π·π»πΊπΌπΌπ³πΈπ»π»πΈπΌπΌπΈπ³πΊπ»π»π³πΊπ·π°π»πΌπΉπ·π·π³ | |
| πΌπ·π»πΈπΌπ³π»π»π³π·πΌπ»πΊπΊπΊπΊπΊπ³π»πΌπ·πΈπΈπ»πΊπ»π³πΈπ·πΊπΊπΌπΈπΊπ»π»π·πΈπ»π· |
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
| using LinearAlgebra | |
| using BenchmarkTools | |
| using SparseArrays | |
| # To exploit the sparsity of the matrix as much as possible, pre-compile the multiplication operation | |
| # to skip the matrix entries look-up. Since the matrix is sparse this might generate only a few operations | |
| # which are all inlined. | |
| # Note that this only works with small matrices since otherwise the size of the function will just be to | |
| # large. | |
| # Note that this could also be avoided, but this is another topic. |
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
| using Plots | |
| using Unitful | |
| using DifferentialEquations | |
| using GeneralAstrodynamics | |
| using LazySets | |
| # Find a periodic orbit near Earth (orbit, period) | |
| Oβ, Pβ = halo(SunEarth; Az=100_000u"km", L=2) | |
| # Find a periodic orbit near Jupiter (orbit, period) |