Skip to content

Instantly share code, notes, and snippets.

View papricasix's full-sized avatar

Michael Dudek papricasix

View GitHub Profile
Jul 18 19:32:36 deepblue-arch kernel: [drm:dcn10_enable_timing_synchronization [amdgpu]] *ERROR* GSL: Timeout on reset trigger!
Jul 18 19:32:36 deepblue-arch kernel: [drm] REG_WAIT timeout 1us * 100000 tries - optc1_wait_for_state line:819
Jul 18 19:32:36 deepblue-arch kernel: r8169 0000:27:00.0 enp39s0: Link is Up - 1Gbps/Full - flow control rx/tx
Jul 18 19:32:36 deepblue-arch kernel: ------------[ cut here ]------------
Jul 18 19:32:36 deepblue-arch kernel: WARNING: CPU: 0 PID: 9 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1192 dc_commit_state+0x1347/0x16f0 [amdgpu]
Jul 18 19:32:36 deepblue-arch kernel: Modules linked in: nls_utf8 snd_seq_dummy snd_hrtimer snd_seq rfcomm xt_MASQUERADE nf_conntrack_netlink nfnetlink iptable_nat n>
Jul 18 19:32:36 deepblue-arch kernel: rng_core pinctrl_amd xt_recent mac_hid acpi_cpufreq xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf>
Jul 18 19:32:36 deepblue-arch kernel: CPU: 0 PID: 9 Comm: kworker/0:1H Not tainted 5.18.12-zen1-1-zen #1
Jul 08 23:26:35 deepblue-arch kernel: [Hardware Error]: Corrected error, no action required.
Jul 08 23:26:35 deepblue-arch kernel: [Hardware Error]: CPU:1 (19:21:0) MC7_STATUS[Over|CE|-|AddrV|PCC|-|CECC|-|Poison|Scrub]: 0xc7c7497674fda87a
Jul 08 23:26:35 deepblue-arch kernel: [Hardware Error]: Error Addr: 0x0000000000000000
Jul 08 23:26:36 deepblue-arch kernel: [Hardware Error]: IPID: 0x0000000000000000
Jul 08 23:26:36 deepblue-arch kernel: [Hardware Error]: Bank 7 is reserved.
Jul 08 23:26:36 deepblue-arch kernel: [Hardware Error]: cache level: L2, tx: GEN
http://demo.amitjakhu.com/dripicons/
http://ikons.piotrkwiatkowski.co.uk/
https://github.com/danklammer/bytesize-icons
@papricasix
papricasix / docker-cleanup-resources.md
Created July 9, 2018 15:31 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

#!/bin/zsh
declare -A visited_formulas
check_formulas() {
for formula in "$@"; do
if [[ -z `brew uses --installed $formula` ]] && ! (( ${+visited_formulas[$formula]} )) && [[ $formula != "brew-cask" ]]; then
read "input?$formula is not depended on by other formulas. Remove? [Y/n] "
visited_formulas[$formula]=1
if [[ "$input" == "Y" ]]; then
@papricasix
papricasix / README.md
Last active August 27, 2017 20:48 — forked from pdanford/README.md
Applescript to launch iTerm2 Version 3+ from OS X Finder via keyboard shortcut or Toolbar

Description

Based on info from http://peterdowns.com/posts/open-iterm-finder-service.html but with modified behavior and fixed to work with iTerm2 version 3 or later. It will not work with older versions of iTerm. The modified behavior is to open a new terminal window for each invocation instead of reusing an already open window. Update - The original author released a build script for the newer iTerm2 versions at https://github.com/peterldowns/iterm2-finder-tools that keeps the original behavior of reusing an open iTerm2 window.

To open iTerm2 at selected folder with keyboard shortcut

  1. Run Automator, select a new Service
  2. Select Utilities -> Double click ‘Run AppleScript’
  3. Service receives selected 'folders' in 'finder.app'
  4. Paste script:
@papricasix
papricasix / iterm2-solarized.md
Created August 24, 2017 22:30 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k