Skip to content

Instantly share code, notes, and snippets.

View gatlinnewhouse's full-sized avatar
🔍
looking for work

Gatlin Newhouse gatlinnewhouse

🔍
looking for work
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gatlinnewhouse on github.
  • I am gatlinnewhouse (https://keybase.io/gatlinnewhouse) on keybase.
  • I have a public key whose fingerprint is 42E1 B326 AA29 9246 EADB 9261 10DE B5A3 0BB4 0490

To claim this, I am signing this object:

@gatlinnewhouse
gatlinnewhouse / to_https_gitlab.sh
Last active August 6, 2017 02:57 — forked from icyflame/to_https.sh
Convert all GitLab git remotes to SSH or HTTPS.
#/bin/bash
#-- Script to automatically convert all git remotes to HTTPS from SSH for gitlab repos
# Script will change all the git remotes.
# If you didn't intend to do that, run the other script in this repo.
# Original 1: https://gist.github.com/m14t/3056747
# Original 2: https://gist.github.com/chuckbjones/9dc6634fe52e56ba45ac
# Thanks to @m14t, @michaelsilver and @chuckbjones.
ssh_to_https(){
REPO_URL=`git remote -v | grep -m1 "^$1" | sed -Ene's#.*(git@gitlab.com:[^[:space:]]*).*#\1#p'`
#/bin/bash
#-- Script to automatically convert all git remotes to HTTPS from SSH
# Script will change all the git remotes.
# If you didn't intend to do that, run the other script in this repo.
# Original 1: https://gist.github.com/m14t/3056747
# Original 2: https://gist.github.com/chuckbjones/9dc6634fe52e56ba45ac
# Original 3: https://gist.github.com/icyflame/532edee5422baeabac56d111f642bd73
# Thanks to @m14t, @michaelsilver and @chuckbjones.
ssh_to_https(){
package main
import (
"fmt"
"io"
"log"
"os"
)
var target_path string
-- Logs begin at Sun 2019-10-13 12:19:42 CEST, end at Sun 2019-10-13 15:15:18 CEST. --
Oct 13 14:03:16 rhizome systemd-journald[421]: Missed 572 kernel messages
Oct 13 14:03:16 rhizome kernel: calling cgwb_init+0x0/0x29 @ 1
Oct 13 14:03:16 rhizome kernel: initcall cgwb_init+0x0/0x29 returned 0 after 0 usecs
Oct 13 14:03:16 rhizome kernel: calling percpu_enable_async+0x0/0xa @ 1
Oct 13 14:03:16 rhizome kernel: initcall percpu_enable_async+0x0/0xa returned 0 after 0 usecs
Oct 13 14:03:16 rhizome kernel: calling kcompactd_init+0x0/0x97 @ 1
Oct 13 14:03:16 rhizome kernel: initcall kcompactd_init+0x0/0x97 returned 0 after 0 usecs
Oct 13 14:03:16 rhizome kernel: calling init_user_reserve+0x0/0x40 @ 1
Oct 13 14:03:16 rhizome kernel: initcall init_user_reserve+0x0/0x40 returned 0 after 0 usecs
@gatlinnewhouse
gatlinnewhouse / gdb results
Created December 31, 2019 11:54
M&B:W debugging
➜ gdb ./mb_warband_linux
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@gatlinnewhouse
gatlinnewhouse / gdb results
Created December 31, 2019 11:56
M&B:W config debugging results
➜ gdb ./mbw_config_linux
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@gatlinnewhouse
gatlinnewhouse / System information from steam
Created December 31, 2019 12:17
System information from steam. why can't I copy-paste this? I had to type it out by hand. Nevermind, it's just not a Ctrl+A Ctrl+C shortcut, you have to right click :|
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
CPU Family: 0x6
@gatlinnewhouse
gatlinnewhouse / gdb results
Created January 7, 2020 15:55
M&B:W tests w/ fix and steam environment
➜ bash ~/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh gdb mb_warband_linux
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@gatlinnewhouse
gatlinnewhouse / laptop
Created March 31, 2020 12:58
Steam Hardware info
Computer Information:
Manufacturer: Notebook
Model: W740SU
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
CPU Family: 0x6