wip Works in progress; stuff I know won't be finished soon
feat Feature I'm adding or expanding
bug Bug fix or experiment
junk Throwaway branch created to experiment
This file contains 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
mkdir [project] | |
cd [project] | |
pipenv shell | |
pipenv install Django | |
python | |
>>> import django | |
>>> print(django.get_version()) | |
python -m django --version | |
-
Download the Android SDK Platform Tools.
-
To
pull
a directory from the device run the below command.\adb.exe pull -a /sdcard/Download/dir C:\Temp\
-
To
push
the directory run the below command.
.\adb.exe push -sync C:\Temp\dir /sdcard/Download/
This file contains 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
/* Use function like this | |
Folder.Files(FilePath()) | |
*/ | |
= () => let | |
/* Source = File_Path, (Replace this line with the one below) */ | |
Source = Excel.CurrentWorkbook(){[Name="File_Path"]}[Content], // File_Path is range name | |
Path = Source{0}[Column1] // Column1 is the name of the source table column | |
in | |
Path |
This file contains 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
For ($i=0; $i -le 10; $i++) { | |
Start-Sleep -Milliseconds 1 | |
Write-Progress -Id 1 -Activity "First Write Progress" -Status "Current Count: $i" -PercentComplete (($i/10)*100) -CurrentOperation "Counting ..." | |
For ($j=0; $j -le 10; $j++) { | |
Start-Sleep -Milliseconds 1 | |
Write-Progress -Id 2 -Activity "Second Write Progress" -Status "Current Count: $j" -PercentComplete (($j/10)*100) -CurrentOperation "Counting ..." | |
For ($k=0; $k -le 20; $k++) { | |
Start-Sleep -Milliseconds 1 |
This file contains 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
<# | |
.Synopsis | |
Displays a progress bar with ETA | |
.DESCRIPTION | |
Long description | |
.EXAMPLE | |
Example of how to use this cmdlet | |
Display-Progress -Id 1 -Count $i -Total $total -Activity "Exporting $($item.TestType)" | |
#> |
This file contains 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
# Data Source | |
$items = 1..85 | |
# Loop | |
$items | ForEach-Object ` | |
-Begin { | |
# Initialize Tracking | |
$total = $items.Count | |
$start = Get-Date | |
$i = 0 |
This file contains 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
;; Calva depends on nREPL and Cider nREPL middleware | |
;; Clojure | |
{:repl {:plugins [[cider/cider-nrepl "0.21.2-SNAPSHOT"]] | |
:dependencies [[nrepl "0.6.0"]]}} | |
;; ClojureScript | |
{:repl {:plugins [[cider/cider-nrepl "0.21.2-SNAPSHOT"]] | |
:dependencies [[nrepl "0.6.0"] | |
[cider/piggieback "0.4.0"] | |
[figwheel-sidecar "0.5.18"]] |
NewerOlder