This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clsx from 'clsx'; | |
import { motion } from 'framer-motion'; | |
import PropTypes from 'prop-types'; | |
import React from 'react'; | |
const ANIMATION_DURATION = 0.2; | |
const Burger = ({ className: additionalClassName, onClick, isToggled }) => ( | |
<motion.button | |
className={clsx('relative w-10 h-10 border-2 border-white rounded-full', additionalClassName)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Allow access to excluded diretories | |
SetEnvIf Request_URI ^(/wp-content/uploads/) noauth=1 | |
SetEnvIf Request_URI ^(/wp-cron.php) noauth=1 | |
<RequireAny> | |
Require env noauth | |
Require env REDIRECT_noauth | |
Require valid-user | |
</RequireAny> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"var statement": { | |
"prefix": "v", | |
"body": "var ${0}", | |
"description": "var statement" | |
}, | |
"var assignment": { | |
"prefix": "v=", | |
"body": "var ${1:name} = ${2:value};", | |
"description": "var assignment" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: longhorn-0thq3 | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: longhorn-service-account | |
namespace: longhorn-0thq3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: pipeline | |
name: default | |
steps: | |
- name: build | |
image: plugins/docker | |
settings: | |
repo: registry.pixelpoint.io/example.com | |
registry: registry.pixelpoint.io | |
tag: [ "${DRONE_COMMIT_BRANCH}" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mina/rails' | |
require 'mina/git' | |
# require 'mina/rbenv' # for rbenv support. (https://rbenv.org) | |
# require 'mina/rvm' # for rvm support. (https://rvm.io) | |
# Basic settings: | |
# domain - The hostname to SSH to. | |
# deploy_to - Path to deploy into. | |
# repository - Git repo to clone from. (needed by mina/git) | |
# branch - Branch name to deploy. (needed by mina/git) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rvm' | |
require 'mina/puma' | |
set :application_name, 'myapp' | |
set :domain, 'myapp.com' | |
set :deploy_to, '/home/admin/myapp' | |
set :repository, '[email protected]:lnikell/myapp.git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mina/multistage' | |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rvm' | |
require 'mina/puma' | |
set :shared_paths, ['config/database.yml', 'config/secrets.yml', 'config/puma.rb', 'log', 'tmp/pids', 'tmp/sockets', 'public/uploads', 'public/spree'] | |
task :environment do |