This file contains hidden or 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
[AllowAnonymous] | |
[HttpGet] | |
public HttpResponseMessage GetAllMessages() | |
{ | |
try | |
{ | |
//Load Data Into List | |
var mm = new MessageManager(); | |
List<Message> msgs = mm.GetAllMessages(); |
This file contains hidden or 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
var imageFolder = Folder.selectDialog("Select a folder to process"); | |
var fWidth = prompt("Width", "1000", "Width2"); | |
var fHeight = prompt("Height", "1000", "Height2"); | |
var fQuality = prompt("Quality 1-100", "70", "Quality2"); | |
if (imageFolder != null) processFolder(imageFolder); | |
function processFolder(folder) { |
This file contains hidden or 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 LinqToTwitter; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
namespace Christoc.Modules.DNNSearchTest.Components | |
{ | |
public class TwitterManager |
This file contains hidden or 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
https://www.instagram.com/purple_creative_studio/media/ | |
https://www.instagram.com/p/BYNer4pj92z/media/?size=l | |
https://www.instagram.com/p/BYNer4pj92z/media/?size=t | |
2018 Version: | |
https://www.instagram.com/purple_creative_studio/?__a=1 |
This file contains hidden or 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 Andrew.Modules.xxx.Models; | |
using DotNetNuke.Common.Utilities; | |
using DotNetNuke.Entities.Modules; | |
using DotNetNuke.Services.Exceptions; | |
using System; | |
using System.IO; | |
using System.Net; | |
namespace Andrew.Modules.xxx.Components | |
{ |
This file contains hidden or 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
/App_Data/_imagecache | |
/App_Data/ClientDependency | |
/Portals/_default/Logs | |
/App_Data/Search | |
/App_Data/Search/segments.gen | |
/DesktopModules/ToSIC_SexyContent/Upgrade/Log | |
/imagecache |
This file contains hidden or 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
http://10.51.51.91/api/2sxc/app/Rondo-Trip/query/Filter by Continent | |
http://10.51.51.91/api/2sxc/app/Rondo-Trip/query/Filter by Continent?Continent=Europe | |
http://10.51.51.91/api/2sxc/app/Rondo-Trip/content/Trip-Content | |
http://10.51.51.91/api/2sxc/app/Rondo-Trip/content/Trip-Content/1086 | |
https://github.com/2sic/2sxc/wiki/webapi | |
https://2sxc.org/en/blog/post/new-2sxc-7-using-visual-query-webapi-updated | |
Might need to enable CORS on IIS if trying to access data remotely: |
This file contains hidden or 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
@{ | |
string imgURL = cont.image + "?w=300&h=300&mode=crop&scale=both"; | |
string placeholderURL = "/Portals/0/Graphics/Rondo-Placeholder-300.png"; | |
} | |
<img src='@(cont.Image ==null ||cont.Image == "" ? placeholderURL : imgURL)'/> |
This file contains hidden or 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
<div class="pull-right account-tab"> | |
<dnn:login runat="server" id="dnnLogin" /> | <% if (!Request.IsAuthenticated) { %> | |
<a href="/SwaledaleRegistration?returnurl=<%= HttpUtility.UrlEncode(HttpContext.Current.Request.RawUrl) %>">Register</a> <i class="fa fa-user"></i> | |
<% } else{ %> | |
<a href="/Activity-Feed/">My Profile</a> <i class="fa fa-user"></i> | |
<%} %> | |
</div> |
This file contains hidden or 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
<?xml version="1.0" encoding="windows-1252"?> | |
<!-- WARNING, WARNING, WARNING --> | |
<!-- REMEMBER THAT IF YOU MODIFY THE TARGETS FILE YOU NEED TO CLOSE/OPEN THE PROJECT FOR THE CHANGES TO TAKE EFFECT --> | |
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project="MSBuild.Community.Tasks.Targets" /> | |
<Target Name="PackageModule" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
<XmlRead Prefix="n" | |
Namespace="http://schemas.microsoft.com/developer/msbuild/2003" |