Skip to content

Instantly share code, notes, and snippets.

View flavioipiranga's full-sized avatar

Flávio Ipiranga flavioipiranga

  • Siemens Advanta
  • Praha
View GitHub Profile
@rameezk
rameezk / Fix-Massive-Cursor-in_i3wm.md
Last active June 14, 2024 08:08
Fixing massive cursor size in i3wm on HiDPI screens

Edit /etc/X11/Xresources/x11-common and add the following:

! Cursor
Xcursor.size: 24
Xcursor.theme: DMZ-White 

Then logout/restart

@Scott31393
Scott31393 / Embedded-Linux-Test-Tool-Cheatsheet.md
Last active June 9, 2024 19:10
Embedded-Linux-Test-Tool-Cheatsheet.md

Linux Test Tool Cheatsheet

Compile Main test Tool (Using Yocto)

Append these lines into:

conf/local.conf

BB_NUMBER_THREADS = "5"
@curioswati
curioswati / flatpak-dmenu.md
Last active July 15, 2024 18:43
To run flatpak installed apps from dmenu.

To run a flatpak app from dmenu, you can create a symlink for the app in /usr/bin. You can find the flatpak apps binary link in /var/lib/flatpak/exports/bin/ on ubuntu. E.g. to run Rocket Chat (installed from flatpak via software center), you can do something like this:

sudo ln -s /var/lib/flatpak/exports/bin/chat.rocket.RocketChat /usr/bin/rocket-chat

This way you will be able to find it in the dmenu.

Resources:

@edyrkaj
edyrkaj / MapService.php
Last active September 24, 2023 15:36
Google Maps API Curl Call - Laravel Service
<?php
/**
* Copyright (c) 2017. Ezeclip
*/
namespace App\Services;
class MapService {
// Define Constants
const GOOGLE_API_KEY = "XXX";