Skip to content

Instantly share code, notes, and snippets.

View mrf's full-sized avatar

Mark Ferree mrf

View GitHub Profile
@mavieth
mavieth / install-php-7.sh
Created May 2, 2017 01:38
Upgrade from PHP 5.X.X to PHP 7 on an AWS EC2 Linux Server
#!/bin/bash
echo "==============================="
echo "Installing PHP 7"
echo "==============================="
sudo yum install php70
echo "==============================="
echo "Installing PHP 7 additional commonly used php packages"
echo "==============================="
@dwmkerr
dwmkerr / k8s-list-virtualservices.go
Created October 8, 2018 10:05
Example showing how to list Istio VirtualService CRDs Golang
// Example showing how to patch Kubernetes resources.
package main
import (
"fmt"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/dynamic"
_ "k8s.io/client-go/plugin/pkg/client/auth"
@alsmola
alsmola / okta_aws_account_access.go
Last active February 10, 2021 21:37
List Okta account access to AWS IAM roles
package main
import (
"context"
"encoding/csv"
"errors"
"fmt"
"log"
"os"
"regexp"