Skip to content

Instantly share code, notes, and snippets.

View goldcoders's full-sized avatar

GOLDCODERS CORP goldcoders

View GitHub Profile
@goldcoders
goldcoders / .minttyrc
Created November 24, 2019 13:26 — forked from g0ld3lux/.minttyrc
WSL Laravel Dev Machine
Font=DejaVuSansMonoForPowerline NF
BoldAsFont=no
FontHeight=12
FontWeight=400
FontSmoothing=full
Locale=C
Charset=UTF-8
Term=xterm-256color
ForegroundColour=248,248,242
BackgroundColour=40,42,54
@goldcoders
goldcoders / emulator-install-using-avdmanager.md
Created December 17, 2019 06:44 — forked from mrk-han/emulator-install-using-avdmanager.md
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

About

  • The goal of this gist is to quickly pre-install a range of system images to provide our project teams the ability to run emulators on a range of API levels, from API 19 to API 28.
    • These can be run locally or on the base build agent.
  • Note: X86 is the fastest architecture for emulators, though x86_64 would probably be better to test against because most phones are 64 bit now.
  • We create two sets of emulators here, one set with pixel hardware emulation and one set with default oem emulation.

See: Google Documentation on Start the emulator from the command line for more info

https://www.vultr.com/docs/how-to-install-mariadb-10-3-or-mysql-8-0-on-arch-linux
pacman -S mariadb
sudo systemctl enable mysqld
pacman -S php nginx redis php-fpm composer
sudo systemctl enable nginx
sudo systemctl enable redis
sudo systemctl enable php-fpm
@goldcoders
goldcoders / arch_bootstrap.bash
Created December 21, 2019 14:44
Shell script that performs the installation of Arch Linux the way I like it.
#!/bin/bash
bootstrapper_dialog() {
DIALOG_RESULT=$(dialog --clear --stdout --backtitle "Arch bootstrapper" --no-shadow "$@" 2>/dev/null)
}
#################
#### Welcome ####
#################
bootstrapper_dialog --title "Welcome" --msgbox "Welcome to Kenny's Arch Linux bootstrapper.\n" 6 60
@goldcoders
goldcoders / install-arch-linux-on-btrfs-subvolume-inside-luks
Created December 21, 2019 15:53 — forked from ansulev/install-arch-linux-on-btrfs-subvolume-inside-luks
Install Arch Linux with full encrypted btrfs subvolume inside luks
# Install Arch Linux with full encrypted btrfs subvolume inside luks
# Hardware: BIOS system, Intel GPU, Nvidia Optimus, Toshiba SSD, Wifi
# Please adjust for your needs.
# filename: install-arch-linux-on-btrfs-subvolume-inside-luks.txt
# The official guide: https://wiki.archlinux.org/index.php/Installation_Guide
# Download the archiso image from https://www.archlinux.org/download/
# Copy to a usb-drive
dd bs=4M if=archlinux.iso of=/dev/sdx status=progress oflag=sync # on linux
if (!process.env.NETLIFY) {
require("dotenv").config();
}
const {
GOGOEXPRESS_API_KEY,
GOGOEXPRESS_SECRET_KEY,
GOGOEXPRESS_TOKEN,
GOGOEXPRESS_API_CREATED_AT //"April 15, 2020, 4:59 AM"
} = process.env;
==========
VULKANINFO
==========
Vulkan Instance Version: 1.2.149
Instance Extensions: count = 18
===============================
VK_EXT_acquire_xlib_display : extension revision 1
# Example of papermerge.conf.py
#
# papermerge.conf.py - is a configuration files with python syntax
#
# Copy this file to /etc/papermerge.conf.py or to your project's root directory
# and modify it to suit your needs.
# As this file contains passwords it should only be readable by the user
# running Papermerge.
## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##
##
# ~/.config/starship.toml
add_newline = false
[line_break]
disabled = false
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"