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 EPiServer.Core; | |
using EPiServer.PlugIn; | |
using EPiServer.SpecializedProperties; | |
using EPiServer.Web.PropertyControls; | |
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Web.UI.WebControls; | |
namespace Namespace.Path.In.Project |
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
#!/usr/bin/perl | |
use RPC::XML; | |
use RPC::XML::Client; | |
use Data::Dumper; | |
use Encode; | |
my $apiurl = 'https://api.loopia.se/RPCSERV'; | |
my $apiusr = ' API USERNAME '; | |
my $apipwd = 'API PASSWORD '; |
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
/** | |
* | |
* PLUGIN: jquery.geocode | |
* BY: Mattias Norell | |
* VERSION: 0.9.3 (based on jQuery 1.4.4) | |
* BROWSERS: Safari 4, Chrome 7, IE9, Firefox 4 | |
* ABOUT: Display a GoogleMap, geocoded | |
* HOW-TO: $(div).geocode({adress:"street,city",zoom:16}); | |
* |
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 | |
from=$SMS_1_NUMBER | |
echo "Hello world!" | sudo gammu sendsms TEXT "$from" |
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 | |
from=$SMS_1_NUMBER | |
message=$SMS_1_TEXT | |
reply="" | |
if test "$message" = "Ping"; then | |
reply="Pong!" | |
else | |
reply="Y U NO PLAY PING PONG?" | |
fi |
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 | |
sendto="0123456789" | |
message=$SMS_1_TEXT | |
from=$SMS_1_NUMBER | |
echo "$from\n$message" | sudo gammu sendsms TEXT "$sendto" |
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 | |
message=$SMS_1_TEXT | |
if test "$message" = "shutdown"; then | |
/sbin/shutdown -h now | |
fi |
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.Web.Mvc; | |
using EPiServer; | |
using EPiServer.Core; | |
using EPiServer.Shell.Gadgets; | |
using Ionic.Zip; | |
namespace Website.Web.Gadgets.Controllers |
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
@model IEnumerable<EPiServer.DataAbstraction.ContentType> | |
@{ | |
Layout = null; | |
} | |
@Html.Partial("PageTypeTablePartial", Model) |
OlderNewer