Skip to content

Instantly share code, notes, and snippets.

mlgrm's run ubuntu in crostini

this gist is out of date and remains here only for reference

This is just a modification of this reddit to minimize copying and pasting, make it less interactive, and to allow creation of a username of your choice instead of the default google email address.

# #How to run Ubuntu with full Chrome OS Integration
# Here's a post that shows in detail how to make the default penguin container run Ubuntu instead of Debian:
# [Introduction to Crostini - Part 3: Using Ubuntu by default](https://linuxiumcomau.blogspot.com/2018/08/introduction-to-crostini-part-3-using.html)
@ogratwicklcs
ogratwicklcs / pedantically_commented_playbook.yml
Last active October 27, 2023 20:26 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
{
"builders": [
{
"type": "amazon-ebs",
"region": "us-west-2",
"instance_type": "t2.micro",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "CIS Microsoft Windows Server 2016 Benchmark v1.1.0.*Level 1*",
wget https://download.kde.org/stable/krita/4.2.1/gmic_krita_qt-x86_64.appimage.sig https://download.kde.org/stable/krita/4.2.1/krita-4.2.1-x86_64.appimage.sig https://download.kde.org/stable/krita/4.2.1/gmic_krita_qt-x86_64.appimage https://download.kde.org/stable/krita/4.2.1/krita-4.2.1-x86_64.appimage
gpg --recv-key 722EA3BD
gpg --verify krita-4.2.1-x86_64.appimage.sig
gpg --verify gmic_krita_qt-x86_64.appimage.sig
[tru@elitebook840g3 shm]$ uname -a
Linux elitebook840g3 3.10.0-957.12.2.el7.x86_64 #1 SMP Tue May 14 21:24:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[tru@elitebook840g3 shm]$ ./krita-4.2.1-x86_64.appimage
./krita-4.2.1-x86_64.appimage: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /tmp/.mount_krita-RI51WX/usr/bin/../lib/libkritaui.so.18)
./krita-4.2.1-x86_64.appimage: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /tmp/.mount_krita-RI51WX/usr/bin/../lib/libkritaui.so.18)
./krita-4.2.1-x86_64.appimage: /lib64/libstdc++.so.6: version `CXXABI_1.3.8'
@rmbolger
rmbolger / Get-UidFromSid.ps1
Last active April 12, 2024 00:59
Functions for converting a SID to a UID for use with RFC2307 attributes in Active Directory
function Get-UidFromSid
{
[CmdletBinding()]
param(
[Parameter(Mandatory=$true,Position=0,ValueFromPipeline,ValueFromPipelineByPropertyName)]
[System.Security.Principal.SecurityIdentifier]$sid
)
Process {
# convert sid to byte array
#!/usr/bin/env python3
"""
The idea here is to have one demo of each common argparse format
type. This is useful for me to be able to copy/paste into a new
script and have something to quickly edit and trim down to get
the functionality I need.
Expect this file to grow/change as I need new options.
This is, however, a working example. I hate examples that don't
@jessfraz
jessfraz / boxstarter.ps1
Last active October 8, 2024 17:58
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@xbb
xbb / README
Last active November 18, 2024 09:04
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
@borgfriend
borgfriend / maya2017install.sh
Last active April 13, 2024 13:34
Maya 2017 Installation on Ubuntu 16.04
#!/bin/bash
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then
echo Please run this script using sudo
echo Just type “sudo !!”
exit
fi
#Check for 64-bit arch
if [uname -m != x86_64]; then