Note: This file is generated and macro titles are calculated as best as possible with data from input. This is also just a current snapshot, there's no guarantees that all of these macros work. =P
| '--------------------------------------' | |
| 'Script Name: totallynotavirus.vbs ' | |
| 'Author: Levi Von Haxor ' | |
| 'Purpose: Just a fun little prank ' | |
| ' simulating a malware attack ' | |
| '--------------------------------------' | |
| Set WshShell = WScript.CreateObject("WScript.Shell") | |
| Dim strName, info |
| public class DirectoryHelpers | |
| { | |
| public static int FileCount(string directory) | |
| { | |
| DirectoryInfo dirInfo = new(directory); | |
| return dirInfo.EnumerateDirectories().AsParallel() | |
| .SelectMany(di => di.EnumerateFiles("*.*", SearchOption.AllDirectories)).Count(); | |
| } | |
| public static int FileCount(string directory, SearchOption searchOption) | |
| { |
| #showtooltip shadow dance | |
| /use Cosmic Gladiator's Badge of Ferocity | |
| /cast Symbols of Death | |
| /cast Blood Fury | |
| /cast Shadow Dance | |
| #showtooltip | |
| /cast [@focus] shadowstep | |
| #showtooltip |
| SpellQueueWindow - 220 : Set to 100 above latency/ms | |
| /console SpellQueueWindow 220 |
| random beautiful landscape | |
| young woman, medium wavy red hair, slightly tanned, heroine, oil painting, portrait, intricate complexity, rule of thirds, in the style of Artgerm, character concept | |
| portrait of a cute mouse as knight in the style of charlie bowater, oil painting | |
| intricate colourfully painted carved wood paneling, dark souls, ivory and copper , artstation | |
| grey curly hair dutch man danny hollander dannyjevriend Studio Ghibli painterly style, portrait symetrical –iw 2 | |
| pixel art explosion, painterly | |
| The Entrance to Kingdom of Shangri-La, Beautiful architecture, Atmosphere, Dramatic lighting, Epic composition, Close up, Low angle, Wide angle, by Miyazaki, Nausicaa Ghibli, Breath of The Wild | |
| winter,snow,In the dense primeval forest there was a pool of water after the rain,Crystal butterfly,The light from the cracks of the trees shone on the pool like a mirror, and deep snow covered the land,sun light,concept, art, fantasy,Ghibli, Hayao Miyazaki,4k,cinematic, | |
| handsome anime dragon in Amazon rainforest, dn |
| using Microsoft.Extensions.DependencyInjection; | |
| public interface IProgram | |
| { | |
| public const int DefaultExitCode = 0; | |
| public const int TimeoutExitCode = 124; | |
| private static TProgram DefaultProgramFactory<TProgram>(IEnumerable<string> _) | |
| where TProgram : IProgram | |
| { |
I want Microsoft to do better, want Windows to be a decent development platform-and yet, I constantly see Microsoft playing the open source game: advertising how open-source and developer friendly they are - only to crush developers under the heel of the corporate behemoth's boot.
The people who work at Microsoft are amazing, kind, talented individuals. This is aimed at the company's leadership, who I feel has on many occassions crushed myself and other developers under. It's a plea for help.
You probably haven't heard of it before, but if you've ever used win32 API bindings in C#, C++, Rust, or other languages, odds are they were generated from a repository called microsoft/win32metadata.
| Add-Type 'public class SFW { [System.Runtime.InteropServices.DllImport("user32.dll")][return: System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.Bool)] public static extern System.Boolean SetForegroundWindow(System.IntPtr hWnd); }' | |
| $handle = [activator]::CreateInstance([type]::GetTypeFromCLSID("0002DF01-0000-0000-C000-000000000046")) | |
| $handle.Visible = $true | |
| $handle.Navigate('http://www.example.com/') | |
| [SFW]::SetForegroundWindow($handle.HWND) |
This is a basic implementation of the classic Helicopter game, but it's missing a few things intentionally and they're left as further exploration for the reader.
- Score / Distance
- As the helicopter moves right, the score / distance should increase. Use context.fillText() to display the score / distance to the screen
