This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Xml; | |
namespace DOC_ZIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void RunEvalProcess(DiscordMessage invoker, string code, string langcode, DiscordEmbedBuilder builder, Action<DiscordEmbedBuilder, JToken> action) | |
{ | |
Stopwatch watch = Stopwatch.StartNew(); | |
try | |
{ | |
string evalExePath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Tools", "WamBotEval.exe"); | |
if (File.Exists(evalExePath)) | |
{ | |
Process evalProcess = new Process(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DSharpPlus; | |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (var a in p.CustomAttributes) | |
{ | |
Type at = a.AttributeType; | |
if (!at.Namespace.StartsWith("System.Runtime.InteropServices")) | |
{ | |
b.Append("["); | |
string name = at.Name; | |
b.Append(name.Substring(0, name.Length - 9)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.player-container { | |
display: flex; | |
width: 100%; | |
justify-content: center; | |
} | |
.player { | |
display: flex; | |
flex-direction: column; | |
margin: 1em 0em 0.5em 0em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid Margin="10"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"/> | |
<RowDefinition Height="Auto"/> | |
</Grid.RowDefinitions> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="auto"/> | |
<ColumnDefinition Width="1*"/> | |
</Grid.ColumnDefinitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Object Set importer for Dash Engine | |
# | |
# This script loads *.set.xml files from Hedgehog Engine games (Unleashed, Generations) into | |
# the currently loaded level, keeping position and rotation | |
# | |
# Authored by WamWooWam, licenced under the MIT Licence | |
# | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// only buttons i care about | |
const UP = 12; | |
const DOWN = 13; | |
const LEFT = 14; | |
const RIGHT = 15; | |
const A = 0; | |
const B = 1; | |
const START = 9; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest"> | |
<Identity Name="c10c1bc2-db82-4f92-83d9-3291a20a16fa" Publisher="CN=wamwo" Version="1.0.0.0" /> | |
<Properties> | |
<DisplayName>CppWinRTTest</DisplayName> | |
<PublisherDisplayName>Wan Kerr Co. Ltd.</PublisherDisplayName> | |
<Logo>Assets\StoreLogo.png</Logo> | |
</Properties> | |
<Resources> | |
<Resource Language="en-us"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DangerBin.cpp : Plays audio at an increasing volume the nearer the pointer is to the Recycle Bin. | |
// Compile with anything targeting the Windows 8.1 SDK or later | |
#include <iostream> | |
#include <wrl.h> | |
#include <shlobj.h> | |
#include <exdisp.h> | |
#include <comutil.h> | |
#include <roapi.h> | |
#include <shlwapi.h> |
OlderNewer