Skip to content

Instantly share code, notes, and snippets.

View lucsoft's full-sized avatar
:shipit:

lucsoft lucsoft

:shipit:
View GitHub Profile
@lucsoft
lucsoft / GnomeNested.sh
Last active July 9, 2024 07:17 — forked from davidedmundson/PlasmaNested.sh
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
# Fetch Resolution
RES=$(xdpyinfo | awk '/dimensions/{print $2}')
# Apply Resolution in env and start a new nested gnome with a new dbus
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested

The fact that actual Apple Executives are on this server using, recommending and condoning tweaks blows my mind, I'd think that they'd be against the idea of sharing what they use and discussing them as if they are just normal users, I mean as far as I'm aware Apple hates jailbreaking devices and wants to stop it at all costs, that's why it's getting harder to do, but the fact that they are here discussing tweaks and saying the price of them, essentially recommending them, still blows my mind. I understand they are here mainly to add features to the default iOS, but that doesn't necessarily mean you have talk about it and help others out with tweaks. Not complaining.

I personally think it's awesome.

import UIKit
import Social
import SwiftUI
import MobileCoreServices
@objc(CustomShareNavigationController)
class CustomShareNavigationController: UINavigationController {
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
@lucsoft
lucsoft / hexToString.js
Created March 13, 2020 08:31
hex to string in JS
function hexToString (hex) {
var string = '';
for (let i = 0; i < hex.length; i += 2) {
string += String.fromCharCode(parseInt(hex.substr(i, 2), 16));
}
return string;
}
@lucsoft
lucsoft / config.js
Created August 27, 2019 12:56
Testing QUinit with WebGen
window.QUnit = {
config: {
altertitle: false
}
};