Instructions on how to setup a secured Jenkins CI on a Mac.
All of these operations are done with your admin user.
Install the command line developer tools.
<?php | |
function THEMENAME_js_alter(&$js){ | |
unset($js['settings']); | |
} | |
?> |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>title</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" > | |
<meta name="description" content="description" /> | |
<meta name="keywords" content="keywords" /> | |
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
import { redirect } from "react-router"; | |
import { NotAuthorized } from "./index"; | |
// mock hasRoles | |
const hasRoles = (roles) => { | |
const userRoles = ["users-management", "admin"]; | |
if (!userRoles) return false; | |
return roles.some((role) => userRoles.includes(role)); | |
}; |