Skip to content

Instantly share code, notes, and snippets.

View peppy's full-sized avatar

Dean Herbert peppy

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Text;
using osu.Audio;
using OpenTK.Graphics;
using osu.Graphics.Skinning;
using osu.Graphics.Sprites;
using osu.Graphics.Textures;
using osu_common;
using osu_common.Helpers;
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.GameModes.Testing;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Drawables;
using osu.Framework.Graphics.Sprites;
@peppy
peppy / .env
Last active June 15, 2016 10:35
ci env file
DB_HOST=127.0.0.1
DB_DATABASE=osu
DB_USERNAME=root
# DB_PASSWORD=
OSU_API_KEY=
CACHE_DRIVER=file
SESSION_DRIVER=file
INSERT INTO osu.osu_beatmapsets (beatmapset_id, user_id, thread_id, artist, artist_unicode, title, title_unicode, creator, source, tags, video, storyboard, epilepsy, bpm, versions_available, approved, approvedby_id, approved_date, submit_date, last_update, filename, active, rating, offset, displaytitle, genre_id, language_id, star_priority, filesize, filesize_novideo, body_hash, header_hash, osz2_hash, download_disabled, download_disabled_url, thread_icon_date, favourite_count, play_count, difficulty_names) VALUES (405053, 798668, 409296, 'Azusa Tadokoro', '田所あずさ', 'Junshin Always', '純真Always', 'Shad0w1and', '無彩限のファントム・ワールド', 'musaigen no phantom world myriad colors tv size anime opening ending cloudsplash16 little lami intoon zzhboy starrstyx aerous', 1, 0, 0, 180, 8, 1, 3621552, '2016-02-15 03:21:02', '2016-01-16 15:19:42', '2016-02-08 02:56:07', '405053.osz', 1, 9.45496, 0, '[bold:0,size:20]田所あずさ|純真Always', 3, 3, 20, 0, null, 0x7CCF1E3C52194C65DAF9F36A910F2347, 0xD159A700F97BF2DCFF2FB3A27F8E3BE7, 0x786953F
INSERT INTO osu.osu_beatmaps (beatmap_id, beatmapset_id, user_id, filename, checksum, version, total_length, hit_length, countTotal, countNormal, countSlider, countSpinner, diff_drain, diff_size, diff_overall, diff_approach, playmode, approved, last_update, difficultyrating, playcount, passcount, orphaned, youtube_preview) VALUES (889318, 405053, 798668, 'Azusa Tadokoro - Junshin Always (Shad0w1and) [Advanced].osu', '000af61ac36f4478cadc53cf77045125', 'Advanced', 89, 87, 318, 60, 129, 0, 4, 3.5, 5.5, 6.5, 0, 1, '2016-02-08 02:56:08', 2.34034, 6715, 1955, 0, null);
INSERT INTO osu.osu_beatmaps (beatmap_id, beatmapset_id, user_id, filename, checksum, version, total_length, hit_length, countTotal, countNormal, countSlider, countSpinner, diff_drain, diff_size, diff_overall, diff_approach, playmode, approved, last_update, difficultyrating, playcount, passcount, orphaned, youtube_preview) VALUES (889319, 405053, 798668, 'Azusa Tadokoro - Junshin Always (Shad0w1and) [Lami''s Extra].osu', '17c8cc1753ea26a214e321cb296
@peppy
peppy / bacontrace
Created December 15, 2015 08:04
bacontrace
0, combase.dll!Ordinal146+0xc6b5
1, combase.dll!RoReportCapabilityCheckFailure+0x10fda
2, combase.dll!RoReportCapabilityCheckFailure+0x10bf4
3, combase.dll!PropVariantClear+0x90c0
4, rpcrt4.dll!NdrInterfacePointerMemorySize+0x623
5, rpcrt4.dll!NdrStubCall2+0x430
6, rpcrt4.dll!NdrStubCall3+0xfd
7, combase.dll!CStdStubBuffer_Invoke+0x6b
8, combase.dll!Ordinal146+0x937c
9, combase.dll!Ordinal146+0x8ef5
@peppy
peppy / New Skinnable Samples
Last active July 26, 2016 01:50
samples 2016-02-17.txt
menu-play-click
menu-play-hover
menu-edit-click
menu-edit-hover
menu-options-click
menu-options-hover
menu-exit-click
NOTIFICATION OF COPYRIGHT INFRINGEMENT
Dear Dean Herbert,
On behalf of RIAJ member record companies ( hereinafter, the "Record
Companies"), I am hereby notifying you I have found URL addresses
registered under your service name OSU! containing programs
infringing the Copyrights of the Record Companies and request immediate
removal, or disable access to, the material uploaded on your web site as
follows.
@peppy
peppy / pWebRequest.cs
Created August 31, 2015 13:20
Broken code (AddFile fails with byte[] around 50k or more)
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Newtonsoft.Json;
namespace osu_common.Helpers
{
お世話になっております。
合同会社クローバーソフトウェア ALcot法務 ******です。
本日、弊社サポートに
「楽曲が無断でアップロードされている」
という問い合わせがございました。