Credit: @hacknug (Nestor Vera) -- https://github.com/hacknug
https://github.com/dracula/dracula-theme/issues/281#issuecomment-400628362
# Function to delete the specified file in Safe Mode | |
function Delete-CrowdStrikeFile { | |
$directoryPath = "C:\Windows\System32\drivers\CrowdStrike" | |
$filePattern = "C-00000291*.sys" | |
# Ensure the directory exists | |
if (Test-Path -Path $directoryPath) { | |
$files = Get-ChildItem -Path $directoryPath -Filter $filePattern | |
if ($files) { | |
foreach ($file in $files) { |
# Define the Dev Drive base path | |
$DevDrive = "D:\packages" | |
# Function to create a directory if it doesn't exist | |
function Ensure-Directory { | |
param ( | |
[string]$Path | |
) | |
if (-not (Test-Path -Path $Path)) { | |
New-Item -Path $Path -ItemType Directory -Force |
# Define the Dev Drive base path | |
$DevDrive = "D:\packages" | |
# Function to create a directory if it doesn't exist | |
function Ensure-Directory { | |
param ( | |
[string]$Path | |
) | |
if (-not (Test-Path -Path $Path)) { | |
New-Item -Path $Path -ItemType Directory -Force |
# Use an official Python runtime as a parent image | |
FROM python:3.9-slim | |
# Install git | |
RUN apt-get update && \ | |
apt-get install -y git && \ | |
rm -rf /var/lib/apt/lists/* | |
# Set the working directory in the container | |
WORKDIR /usr/src/app |
emerge -v1 sys-apps/merge-usr; \ | |
merge-usr; \ | |
eselect profile set {n+1}; \ | |
emerge --update --deep --changed-use @world |
#!/bin/bash | |
# Adapted from uglic's StackOverflow response | |
# https://askubuntu.com/questions/1328823/disable-specific-device-from-waking-up-the-system | |
while getopts v:p:s: flag | |
do | |
case "${flag}" in | |
v) vendor=${OPTARG};; | |
p) product=${OPTARG};; | |
s) state=${OPTARG};; |
:root { | |
--color-hover-blue:rgba(75, 110, 175, 0.4); | |
--color-plasma-blue:rgba(75, 110, 175, 1); | |
--color-cardboard-gray: rgba(210, 210, 210, 1); | |
--color-coastal-fog: rgba(127, 140, 141, 1); |
Credit: @hacknug (Nestor Vera) -- https://github.com/hacknug
https://github.com/dracula/dracula-theme/issues/281#issuecomment-400628362
I hereby claim:
To claim this, I am signing this object: