Skip to content

Instantly share code, notes, and snippets.

View TheGP's full-sized avatar
💭
Hold on. I'm recompiling the universe...

Eugene Bos TheGP

💭
Hold on. I'm recompiling the universe...
View GitHub Profile
=== START CALAMARES 3.3.5
2025-03-18 - 21:48:46 [6]: void CalamaresApplication::init()
2025-03-18 - 21:48:46 [6]: Calamares version: 3.3.5
2025-03-18 - 21:48:46 [6]: .. Using Qt version: 5.15.13
2025-03-18 - 21:48:46 [6]: .. Build type: None
2025-03-18 - 21:48:46 [6]: .. Using PyBind11
2025-03-18 - 21:48:46 [6]: .. Using settings: "/etc/calamares/settings.conf"
2025-03-18 - 21:48:46 [6]: .. Using log file: "/home/lubuntu/.cache/calamares/session.log"
2025-03-18 - 21:48:46 [6]: .. Languages: ("ar", "as", "ast", "az", "az_AZ", "be", "bg", "bn", "ca", "ca@valencia", "cs_CZ", "da", "de", "el", "en", "en_GB", "eo", "es", "es_AR", "es_MX", "et", "eu", "fa", "fi_FI", "fr", "fur", "gl", "he", "hi", "hr", "hu", "id", "is", "it_IT", "ja", "ka", "ko", "lt", "ml", "mr", "nb", "nl", "oc", "pl", "pt_BR", "pt_PT", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sr@latin", "sv", "tg", "th", "tr_TR", "uk", "vi", "zh_CN", "zh_TW")
2025-03-18 - 21:48:46 [6]: bool Calamares::initQmlModulesDir()
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scroll Positions and Distances</title>
<style>
body {
height: 3000px; /* Adding white space */
}
@TheGP
TheGP / orm.rs
Last active November 19, 2024 20:02
#[derive(Debug, Deserialize, Serialize, ORM)]
#[orm(table = "cakes")]
struct Cake {
#[orm(primary_key)]
id2: Option<i32>,
name: String,
flavor: Option<String>,
#[orm(skip)]
test: Option<String>,
}
We couldn’t find that file to show.
@TheGP
TheGP / gist:de306fd1d5e068f0b8df4a9a22e19e6f
Last active November 2, 2021 13:16
unbluring images on zenmode.shop отключение размытия изображений на сайте zenmode.shop (script for tamper/greese/violent monkey) установите плагин tamper/greese/violent monkey, нажмите добавить скрипт и скопируйте туда содержимое
// ==UserScript==
// @name zenmod unblur
// @version 1
// @grant GM_addStyle
// @include https://chel.zenmod.shop/*
// @include http://*.zenmod.shop/*
// @run-at document-start
// @author EugeneBos
// ==/UserScript==
@TheGP
TheGP / karabiner.json
Created November 24, 2020 11:28
Mac for playing dota2 config for karabiner elements /Users/$USERNAME/.config/karabiner/
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@TheGP
TheGP / gist:c11e188894eabb384393e38b88b2f671
Last active September 8, 2024 18:42
windows setup to make more like mac
SharpKeys install and
swap left ctrl and alt
capslock - home
NumLock - turn off
Ins - turn off
.ahk file put in startup folder and install https://www.autohotkey.com/
C:\Users\gp\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
@TheGP
TheGP / gist:0659811f4f07562cbed9f16186bc59a4
Last active September 8, 2024 18:40
Ubuntu desktop set up to make more like mac
swapping alt & ctrl with gnome tweaks:
https://askubuntu.com/questions/93624/how-do-i-swap-left-ctrl-with-left-alt-on-my-keyboardkeyboardkeyboardkeyboardkeyboard
sudo gedit /usr/share/X11/xkb/symbols/pc
compare it with (ignore capslock change)
https://gist.github.com/postrational/dd305349bb69f6e25ef0f21809a927eb
#setxkbmap -layout us
@TheGP
TheGP / gist:693ef6ac20b5e6620516c84deb071555
Created December 16, 2016 12:27
mailwizz bash launcher
#!/bin/bash
loop=0
while [ $loop -lt 5000 ]; do
echo 'launched'
/usr/local/bin/php /home/e/eugenebos/makedreamprofits.ru/public_html/mailwizz/apps/console/console.php send-campaigns &
sleep 10
loop=$(($loop+1))
done
@TheGP
TheGP / gist:840fceec4d1beba526c9dd753d503e83
Created October 28, 2016 10:42
css inliner's mistake
<!DOCTYPE html>
<html>
<head><meta name="charset" content="utf-8">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&amp;subset=cyrillic" rel="stylesheet" /><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta charset="UTF-8">
<style type="text/css">* {
font-size: 16px;
line-height: 150%;
}
body, a, p, h1, h2, h3, h4, span, div {
font-family: 'Open Sans', 'OpenSans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;