See the "Cited By" section at the bottom for other trust score systems - most notably Microsoft's 2005 "Determination of a reputation of an on-line game player".
FIG. 2 illustrates examples of other behaviors, besides cheating, which can
# Tested on Ubuntu, use 'apt-get install jq' | |
cat ./bookmarks.json | jq '.. | select(.type?=="text/x-moz-place") | "\(.title?), \(.uri)"?' | |
cat ./bookmarks.json | jq -r '.. | select(.type?=="text/x-moz-place") | "- [\(.title?)](\(.uri?))"' > uris.md | |
# The second prints a markdown file using the title and uri |
sudo yum update -y | |
echo "======= INSTALLING RPM FOR MONO =======" | |
sudo mkdir -p /tmp/mono_dependencies | |
cd /tmp/mono_dependencies | |
sudo wget https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libpng15-1.5.30-11.fc33.x86_64.rpm | |
sudo yum install -y libpng15-1.5.30-11.fc33.x86_64.rpm | |
echo "======= INSTALLING MONO ============" | |
sudo yum install -y yum-utils |
See the "Cited By" section at the bottom for other trust score systems - most notably Microsoft's 2005 "Determination of a reputation of an on-line game player".
FIG. 2 illustrates examples of other behaviors, besides cheating, which can
# Install AWS CLI, Kubectl, Kops | |
sudo apt update | |
sudo apt install -y awscli | |
sudo snap install kubectl --classic | |
curl -LO https://github.com/kubernetes/kops/releases/download/1.7.0/kops-linux-amd64 | |
chmod +x kops-linux-amd64 | |
mv ./kops-linux-amd64 /usr/local/bin/kops | |
# Setup the AWS profile | |
aws config |
import requests | |
import isodate # To parse ISO 8601 durations | |
# Create an API key in Google Cloud: API/Service Details/Credentials | |
API_KEY = 'mykey' | |
VIDEO_IDS = [ | |
'KZSD3lauzDo', 'puddZhRgRNI', 'YJTjtoKGCYo', '-PjtJeMvsFI', 'KZSD3lauzDo', | |
'puddZhRgRNI', 'YJTjtoKGCYo', '-PjtJeMvsFI', 'KZSD3lauzDo', 'puddZhRgRNI', | |
'YJTjtoKGCYo', '-PjtJeMvsFI' | |
] |
// No number specifier | |
Console.WriteLine("a) {0}", numSingle); | |
// Round up, ignore any decimal points. | |
Console.WriteLine("a) {0:##}", numSingle); | |
// Round up to 1 dp. | |
Console.WriteLine("b) {0:.#}", numSingle); | |
// Round up to 2 dp. |
string ivAsBase64; | |
string encryptedTextAsBase64; | |
string keyAsBase64; | |
using (AesCryptoServiceProvider aes = new AesCryptoServiceProvider()) | |
{ | |
// Store the IV (they can be stored if you don't re-use a key) | |
aes.GenerateIV(); | |
byte[] iv = aes.IV; | |
ivAsBase64 = Convert.ToBase64String(iv); |
using System; | |
using System.Runtime.InteropServices; | |
using Microsoft.Win32.SafeHandles; | |
using System.Threading; | |
using System.ComponentModel; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
[DllImport("kernel32.dll")] |
''' | |
This script brings up the entire stack of Docker containers, removing the current ones. | |
Docker compose was tried for this task and it wasn't customisable enough. | |
Docker cloud was tried (with stack files) and was buggy (failed to launch, no logs returned). | |
Docker machine was tried, but it can't connect to existing servers only ones it created. | |
Rancher was too heavy weight for the task, as the containers are lightweight in DigitalOcean. | |
Kubernetes would've been too heavy weight for DigitalOcean. | |
It was written in Powershell and worked. But then converting it to Bash was too much effort. | |
Powershell for Linux is too much effort to install without a debian package (and none standard) |
#========================================================================================== | |
# Get the latest Chromedriver version number | |
#========================================================================================== | |
WriteHeader "Determining Chromedriver version" | |
$url = "http://chromedriver.storage.googleapis.com/"; | |
$xml = [xml](wget $url); | |
$chromeDriver_version = 2.12; | |
# XML format: <ListBucketResult><Contents><Key>...</Key></Contents></ListBucketResult> | |
foreach ($item in $xml.ListBucketResult.Contents) |