Skip to content

Instantly share code, notes, and snippets.

View lmintmate's full-sized avatar
🇬🇷
💻 Doing computer stuff.

lmintmate

🇬🇷
💻 Doing computer stuff.
View GitHub Profile
@benizar
benizar / multiple-git-clone.md
Last active May 3, 2024 21:45
Ubuntu post-installation script for cloning multiple git repositories.

multiple-git-clone.sh

Every time I install Ubuntu on a different computer, I need to clone again the same git repositories. This is why I use this bash script.

Usage

It clones the list of repositories to a convenient working directory in the home folder. I use the /home/git folder.

Arguments are lists of git repositories. One repo per line, one file per list. See the example:

@lmintmate
lmintmate / theming-flatpak.rst
Last active April 18, 2022 05:31
Theming Flatpak

Theming Flatpak

Flatpak applications cannot directly use the system theme. This happens because flatpaks do not have the ability to use data files or libraries in /usr (where system themes are typically located). The solution to this was to package themes as Flatpaks, as relying upon the host to have the correct version for every flatpak defeats the portability benefits it provides. These themes are provided as extensions, to the Freedesktop runtime when the extension point is Gtk, and to the KDE runtime when the extension point is Qt.

The theming system requires Flatpak 0.8.4+ and applications using up to date org.gnome.Platform 3.24+, or org.freedesktop.Platform 1.6+, or org.kde.Platform 5.9+.

Installing themes

@romainl
romainl / colorscheme-override.md
Last active July 14, 2024 01:08
The right way to override any highlighting if you don't want to edit the colorscheme file directly

The right way to override any highlighting if you don't want to edit the colorscheme file directly

Generalities first

Suppose you have weird taste and you absolutely want:

  • your visual selection to always have a green background and black foreground,
  • your active statusline to always have a white background and red foreground,
  • your very own deep blue background.
@adaliabooks
adaliabooks / adaliafundamentals.user.js
Last active December 15, 2023 08:22
A package of fixes, new features and changes to improve GoG.com. I fix GoG, so you don't have to!
// ==UserScript==
// @name Adalia Fundamentals
// @namespace https://gist.github.com/adaliabooks/
// @version 1.9.9
// @description A package of fixes, new features and changes to improve GoG.com. I fix GoG, so you don't have to!
// @author adaliabooks
// @updateURL https://gist.github.com/adaliabooks/bf3cbdbb56db6c107dd8/raw/
// @downloadURL https://gist.github.com/adaliabooks/bf3cbdbb56db6c107dd8/raw/
// @include http://www.gog.com/*
// @include https://www.gog.com/*
@Kuniwak
Kuniwak / vim_org.txt
Created November 27, 2013 17:35
vim.org 【推奨環境】background=dark guifont=SourceCodePro-Regular
..
.::::.
___________ :;;;;:`____________
\_________/ ?????L \__________/
|.....| ????????> :.......'
|:::::| $$$$$$"`.:::::::' ,
,|:::::| $$$$"`.:::::::' .OOS.
,7D|;;;;;| $$"`.;;;;;;;' .OOO888S.
.GDDD|;;;;;| ?`.;;;;;;;' .OO8DDDDDNNS.
'DDO|IIIII| .7IIIII7' .DDDDDDDDNNNF`
@Kuniwak
Kuniwak / all_your_vim_are_belong_to_us.txt
Last active March 23, 2018 08:43
ALL YOUR VIM ARE BELONG TO US 【推奨環境】background=dark guifont=SourceCodePro-Regular
..
.::::.
___________ :;;;;:`____________
\_________/ ?????L \__________/
|.....| ????????> :.......'
|:::::| $$$$$$"`.:::::::' ,
,|:::::| $$$$"`.:::::::' .OOS.
,7D|;;;;;| $$"`.;;;;;;;' .OOO888S.
.GDDD|;;;;;| ?`.;;;;;;;' .OO8DDDDDNNS.
'DDO|IIIII| .7IIIII7' .DDDDDDDDNNNF`
@Kuniwak
Kuniwak / vim_intro.txt
Last active June 2, 2022 03:48
Vimの起動時に表示されるAA。vim-splashを入れて g:splash#path にこのファイルを指定するとhappy。 ライセンスはパブリックドメインです。ご自由にお使いください。【推奨環境】background=dark guifont=SourceCodePro-Regular
..
.::::.
___________ :;;;;:`____________
\_________/ ?????L \__________/
|.....| ????????> :.......'
|:::::| $$$$$$"`.:::::::' ,
,|:::::| $$$$"`.:::::::' .OOS.
,7D|;;;;;| $$"`.;;;;;;;' .OOO888S.
.GDDD|;;;;;| ?`.;;;;;;;' .OO8DDDDDNNS.
'DDO|IIIII| .7IIIII7' .DDDDDDDDNNNF`
@hofmannsven
hofmannsven / README.md
Last active July 16, 2024 01:30
Git CLI Cheatsheet
@miebach
miebach / rotate-a-wb-page-javascript.rst
Last active November 14, 2023 18:28
Rotate a web page 90 degree counter clockwise:

Rotate a web page 90 degree counter clockwise

Chrome

javascript: document.body.setAttribute( "style", "-webkit-transform: rotate(-90deg);");

paste into JS console: Ctrl-Shift-C -> "Console" from top menu