Description
This widget displays the current time as an analog clock
Usage:
In erb file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
#requires -version 6.1 | |
Function Send-ToPSGridView { | |
<# | |
.SYNOPSIS | |
Send objects to Out-Gridview in Windows PowerShell | |
.DESCRIPTION | |
This command is intended as a workaround for PowerShell Core running on a Windows platform, presumably Windows 10. PowerShell Core does not support all of the .NET Framework which means some commands like Out-Gridview are not supported. However, on a Windows desktop you are most likely running Windows PowerShell side by side with PowerShell Core. This command is designed to take objects from a PowerShell expression and send it to an instance of Windows PowerShell running Out-Gridview. You can specify a title and pass objects back to your PowerShell Core session. Note that passed objects will be deserialized versions of the original objects. | |
.PARAMETER Title |
[ req ] | |
default_bits = 2048 | |
distinguished_name = req_distinguished_name | |
req_extensions = req_ext | |
[ req_distinguished_name ] | |
countryName = US | |
stateOrProvinceName = Florida | |
localityName = Orlando | |
organizationName = Acme Corporation | |
commonName = 172.20.48.1 |
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |
Description
This widget displays the current time as an analog clock
Usage:
In erb file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
#### Jekyll Layout: /_layouts/.htaccess | |
# Apache Configuration File | |
{% if ((page.auth_dir.users != empty) or (page.auth_dir.groups != empty)) %} | |
AuthName "Privater Bereich" | |
AuthType Basic | |
# => mehrere Require Blocks werden geodert: http://d43.me/blog/1157 | |
AuthzUserAuthoritative Off | |
AuthUserFile {{ page.auth_remote_user_file }} |
This is a dashing job to find users' availability in their Exchange calendar and puts it on a dashboard.
Note: I am not a rubyist. I'd certainly welcome some idiomadicy lessons in the comments.
Drop ews-availability.rb
in jobs/
(or dashing install b084fa409966f22badaf
), and add the following settings to config.ru
:
# This script has to be run as a root user | |
echo "* Updating system" | |
apt-get update | |
apt-get -y upgrade | |
echo "* Installing packages" | |
apt-get -y install build-essential libmagickcore-dev imagemagick libmagickwand-dev libxml2-dev libxslt1-dev git-core nginx redis-server curl nodejs htop | |
id -u deploy &> /dev/null | |
if [ $? -ne 0 ] |
A Dashing widget that checks whether a server is responding to either an http or ping request using smaller squares to represent its status.
This is based off of the Server Status widget that willjohnson developed but modified to work across multiple squares rather than be one square with a list.
The widget updates the appropriate squares color upon determining its status. Statuses are as follows: