Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Daniel Nordmark Yodapp

🏠
Working from home
View GitHub Profile
@Yodapp
Yodapp / main.cs
Created Oct 14, 2018
NASA APoD - WOX Plugin
View main.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Net;
using Wox.Plugin;
namespace WOX.Nasa.APOD
{
@Yodapp
Yodapp / main.cs
Created Oct 14, 2018
Prisjakt - WOX plugin
View main.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Wox.Plugin;
namespace WOX.Prisjakt
{
public class Main : IPlugin
{
private static string prisjaktQueryUrl = "https://www.prisjakt.nu/#rparams=ss=";
@Yodapp
Yodapp / main.cs
Created Sep 30, 2018
Skeleton of a WOX plugin
View main.cs
using System;
using System.Collections.Generic;
using Wox.Plugin;
namespace WOX.MyPlugin
{
public class Main : IPlugin
{
public void Init(PluginInitContext context)
{
@Yodapp
Yodapp / gist:78263e2ee2e92413f0f67e9a4cebd350
Created Sep 24, 2018 — forked from RickardPettersson/gist:c95f78402d2d59552732
C# hjälp class för Swish API för e-handel, fungerande
View gist:78263e2ee2e92413f0f67e9a4cebd350
using System;
using System.IO;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web;
namespace WebShop.Helpers
{
public class SwishAPIHelper
@Yodapp
Yodapp / functions.php
Created Mar 11, 2018
How to include UserGuiding in Wordpress admin area
View functions.php
/**
* LOAD USERGUIDE ON ADMIN AREA
*/
add_action( 'admin_enqueue_scripts', function() {
wp_enqueue_script( 'userguiding', get_template_directory_uri() . '/userguiding.js', false );
} );