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
#!/bin/bash | |
echo "OK this runs the basic stuff to work with the lessons. If error, read script and fix it." | |
# npm | |
npm -v | |
# node | |
node -v | |
# ng cli | |
sudo npm install -g @angular/cli | |
ng version |
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
Here are a few emoji options that could represent testing: | |
* 🧪 Test Tube: This emoji can represent the idea of testing or experimentation. | |
* 🔬 Microscope: This emoji can represent the idea of close examination or analysis, which could be associated with testing. | |
* 📊 Chart Increasing: This emoji can represent the idea of tracking data or results, which could be associated with testing. | |
* 📈 Chart Increasing with Yen: This emoji can represent the idea of tracking financial data or results, which could be associated with testing in a business context. | |
* 📉 Chart Decreasing: This emoji can represent the idea of tracking negative data or results, which could be associated with testing. | |
* 📊 Bar Chart: This emoji can represent the idea of tracking data or results, which could be associated with testing. | |
* 📈 Upwards Arrow with Tip Leftwards: This emoji can represent the idea of positive results or progress, which could be associated with successful testing. | |
* 📉 Downwards Arrow with Tip Rightwards: This emoji can repre |
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
{ config, pkgs, ... }: | |
{ | |
imports = [ | |
# Import the default NixOS configuration | |
<nixpkgs/nixos/modules/installer/cd-dvd/x86_64-linux.nix> | |
]; | |
# Set the system timezone | |
time.timeZone = "America/Los_Angeles"; |
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
#!/bin/bash | |
# Install desktop environment | |
apt-get update && \ | |
apt-get install -y xfce4 firefox thunderbird libreoffice gimp | |
# Set timezone | |
echo "America/Los_Angeles" > /etc/timezone && \ | |
dpkg-reconfigure -f noninteractive tzdata |
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
# | |
# Dockerfile | |
# | |
# Use Debian as the base image | |
FROM debian:latest | |
# Install desktop environment | |
RUN apt-get update && \ | |
apt-get install -y xfce4 firefox thunderbird libreoffice gimp |
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
# | |
# File: debian_desktop.sls | |
# | |
# Install desktop environment | |
xfce4: | |
pkg.installed | |
# Install common applications | |
firefox: |
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
# | |
# Cookbook:: debian_desktop | |
# Recipe:: default | |
# | |
# Install desktop environment | |
package 'xfce4' do | |
action :install | |
end |
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
class debian_desktop { | |
# Install desktop environment | |
package { 'xfce4': | |
ensure => installed, | |
} | |
# Install common applications | |
package { ['firefox', 'thunderbird', 'libreoffice', 'gimp']: | |
ensure => installed, |
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
--- | |
- name: Install and configure Debian desktop | |
hosts: all | |
become: yes | |
tasks: | |
- name: Install desktop environment | |
apt: | |
name: xfce4 xfce4-goodies | |
state: present |
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
--- | |
# pseudocode - caveat emptor | |
# The base directories relative to which user specific configuration etc files should be stored | |
# default: $XDG_CONFIG_HOME | ~/.config/ | |
default_xdg_config_home: "{{ ansible_user_dir }}/.config" | |
default_xdg_data_home: "{{ ansible_user_dir }}/.local/share" | |
default_xdg_cache_home: "{{ ansible_user_dir }}/.cache" | |
xdg_config_home: "{{ ansible_env.XDG_CONFIG_HOME | default(default_xdg_config_home) }}" |
NewerOlder