I hereby claim:
- I am dallin on github.
- I am dallin (https://keybase.io/dallin) on keybase.
- I have a public key ASAlTXF-dRLYQmLl4IgkA7bpE7bn4FlhkwS7NElPTHbYDQo
To claim this, I am signing this object:
<script> | |
var windows = []; | |
// Show the modal window | |
function showModal(modal_id) { | |
// Get the modal | |
var modal = document.getElementById(modal_id); | |
// Show the modal | |
modal.style.display = "block"; |
I hereby claim:
To claim this, I am signing this object:
echo off & cls | |
:top | |
PING -n 1 192.168.1.1 | FIND "TTL=" | |
IF ERRORLEVEL 1 (SET OUT=4F & echo Request timed out.) ELSE (SET OUT=2F) | |
color %OUT% | |
ping -n 2 -l 10 127.0.0.1 >nul | |
GoTo top |
# Created by Dallin Hitchcock on January 8, 2019 | |
# Backs up $SourceDirectory or individual files that have been created since midnight | |
# Creates a zip file of the backups (name format yyyy-MM-dd.zip) | |
# Copies the zip file to $DestinationDirectory | |
# If the $KeepLast parameter is specified, only keeps that number of backups in $DestinationDirectory | |
param ( | |
[Parameter(Mandatory,ValueFromPipelineByPropertyname)] | |
[ValidateNotNullOrEmpty()] | |
[string]$SourceDirectory, |
// This snippet will pop up a window (with specified size) to add | |
// a record, then close the window when the changes are saved. | |
// Use: in a Formula URL field | |
var text attachAddressToParentRecordUrl = URLRoot()&"db/"&Dbid()&"?a=API_EditRecord&rid="&[Record ID#] | |
& "&usertoken=" & "b4pjvn_m6mu_bdjdqxauri75jbrvmm5csns4vh" | |
& "&apptoken=" & "cm3s4ptbfj6gchcsmr4t3x3228u" | |
& "&_fid_33="; | |
var text addAddressWindowUrl = URLRoot() & "db/" & "bp2hi954g" & "?a=nwr&_fid_22=" & [Related Patient]; | |
var number addAddressWindowWidth = 950; |
<?php | |
namespace App\Models\Concerns; | |
use Illuminate\Support\Str; | |
/** | |
* Model has a UUID primary key. | |
*/ | |
trait HasUuidPrimaryKey |
[ | |
{ | |
"code": "00283", | |
"name": "AARP (A United HealthCare Insurance Company)" | |
}, | |
{ | |
"code": "00344", | |
"name": "Absolute Total Care" | |
}, | |
{ |
This is useful if...
#!/bin/bash | |
database="" | |
username="" | |
password="" | |
backupdir="/home/forge/backups/mysql" | |
date=`date +%Y-%m-%d` | |
suffix="-${database}.sql.gz" | |
filename="${date}${suffix}" |
Import-Module ExchangeOnlineManagement | |
Connect-ExchangeOnline | |
New-DynamicDistributionGroup -Name "Everyone" -Alias "[email protected]" -RecipientFilter "RecipientTypeDetails -eq 'UserMailbox' -and Title -ne `$null -and UserAccountControl -ne 'AccountDisabled, NormalAccount'" |