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
#!/bin/sh | |
# gratisdns.sh - A GratisDNS.dk DDNSd module for Synology DSM | |
# | |
# Author: | |
# Brian Schmidt Pedersen (http://blog.briped.net) | |
# | |
# Version: | |
# 1.3.5 |
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
<?php | |
/* | |
Plugin Name: Status Press Widget | |
Plugin URI: http://www.briandgoad.com/blog/status-press-widget/ | |
Description: Adds a Widget to display your Facebook/Twitter/Last.FM/Pownce status in your sidebar. | |
Version: 1.14 | |
Author: Brian D. Goad | |
Author URI: http://www.briandgoad.com/blog | |
*/ | |
/* |
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
Function Create-Password { | |
<# | |
.SYNOPSIS | |
Create-Password creates a random password | |
.DESCRIPTION | |
This function is used to create random passwords. You can specify what | |
character types (lowercase letters, uppercase letters, numbers and symbols) | |
as well as the minimum amount of those character types. |
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
deployment.system.config=file\:C\:/Windows/Sun/Java/Deployment/deployment.properties | |
deployment.system.config.mandatory=true |
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
Param( | |
$Username = "user", | |
$Password = "pass", | |
$Domainname = "domain", | |
$Hostname = "host" | |
) | |
$UpdateURL = "https://ssl.gratisdns.dk/ddns.phtml?u=$Username&p=$Password&d=$Domainname&h=$Hostname" | |
$ScriptPath = $script:MyInvocation.MyCommand.Path | |
$IPCacheFile = $ScriptPath.Substring(0,$ScriptPath.LastIndexOf(".")) + "-CachedIP.txt" |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
Param( | |
[parameter(Mandatory=$true, | |
HelpMessage="Enter AD group to move from.")] | |
[string] | |
$SourceGroup, | |
[parameter(Mandatory=$true, | |
HelpMessage="Enter AD group to move to.")] | |
[string] | |
$TargetGroup | |
) |
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
Param( | |
[parameter(Mandatory=$true, | |
HelpMessage="Enter one or more AD groups to merge/copy from.")] | |
[string[]] | |
$SourceGroups, | |
[parameter(Mandatory=$true, | |
HelpMessage="Enter AD group to merge/copy to.")] | |
[string] | |
$TargetGroup, | |
[parameter(Mandatory=$false, |
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
#!/bin/bash | |
clear | |
if [ $# -lt 2 ]; then | |
echo "usage: $0 -i inputIpaFile -p provisioning [-c replacementIconFile] [-n 'name to display'] [-b bundleId] [-o outputIpa]" >&2 | |
exit 1 | |
fi | |
function abspath() { | |
python -c "import os; print os.path.abspath(\"$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
-- | |
-- Tellstick Switch Handler | |
-- Created by: Brian Schmidt Pedersen (@briped) | |
-- | |
-- The device names from the Tellstick MUST be the same as the device names | |
-- defined in domoticz, or this script will not work. | |
-- | |
-- The script is hacked together from several sources, without any knowledge of | |
-- Lua, so just about everything can probably be done better than my attempt. | |
-- This also means that no support is given beyond the comments found in this |
OlderNewer