Install the OpenSSL on Debian based systems
sudo apt-get install openssl
THIS ARE MY NOTES OF BUILDING AN INSTALLING XORGXRDP AND XRDP WITH GPU ACCELERATION | |
TESTED ON DEBIAN 9.13 | |
-- Build XorgXrdp with GPU acceleration ("script" - to be adjusted to your needs) : -- | |
## << BUILD AND INSTALL SCRIPT START >> ## | |
#!/bin/bash | |
# Install Latest XRDP with XORGXRDP | |
# README |
// ==UserScript== | |
// @name aws-console-tip | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Are you using service icon only in console display settings? This will help by displaying service title under mouse pointer. | |
// @author Rich Nahra | |
// @match https://*.console.aws.amazon.com/* | |
// @match https://console.aws.amazon.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.com | |
// @grant none |
FROM node:12.9.1-buster-slim | |
RUN mkdir /opt/pgp-aws | |
WORKDIR /opt/pgp-aws/ | |
RUN apt-get update && apt-get install -y git gnupg2 curl nano wget time | |
COPY . /opt/pgp-aws/ | |
RUN npm cache clean -f |
FROM ubuntu:18.04 | |
RUN apt-get update && apt-get install -y gnupg2 curl nano wget | |
COPY docker-entrypoint.sh /usr/local/bin/ | |
COPY mypublic.asc /tmp/mypublic.asc | |
COPY myprivate.key /tmp/myprivate.key | |
#Future move import logic to a running container instead of in the image |
import cdk = require('@aws-cdk/core'); | |
import ec2 = require('@aws-cdk/aws-ec2'); | |
export class DnsStack extends cdk.Stack { | |
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) { | |
super(scope, id, props); | |
const numVpc = 1 | |
const keyName = 'mykp' //cdk doesn't seem to have api for ec2 keypair. create manually. | |
const remoteSubnets = ['x.x.x.x/x'] |
var aws = require('aws-sdk'); | |
var ses = new aws.SES(); | |
exports.mailHandler = (event, context, callback) => { | |
console.log("subject" + event.subject); | |
var params = { | |
Destination: { | |
ToAddresses: event.to | |
}, | |
Message: { |
#------------------------------------------------------------------------------------------------------------- | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | |
#------------------------------------------------------------------------------------------------------------- | |
FROM node:stretch | |
# Avoid warnings by switching to noninteractive | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV AWS_CLI_VERSION=1.16.230 |
(NB: adapted from this Ask Ubuntu thread -- tested to work with Ubuntu 16 LTS branches and Ubuntu 17.10)
Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools
package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.
Install open-vm-tools
and run:
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
#!/bin/sh | |
# onedrive-ubu.sh | |
# A BASH script to set up OneDrive integration with GNOME on Ubuntu | |
# Copyright (C) 2018 Garrett Mills ([email protected]) | |
# This software is licensed under the MIT License. | |
# This sofware is provided without warranty or even any implied intent of purpose. | |
# | |
# OnedriveD: https://github.com/xybu/onedrived-dev | |
# |