Skip to content

Instantly share code, notes, and snippets.

@aheadley
aheadley / rb1.md
Last active October 1, 2024 21:39
Hyperdimension Neptunia Rebirth: Item Locations

Rebirth 1 (no DLC)

Name HP Drops XP Credits
Virtua Forest --- --- --- ---
Dogoo 666 [Dogoo Jelly] 2 1
Tulip 700 [Yellow Petal] 3 4
Dogoo-Man 850 [Dogoo-Man Jelly] 5 5
Boxer-X 1216 [Boxer-X Soul] 8 12
Monster Cave --- --- --- ---
@ePirat
ePirat / spec.md
Last active June 3, 2025 09:41
Icecast Protocol specification

Icecast protocol specification

What is the Icecast protocol?

When speaking of the Icecast protocol here, actually it's just the HTTP protocol, and this document will explain further how source clients need to send data to Icecast.

HTTP PUT based protocol

Since Icecast version 2.4.0 there is support for the standard HTTP PUT method. The mountpoint to which to send the data is specified by the URL path.

@ceee
ceee / AudioBackgroundTask.cs
Created July 17, 2014 15:42
Memory efficient TTS background audio in WinRT
using Newtonsoft.Json;
using Poki.Utilities;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
@vitorbritto
vitorbritto / regex.md
Last active December 26, 2025 09:55
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping
@richardszalay
richardszalay / BackgroundAudioPlayerDefensiveExtensions.cs
Last active January 4, 2016 02:09
Adds some extension methods to BackgroundAudioPlayer to work with the exceptions it commonly throws.
/*
Copyright (C) 2013 Richard Szalay
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 copies of the Software, and to permit persons to whom the
Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
@ssstonebraker
ssstonebraker / sed cheatsheet
Created August 2, 2013 14:06 — forked from un33k/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@AzureKitsune
AzureKitsune / wifi-network-shower.ps1
Created July 2, 2013 16:29
Wraps 'netsh wlan show networks' to print out the available wifi networks.
$procInfo = New-Object -TypeName "System.Diagnostics.ProcessStartInfo"
$procInfo.UseShellExecute = 0
$procInfo.Filename = "netsh"
$procInfo.Arguments = "wlan show networks mode=bssid"
$procInfo.CreateNoWIndow = 1
$procInfo.RedirectStandardOutput = 1
$proc = [System.Diagnostics.Process]::Start($procInfo)
#$proc.WaitForExit()
@dotMorten
dotMorten / HttpGZipClientHandler.cs
Last active May 8, 2018 19:38
GZip support for PCL HttpClient. Create HttpClient using: HttpClient client = new HttpClient(new HttpGZipClientHandler());
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace SharpGIS.Http
{
public class HttpGZipClientHandler : HttpClientHandler
{
@anaisbetts
anaisbetts / MainPage.xaml
Created December 20, 2012 08:32
Akavache WP8 sample, File => New Project (basic WP8 app), paste in this, add NuGet package for Akavache
<phone:PhoneApplicationPage
x:Class="AkavacheWP8.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
@markheath
markheath / MP3StreamingPanelPlugin.cs
Created August 9, 2012 07:06
NAudio Demo modified to play ShoutCast (courtesy of Stephen Cole)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using NAudio.Wave;
using System.Net;
using System.Threading;