This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'############################################################################# | |
'# Procedure: WUA_SearchDownloadInstall.vbs | |
'# Author: Microsoft/Scott Vintinner | |
'# Last Edit: 07/14/2014 | |
'# Purpose: This script will trigger a Windows Update on this computer | |
'# Notes: Must be run as administrator | |
'# Source: http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx | |
'############################################################################# | |
Option Explicit | |
Dim scriptShell, fs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""An example of a cache decorator.""" | |
import json | |
from functools import wraps | |
from redis import StrictRedis | |
redis = StrictRedis() | |
def cached(func): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
namespace HttpClientApproach | |
{ | |
internal class Contributor | |
{ | |
public string Login { get; set; } |
Three functions from the OpenFaaS store have been packaged as "knative serving" definitions. No change to the container or code is needed.
- Inception - identify the content of images with machine-learning - is it a bird, a plane or what?
- Colorise - turn any black and white image into colour
- NodeInfo - give system info, pass "verbose" as the body for network adapters etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* Person class. | |
* | |
* @constructor | |
* @param {String} name - name of a person. | |
* @param {Number} age - age of a person. | |
* @param {String} gender - gender of a person. | |
*/ |
- Author: Donny Kurnia
- Release Date: Jun 5, 2018
- Original Post
Take note this is my personal edited version and the command related to Arch has been changed to work on my Arch system.