I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
# Bitbucket Git Downloader | |
# Copyright (c) Davide Gironi, 2021 | |
# Released under GPLv3 | |
# Downloads all the repository from a Bitbucket account |
#!/bin/bash | |
# Get files from Google Drive | |
# Source: https://stackoverflow.com/a/50573452/2382312 | |
# Usage: download_gdrive FILE_ID DESTINATION_PATH | |
# $1 = file ID | |
# $2 = file name | |
URL="https://drive.google.com/uc?export=download&id=$1" |
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
0. Remove client and node from chef server's registry. Run thi from Workstation | |
{ws}$ knife client delete node1 | |
{ws}$ knife node delete node1 | |
1. Login to node | |
{node}$ ssh vagrant@192.168.33.11 | |
2. Browse to /etc/chef on node, and delete everything under it | |
{node}$ rm -rf /etc/chef/* |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
/*global alert, app, prompt, ExportOptionsSaveForWeb, ExportType, File, Folder, ResampleMethod, SaveDocumentType, SaveOptions */ | |
/////////////////////////////////////////////////////////////////////////////// | |
// Android Multiple Density Export.jsx | |
// | |
// Photoshop JavaScript to automate exporting Android resources at multiple | |
// densities using the 3:4:6:8:12 scaling ratio. | |
// | |
// | |
// Installation: |
#####EDIT: NB Ban is technically different from Purge. Banned objects remain in memory but banning is faster than purging. Read the Varnish 3 documentation here and here.
Purge may be a more appropriate action for your use-case; although the examples in the gist below work, it's not necessarily the best way of doing this.
bash -c ' | |
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
exists() { | |
if command -v $1 &>/dev/null | |
then | |
return 0 | |
else | |
return 1 |
# /etc/varnish/default.vcl | |
# Define the list of backends (web servers). | |
# Port 80 Backend Servers | |
backend yourapp_webserver1 { | |
.host = "000.000.000.000"; | |
.port = "80"; | |
.max_connections = 250; | |
.connect_timeout = 5s; | |
.first_byte_timeout = 5s; | |
.between_bytes_timeout = 5s; |
#!/usr/bin/ruby | |
# nagios plugin for Flash Media Server monitoring | |
# roger 2012-06-04 | |
require 'rubygems' | |
require 'open-uri' | |
require 'optparse' | |
require 'ostruct' | |
require 'set' | |
require 'xmlsimple' |