Skip to content

Instantly share code, notes, and snippets.

View michaelbarkdoll's full-sized avatar

Michael Barkdoll michaelbarkdoll

View GitHub Profile
Set-ExecutionPolicy unrestricted -Force
$nlm = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"))
$connections = $nlm.getnetworkconnections()
$connections |foreach {
if ($_.getnetwork().getcategory() -eq 0)
{
$_.getnetwork().setcategory(1)
}
}
### Enable-PSRemoting -SkipNetworkProfileCheck -Force
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs-legacy
cd
wget http://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz
tar -xzvf ruby-2.4.0.tar.gz
sudo mv ruby-2.4.0 /usr/
cd /usr/ruby-2.4.0/
sudo ./configure
sudo make
$ rails new myapp
create
create README.md
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/config/manifest.js
create app/assets/javascripts/application.js
vagrant@vagrant:/vagrant$ sbt run -Dhttp.port=9663
[info] Loading project definition from /vagrant/project
[info] Resolving key references (28435 settings) ...
[info] Set current project to lila (in build file:/vagrant/)
MessageCompiler took 562ms
--- (Running the application, auto-reloading is enabled) ---
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
# cinder storage host (LVM-backed)
storage_hosts:
storage:
ip: 172.29.236.13
container_vars:
cinder_backends:
limit_container_types: cinder_volume
lvm:
volume_group: cinder-volumes
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
# glance
image_hosts:
infra1:
ip: 172.29.236.11
# nova api, conductor, etc services
compute-infra_hosts:
infra1:
ip: 172.29.236.11
@michaelbarkdoll
michaelbarkdoll / Install MSOffice on Ubuntu.md
Last active August 1, 2020 04:30 — forked from raelgc/Install MSOffice on Ubuntu.md
Install MSOffice on Ubuntu

Install Microsoft Office 2010 on Ubuntu

Requirements

We'll install MSOffice using the PlayOnLinux wizard. Additionally, MSOffice requires samba and winbind to properly work.

So, if not installed, install them:

sudo apt-get install playonlinux samba winbind
events {
}
http {
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
upstream websocket {
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:13:53.195 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestService - User "student850000000" connected to group "1".
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:13:55.991 [http-nio-8080-exec-8] INFO o.a.g.tunnel.TunnelRequestService - User "student850000000" disconnected from connection group "1". Duration: 2796 milliseconds
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:14:00.412 [http-nio-8080-exec-1] INFO o.a.g.r.auth.AuthenticationService - User "student850000000" successfully authenticated from [10.255.0.2, 10.0.19.11].
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:14:00.703 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "student850000000" connected to group "1".
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:14:02.776 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "student850000000" disconnected from connection group "1". Duration: 2073 milliseconds
vdi_guacamole2.1.iytle5jay8ee@swarm-3 | 15:14:09.175
vdi_guacamole2.1.th2jgke4j851@swarm-3 | trustStore is: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
vdi_guacamole2.1.th2jgke4j851@swarm-3 | trustStore type is : jks
vdi_guacamole2.1.th2jgke4j851@swarm-3 | trustStore provider is :
vdi_guacamole2.1.th2jgke4j851@swarm-3 | init truststore
vdi_guacamole2.1.th2jgke4j851@swarm-3 | adding as trusted cert:
vdi_guacamole2.1.th2jgke4j851@swarm-3 | Subject: CN=Hongkong Post Root CA 1, O=Hongkong Post, C=HK
vdi_guacamole2.1.th2jgke4j851@swarm-3 | Issuer: CN=Hongkong Post Root CA 1, O=Hongkong Post, C=HK
vdi_guacamole2.1.th2jgke4j851@swarm-3 | Algorithm: RSA; Serial number: 0x3e8
vdi_guacamole2.1.th2jgke4j851@swarm-3 | Valid from Thu May 15 05:13:14 UTC 2003 until Mon May 15 04:52:29 UTC 2023
vdi_guacamole2.1.th2jgke4j851@swarm-3 |