class PipeServer | |
{ | |
static | |
int | |
Main(string[] args) | |
{ | |
if(args.Length < 2 | |
||(System.String.Compare(args[0], "in") != 0 | |
&& System.String.Compare(args[0], "out") != 0)) { | |
System.Console.WriteLine("Usage: PipeServer <in | out> <process> <args>"); |
#include <stdio.h> | |
#include <cpuid.h> | |
#include <stdint.h> | |
int cpu_supports_cet_shadow_stack() { | |
uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; | |
__cpuid_count(7, 0, eax, ebx, ecx, edx); | |
return (ecx & (1 << 7)) != 0; | |
} |
// Package librclone exports shims for C library use | |
// | |
// This directory contains code to build rclone as a C library and the | |
// shims for accessing rclone from C. | |
// | |
// The shims are a thin wrapper over the rclone RPC. | |
// | |
// Build a shared library like this: | |
// | |
// go build --buildmode=c-shared -o librclone.so github.com/rclone/rclone/librclone |
Think Xfce looks dated? Want a conventional Ubuntu experience? This tutorial will guide you through installing Ubuntu's default desktop environment, GNOME.
GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn't figure out how [to](https://www.reddit.
$npipeClient = new-object System.IO.Pipes.NamedPipeClientStream(".", 'BlackJack', [System.IO.Pipes.PipeDirection]::InOut, | |
[System.IO.Pipes.PipeOptions]::None, | |
[System.Security.Principal.TokenImpersonationLevel]::Impersonation) | |
$npipeClient.Connect() | |
$script:pipeWriter = new-object System.IO.StreamWriter($npipeClient) | |
$pipeWriter.AutoFlush = $true | |
while (1) { | |
$pipeWriter.WriteLine("hello") | |
Sleep 1 |
Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.
Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).
It should look something like the content below; call it my-site.conf
or something like that.
Source: https://x.com/LundukeJournal/status/1940441670098809093
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
// ==UserScript== | |
// @name Stop the Medium The Pay Wall | |
// @namespace StopThePayWall | |
// @version 1 | |
// @include *medium* | |
// @include *datascience* | |
// ==/UserScript== | |
async function abc () { | |
var resp = (await fetch(location, { "credentials": "omit", "headers": { "Accept": "text/html,text/xhtml,text/xml,*/*", "Connection": "keep-alive", }, "method": "GET", "mode": "cors" })); |