The nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume| # Project Policy | |
| This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices. | |
| # 1. Introduction | |
| > Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities. | |
| ## 1.1 Actors |
The nixos.org website suggests to use:
sh <(curl -L https://nixos.org/nix/install)For macOS on Intel (x86_64) or Apple Silicon (arm64) based macs, we need to use
sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume| #!/bin/bash | |
| # This script creates a new project (or site) under /var/sites and creates | |
| # new virtual host for that site. With the options a site can also | |
| # install the latest version of Laravel directly. | |
| # This script was originally based on the following script by @Nek from | |
| # Coderwall: https://coderwall.com/p/cqoplg | |
| # Display the usage information of the command. | |
| create-project-usage() { |
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs running IE, zoomed in */ | |
| /* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
| /* - Android hdpi devices and above */ |
| // Use the animate.css animations | |
| function animate(element, effect, delay, callback) { | |
| // Set a delay if needed | |
| var animation = setTimeout(function () { | |
| // Add the animation effect with classes | |
| $(element).addClass('animate ' + effect); | |
| // Check if the elemenr has been hidden to start with to prevent FOUC | |
| if ($(element).css('visibility') == 'hidden') { | |
| // If it has, show it (after the class has been added) |