Skip to content

Instantly share code, notes, and snippets.

@Nimdoc
Nimdoc / Plugin.php
Created October 31, 2023 20:36
Disable cookies on the frontend of WinterCMS - Plugin Registration file
<?php namespace Nimdoc\NoCookies;
/*
MIT License
Copyright (c) 2023 Tom Busby
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@Nimdoc
Nimdoc / stalinsort.c
Last active May 13, 2020 00:52
StalinSort
#include <stdio.h>
#include <stdlib.h>
struct node
{
int data;
struct node *next;
};