-
Create Ubuntu server instance under Parallels (obviously).
-
Start VM, goto Actions - Install Parallels Tools... to mount the ISO image.
- Note: if this fails, or updating tools for an existing guest you can do the following:
- Goto
Devices
>CD/DVD 1
>Connect Image...
. - Select the following ISO image:
/Applications/Parallels Desktop/Contents/Resources/Tools/prl-tools-lin.iso
. - This will mount the tools CD image.
-
From the terminal, run the following commands:
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
@echo off | |
rem Uninstall MSI application via Product-Key GUID Lookup. | |
rem Modified from original source: http://stackoverflow.com/q/30790561 | |
rem Extract Product Key GUID for provided product name wildcard ('%%b'), before performing silent uninstall. | |
for /f "skip=1 delims=" %%a in ( | |
'wmic product where "Name like '%%INSERT_PRODUCT_NAME_WILDCARD%%'" get identifyingnumber' | |
) do @for /f "delims=" %%b in ("%%a") do msiexec /x %%b /qb |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Poller |
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
import requests | |
REGISTRY_URL = "http://<HOST>/v2/" | |
proxies = { | |
"http": None, | |
"https": None, | |
} | |
def get_repositories(): |
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
import pandas as pd | |
# 'reset_index' is required to turn a multi-level index back into columns. | |
df.groupby([pd.Grouper(key='my_date_column', freq='1D'), 'my_categorical_column']).count().reset_index() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer