based on rage-quit support for bash
Put the files below inside ~/.oh-my-zsh/custom/plugins/fuck
Add fuck
to the loaded plugins inside your .zshrc
, and enjoy. Autocomplete is included.
❯ coredumpctl gdb | |
PID: 57547 (jumpy-desktop-b) | |
UID: 1000 (ratijas) | |
GID: 1000 (ratijas) | |
Signal: 11 (SEGV) | |
Timestamp: Fri 2022-02-04 01:36:34 MSK (12s ago) | |
Command Line: ./jumpy-desktop-button | |
Executable: /home/ratijas/projects/playground/jumpy-desktop-button/build/Desktop_Qt_5_15_2_GCC_64bit_system/Debug/jumpy-desktop-button | |
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-org.kde.konsole-60c4801dd60945c5ab4dd5482178a6fe.scope | |
Unit: [email protected] |
$ coredumpctl gdb 42834 | |
PID: 42834 (gammaray-client) | |
UID: 1000 (ratijas) | |
GID: 1000 (ratijas) | |
Signal: 11 (SEGV) | |
Timestamp: Thu 2022-01-27 18:36:57 MSK (26s ago) | |
Command Line: /usr/lib/gammaray/libexec/gammaray-client tcp://127.0.0.1:11732 | |
Executable: /usr/lib/gammaray/libexec/gammaray-client | |
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-org.kde.yakuake-5ff7e14344c34635b05cbe5c74112da6.scope | |
Unit: [email protected] |
-- cache globals to local for speed. | |
local format = string.format | |
local tostring = tostring | |
local tonumber = tonumber | |
local sqrt = math.sqrt | |
local pairs = pairs | |
-- declare DSUS protocol | |
local dsus_proto = Proto.new("DSUS", "DualShock UDP Server/Client for Cemuhook") |
FROM ubuntu:trusty | |
RUN apt-get update && apt-get install -y \ | |
libglib2.0-0 \ | |
wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN wget https://raw.githubusercontent.com/J-Rios/BASH-Scripts/master/install/install_qt5 \ | |
&& chmod +x install_qt5 \ | |
&& ./install_qt5 \ |
import QtQuick 2.12 as QQ | |
import QtQuick.Window 2.12 as QQW | |
import Qt.labs.platform 1.1 as QLP | |
import QtQuick.Controls 2.12 as QQC2 | |
QQW.Window { | |
visible: true | |
width: 640 | |
height: 480 | |
title: qsTr("Hello World") |
use std::{fmt, ops}; | |
pub struct Array2D<T> { | |
width: usize, | |
height: usize, | |
data: Box<[T]>, | |
} | |
impl<T> Array2D<T> { | |
pub fn new(size: (usize, usize)) -> Self |
/* common uses */ | |
pub use std::ptr::{self, null, null_mut}; | |
pub use widestring::*; | |
pub use winapi::shared::minwindef::*; | |
pub use winapi::shared::winerror::*; | |
pub use winapi::um::errhandlingapi::*; | |
pub use winapi::um::winbase::*; | |
pub use winapi::um::winnt::*; | |
pub use winapi::um::winreg::*; |
based on rage-quit support for bash
Put the files below inside ~/.oh-my-zsh/custom/plugins/fuck
Add fuck
to the loaded plugins inside your .zshrc
, and enjoy. Autocomplete is included.
#pre (section zero)
all of a sudden, i wanted something strange: get track info in iTunes completely with keyboard. however, there's one little but annoying point: if you ever made it into "lyrics" tab and your cursor stuck in textarea -- adiós -- you'll never git it out of there without help of mouse. and so, being fed up with that, i finally took some time to deal with problem in top down manner.
##first try
#!/bin/sh | |
# copyright 2016 Ratijas & Mac-J studio | |
# WTF Public Licence | |
# sadly, XLD still does not support .ogg files decoding out of the box. | |
# there's instruction with outdated download link: https://hydrogenaud.io/index.php/topic,81239.0.html, | |
# so here we'll recreate all necessary steps needed to patch up your XLD installation. | |
# we will need git, svn and Xcode (with command line tools) | |
# REWRITE following line if your XLD.app is not at /Applications |