Skip to content

Instantly share code, notes, and snippets.

View hwkr's full-sized avatar
🙈
GitHub has statuses now?

Brynn hwkr

🙈
GitHub has statuses now?
View GitHub Profile

This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about Swagger at http://swagger.io. In the third iteration of the pet store, we've switched to the design first approach! You can now help us improve the API whether it's by making changes to the definition itself or to the code. That way, with time, we can improve the API in general, and expose some of the new features in OAS3.

Month Savings
January $250
February $80
March $420
@hwkr
hwkr / auto-animate.tsx
Created July 27, 2022 17:51
Auto Animate Component
import { ElementType, HTMLAttributes } from "react";
import { useAutoAnimate } from "@formkit/auto-animate/react";
interface Props extends HTMLAttributes<HTMLElement> {
as?: ElementType;
}
export const AutoAnimate: React.FC<Props> = ({
as: Tag = "div",
children,
@hwkr
hwkr / namecheap-synology-ddns.php
Created April 21, 2017 06:58
Add custom DDNS provider for Namecheap on Synology NAS - ( The horrors )
#!/usr/bin/php -d open_basedir=/usr/syno/bin/ddns
<?php
/*
Usage Instructions ( Obviously your domain has to be hosted on Namecheap )
1) Copy this file to /usr/syno/bin/ddns/namecheap.php
2) Add the following entry in /etc.defaults/ddns_provider.conf
[Custom - Namecheap]
modulepath=/usr/syno/bin/ddns/namecheap.php
@hwkr
hwkr / #Stickers.md
Last active February 20, 2017 22:56
Info about the WebDev Sticker Challenge

WebDev Sticker Challenge

WebDev needs your help to make some awesome stickers for the WebDev Club.

But wait! I don't know anything about graphic design?!?!

That's okay! If you're comfortable using Illustrator or Photoshop you can but you can also just draw your ideas on paper and we'll polish it up if it wins.

Guidelines

@hwkr
hwkr / keybase.md
Created September 23, 2016 23:21
Keybase Proof

Keybase proof

I hereby claim:

  • I am hwkr on github.
  • I am hwkr (https://keybase.io/hwkr) on keybase.
  • I have a public key ASD3TtVlCzvf2pNCXDadYJPoVFf1OI_ROkrXNND0t9a_wQo

To claim this, I am signing this object:

@hwkr
hwkr / NotificationObjectBase.cs
Last active May 22, 2019 00:53
WPF MVVM Notification Object Base
public abstract class NotificationObjectBase : INotifyPropertyChanged
{
/// <summary>
/// Occurs when a property value changes.
/// </summary>
public virtual event PropertyChangedEventHandler PropertyChanged;
/// <summary>
/// This can be used to indicate that all property values have changed.
/// </summary>
@hwkr
hwkr / FacebookSelectAll.js
Created November 24, 2015 01:52
Facebook Select All
// You might have to change the class selector depending on what the
// current Facebook tags look like.
var x=document.getElementsByClassName("_1pu2");
for(var i=0;i<x.length;i++)
{
x[i].click();
}
alert('Done, all your friends have been selected');