Skip to content

Instantly share code, notes, and snippets.

View Yodapp's full-sized avatar
🏠
Working from home

Daniel Nordmark Yodapp

🏠
Working from home
View GitHub Profile
@Yodapp
Yodapp / main.cs
Created October 14, 2018 13:56
NASA APoD - WOX Plugin
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 October 14, 2018 13:22
Prisjakt - WOX plugin
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 September 30, 2018 19:34
Skeleton of a WOX plugin
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 September 24, 2018 09:13 — forked from RickardPettersson/gist:c95f78402d2d59552732
C# hjälp class för Swish API för e-handel, fungerande
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 March 11, 2018 15:01
How to include UserGuiding in Wordpress admin area
/**
* LOAD USERGUIDE ON ADMIN AREA
*/
add_action( 'admin_enqueue_scripts', function() {
wp_enqueue_script( 'userguiding', get_template_directory_uri() . '/userguiding.js', false );
} );