Skip to content

Instantly share code, notes, and snippets.

@rudism
rudism / qutebrowser-pinboard.sh
Created Mar 30, 2017
Qutebrowser userscript to add current page to Pinboard.in bookmarks
View qutebrowser-pinboard.sh
#!/bin/sh
# Uncomment and add your pinboard token here or export it globally somewhere
# PINBOARD_API_TOKEN="username:token"
# Put this file in ~/.local/share/qutebrowser/userscripts and chmod +x
# Run it from Qutebrowser with :spawn --userscript qutebrowser-pinboard.sh
# Bind it to "A" key with :bind --mode normal A spawn --userscript qutebrowser-pinboard.sh
API_HOST="https://api.pinboard.in/v1"
View humble-mobile-bundle-gamepad.md

Humble Bundle Android Gamepad Compatibility

I've tested all the Humble Mobile Bundle games I own with the controller and mapping software on my GPD-XD. There might be some games missing because I haven't bought every bundle, and didn't pay enough to unlock all of the games on some of the bundles I did buy.

Full native gamepad support, playable with no touch/mouse (including menus):

  • Anomaly 2
  • Another World
  • Aquaria
  • Badland
View select-enum.cs
namespace selectenum
{
using ServiceStack.DataAnnotations;
using ServiceStack.OrmLite;
using ServiceStack.Text;
enum MyEnum
{
FirstValue,
SecondValue
View testattr.cs
namespace testattr
{
using System;
using Funq;
using ServiceStack;
using ServiceStack.Web;
using ServiceStack.Text;
class AppHost : AppSelfHostBase
{
View gist:c11c2ed21452ddddb6d0
namespace RequestFilterTest
{
using System;
using Funq;
using ServiceStack;
using ServiceStack.Text;
using ServiceStack.Web;
// simple app host with a global request filter
public class AppHost : AppSelfHostBase
View gist:497970d4d189af9857c2
namespace MoqTest
{
using System;
using Moq;
public interface IMockMe
{
string HelloWorld<T> ();
}