For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| #!/bin/sh | |
| SERVER="http://localhost:8081" | |
| URL="$SERVER/nexus/service/local/artifact/maven/content" | |
| REPO="sandbox" | |
| USER="admin:admin123" | |
| group=$1 | |
| artifact=$2 |
| --- | |
| # Set CHIP up as an airplay server. | |
| # Based on https://www.hackster.io/11798/c-h-i-p-play-speakers-7cebb9 | |
| # Note; you will still have to edit shairport-sync.conf to set the name | |
| - name: configure chips for iot shairport use | |
| hosts: shairport-chips | |
| become_user: root |
| ## | |
| ## PG&E Green button data downloader | |
| ## | |
| ## @author Stephen Dawson-Haggerty <stevedh@eecs.berkeley.edu> | |
| ## | |
| ## Based on https://gist.github.com/3131346 and Andrew Krioukov's | |
| ## sMAPv1 PG&E driver for the old format of data. | |
| ## | |
| import os |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| #!/bin/bash -e | |
| ln -s /usr/lib/x86_64-linux-gnu/amdgpu-pro . | |
| ln -s /etc/OpenCL . | |
| tar -czvf libs.tar.gz amdgpu-pro/* | |
| tar -czvf conf.tar.gz OpenCL/* | |
| cat > .dockerignore << EOF | |
| OpenCL |
macOS: 10.13.3
WebDriver: 387.10.10.10.25.156
CUDA Toolkit: 9.1.128
cuDNN: 7
NVDAEGPUSupport: 6
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
This is a snippet that will create a new user in jenkins and if security has been disabled , it will enable it :)
import jenkins.model.*
import hudson.security.*
def instance = Jenkins.getInstance()
def hudsonRealm = new HudsonPrivateSecurityRealm(false)
hudsonRealm.createAccount("MyUSERNAME","MyPASSWORD")
instance.setSecurityRealm(hudsonRealm)
| # ssh_config system-wide configuration for OpenSSH clients | |
| # This is the ssh client system-wide configuration file. This | |
| # file provides defaults for users that are compliant with SSH | |
| # policy and ensure best practices are followed. While this file | |
| # is compliant, please keep in mind that users can change settings | |
| # with user-specific overrides from the command line or their own | |
| # config file in some cases. | |
| # Configuration data is parsed as follows: | |
| # 1. command-line options | |
| # 2. user-specific file |