Skip to content

Instantly share code, notes, and snippets.

View stonevil's full-sized avatar

Myroslav Rys stonevil

  • San Francisco
View GitHub Profile
@stonevil
stonevil / ubuntu-on-asus-g14.md
Created April 21, 2022 02:47 — forked from vijay-prema/ubuntu-on-asus-g14.md
Ubuntu on Asus ROG Zephyrus G14 2021

Ubuntu on Asus ROG Zephyrus G14 2021 (Setup guide)

Here is a way to do a robust install of Ubuntu (+ optional Windows 11 dual boot and LUKS encryption) on an Asus laptop, with minimal usable hardware support, without a significant amount of tinkering that may break in future or require frequent technical attention.

Specs:

  • Model Asus G14 2021 (GA401QC)
  • AMD R7 5800 8 core 16 thread (onboard Radeon graphics)
  • NVIDIA RTX 3050 4GB (60W +15W boost)
  • 40GB RAM (8GB soldered + 32GB stick added)
  • 2TB SSD
@stonevil
stonevil / darkmode.sh
Created August 17, 2021 23:05
Dead simple script to enforce native dark mode for macOS apps
#!/usr/bin/env bash
# vim:ft=sh :
# shellcheck disable=SC2046,SC2145
defaults write $(osascript -e 'id of app "'"$@"'"' | tr -d '\n' | tr -d '\r') NSRequiresAquaSystemAppearance -bool FALSE

Keybase proof

I hereby claim:

  • I am stonevil on github.
  • I am stonevil (https://keybase.io/stonevil) on keybase.
  • I have a public key ASDgF6wlONu84yiZ9_8VbkpmGzNZPEfo18qBUZ4ejzl4Mgo

To claim this, I am signing this object:

@stonevil
stonevil / Test_task_for_Go_developer.txt
Last active February 21, 2017 06:41
Test task for Go developer
Test task for Go developer
Impement simple REST API based app
1. to collect monitoring/state data from Kubernetes with k8s REST API calls;
2. check network/internet availability.
Useful links
Kubernetes URL: http://kubernetes.io/
Useful tool for API developing and testing: https://apiary.io
Some notes on remote debugging mac builds on Travisci. It's hard to tell when something hangs what the cause it. Trial and error via commits is tedious. And on Mac , sometimes it's the gui asking for input. So I worked my around to get the access I needed for faster debugging a build.
#################################################
# Enable remote ssh access to travisci build for debugging
#################################################
# Add a key so we can login to travisci vm
- cat ssh/travisci.pub >> ~/.ssh/authorized_keys
- chmod 600 ssh/travisci
# Install netcat