Skip to content

Instantly share code, notes, and snippets.

View mariogt's full-sized avatar
:octocat:
Working from deep sea

MarioGT mariogt

:octocat:
Working from deep sea
View GitHub Profile
https://abskmj.github.io/notes/posts/rog-zephyrus-g14/popos/
Notes
Github
Twitter
PopOS 20.10 on ASUS ROG Zephyrus G14 Laptop
2020-10-24
#ASUS ROG Zephyrus G14 #PopOS #Ubuntu
Install Pop 20.10 next to Windows 10 in a multi-boot setup. Similar steps can be followed to install Ubuntu 20.10.
#!/usr/bin/python
# Copyright (c) 2017 University of Utah Student Computing Labs. ################
# All Rights Reserved.
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appears in all copies and
# that both that copyright notice and this permission notice appear
# in supporting documentation, and that the name of The University
@mariogt
mariogt / .vimrc
Last active June 10, 2020 02:24
This is my .vimrc config file, feel free to copy or share it.
set nocompatible
call plug#begin('~/.vim/plugged')
"formating
Plug 'junegunn/vim-easy-align'
Plug 'preservim/nerdcommenter'
Plug 'https://github.com/preservim/nerdtree'
Plug 'https://github.com/Townk/vim-autoclose'
@mariogt
mariogt / gist:c82bfbd1440b12e338fdf2beae0d532b
Created September 23, 2019 11:27 — forked from Moligaloo/gist:3850710
Send mail with attachment and signature via AppleScript in OS X
tell application "Mail"
set theSubject to "Subject" -- the subject
set theContent to "Content" -- the content
set theAddress to "[email protected]" -- the receiver
set theSignatureName to "signature_name"-- the signature name
set theAttachmentFile to "Macintosh HD:Users:moligaloo:Downloads:attachment.pdf" -- the attachment path
set msg to make new outgoing message with properties {subject: theSubject, content: theContent, visible:true}
@mariogt
mariogt / anonymous Microsoft Engineer rant.txt
Created May 7, 2019 11:43
anonymous Microsoft Engineer rant
I am re-posting a fantastic and honest reply to my post from an anonymous Microsoft employee who convinced me he is real (his post is deleted on HN!: https://news.ycombinator.com/item?id=5689641):
----
I'm a developer in Windows and contribute to the NT kernel. (Proof: the SHA-1 hash of revision #102 of pagfault.c is 0cb82a9525a2158e2a87f5eb53d41e5936cee5a2.) I'm posting through Tor for obvious reasons.
Windows is indeed slower than other operating systems in many scenarios, and the gap is worsening. The cause of the problem is social. There's almost none of the improvement for its own sake, for the sake of glory, that you see in the Linux world.
Granted, occasionally one sees naive people try to make things better. These people almost always fail. We can and do improve performance for specific scenarios that people with the ability to allocate resources believe impact business goals, but this work is Sisyphean. There's no formal or informal program of systemic performance improvement. We started caring a
@mariogt
mariogt / OpenEmu_Crash_OSXMojave_Fix.m
Last active September 2, 2021 00:25
Temporary fix for the Launch Crash of OpenEmu on Mac OS X 10.14 Mojave (Beta 5)
/*
Hi to all, I was testing openEmu in Mac OS X Mojave (Dev Beta 5), and did crash
immediately, then following the crash report:
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_IKCGRenderer
Referenced from: /Applications/OpenEmu.app/Contents/MacOS/OpenEmu
Expected in: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit
in /Applications/OpenEmu.app/Contents/MacOS/OpenEmu