Skip to content

Instantly share code, notes, and snippets.

@frenchcharly
frenchcharly / README.md
Created November 11, 2024 02:12 — forked from hoishing/README.md
disable Gatekeeper with configuration profiles in macOS 15

Disable Gatekeeper with Configuration Profiles

Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.

We need to disbale it with Configuration Profiles.

How

  • Create a new configuration profile, an XML file with .mobileconfig extension, refer the sample file in this gist
  • replace the UUID with your own, you can use uuidgen in terminal to generate a new one
@frenchcharly
frenchcharly / gist:af01082653ccccf9f6a9bbfdf1bd4b97
Created October 28, 2024 17:51 — forked from vanWittlaer/gist:9415b199012908ab38f6cb16e911d17e
Gitlab runner running out of space (in /var/lib/docker/overlay2)
SSH to the runner and execute 'docker system prune --all --volumes --force' - this will wipe any unused docker stuff.
@frenchcharly
frenchcharly / onlyofficeDocsLXCBuster.md
Created February 1, 2022 16:06 — forked from tavinus/onlyofficeDocsLXCBuster.md
OnlyOffice Docs into a LXC Debian 10
@frenchcharly
frenchcharly / wp_auto_install.sh
Created December 5, 2021 04:42 — forked from nicomollet/wp_auto_install.sh
WP-CLI auto install script
#!/bin/bash
# Default options
LOCALE="fr_FR"
DB_HOST='localhost'
VIRUSTOTAL_KEY='YOUR_KEY'
printf "Name of the project? cf My Project: "
read PROJECT_NAME
@frenchcharly
frenchcharly / .htaccess
Last active April 4, 2018 14:12 — forked from ScottPhillips/.htaccess
[Common .htaccess Redirects] 301 & rewrite rules
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/