- Open the windows terminal and create a text file:
C:> echo The quick brown fox > fox.txt
This command saves the echoed string to a text file called fox.txt
$getPath = $args[0] | |
if($getpath -eq $null){ write-host "No path provided" exit(1) } | |
#recursively searches through a path and grabs the data streams | |
$streams = Get-ChildItem -Path $getPath -Recurse | Get-Item -Stream * | |
foreach($item in $streams) { | |
$s = $item.Stream.Trim() |
{ | |
"Status": "Run", | |
"TimeLineHandlers": [ | |
{ | |
"HandlerType": "BrowserFirefox", | |
"HandlerArgs": { | |
"isheadless": "false", | |
"blockimages": "true", | |
"blockstyles": "true", | |
"blockflash": "true", |
import pandas as pd | |
def determine_optimal_elbow(vals): | |
elbow_data = pd.DataFrame(columns=['index', 'k', 'delta']) | |
last = None | |
i = 0 | |
for x in vals: | |
if (last is None): | |
last = x |
import requests | |
import json | |
import os | |
import shutil | |
import time | |
my_mm_server = "some.machine.com" | |
url = "https://{}/api/v4/emoji".format(my_mm_server) |
#!/usr/bin/env python3 | |
import requests | |
import json | |
import os | |
host = "http://localhost:52388/" | |
# --- |