Skip to content

Instantly share code, notes, and snippets.

View wellington1993's full-sized avatar
🏠
Working from home

Wellington Torrejais da Silva wellington1993

🏠
Working from home
View GitHub Profile
@luk6xff
luk6xff / ARMonQEMUforDebianUbuntu.md
Last active July 13, 2025 12:02 — forked from bruce30262/ARMDebianUbuntu.md
Emulating ARM with QEMU on Debian/Ubuntu

You might want to read this to get an introduction to armel vs armhf.

If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.

Running ARM programs under linux (without starting QEMU VM!)

First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static so that you can run ARM executables directly on linux

If there's no qemu-arm-static in the package list, install qemu-user-static instead

@EduardoGrtt
EduardoGrtt / uHTTPStatus.pas
Created November 8, 2018 18:03
[Delphi] http status code and descriptions. Copy from: https://github.com/gleisonpauloc/DelphiEasyRest
//HTTP status code from: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
unit uHTTPStatus;
interface
const
StatusContinue = 100; //[RFC7231, Section 6.2.1]
StatusSwitchingProtocols = 101; //[RFC7231, Section 6.2.2]
StatusProcessing = 102; //[RFC2518]
@konstantinbo
konstantinbo / custom-ubuntu-18.04.sh
Last active June 21, 2023 18:40
Thing to do after installation of Ubuntu 18.04 Bionic Beaver
# First you update your system
sudo apt update && sudo apt-get upgrade
# Uninstall unnecessary programs
# essential programs
sudo apt --assume-yes install g++ libtool automake htop gparted vlc firefox inkscape steam filezilla k4dirstat speedcrunch feh
# Python 3.7
sudo apt install python3.7 python3-venv python3-pip
# gdebi for easy click-install of *.deb
# thread pool class
class ThreadPool
def initialize(size)
@size = size
@jobs = Queue.new
@pool = Array.new(@size) do |i|
Thread.new do
Thread.current[:id] = i
catch(:exit) do
loop do

Fix for FOUC :

At the top of your HTML:

<!doctype html>
<html>
<head>
    <style>html{visibility: hidden;opacity:0;}</style>
@h0bbel
h0bbel / sources.list
Last active May 29, 2025 07:50
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
@Yoric
Yoric / Errors.log
Created October 1, 2018 08:59
Error logs
Successfully compiled asm.js code (total compilation time 0ms; not stored in cache (too small to benefit)) adblockplus.js
InvalidStateError: RTCPeerConnection is gone (did you enter Offline mode?) background.js:113
[bug 1345098] Lazy browser prematurely inserted via 'messageManager' property access:
getter@chrome://browser/content/tabbrowser.js:2020:37
getAllFrames@chrome://extensions/content/parent/ext-webNavigation.js:192:15
call/result</<@resource://gre/modules/ExtensionParent.jsm:948:49
withPendingBrowser@resource://gre/modules/ExtensionParent.jsm:602:26
async*call/result<@resource://gre/modules/ExtensionParent.jsm:947:16
withTiming@resource://gre/modules/ExtensionParent.jsm:908:14
@wellington1993
wellington1993 / INSTALL.md
Created September 21, 2018 10:08 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@ivermac
ivermac / config.md
Created September 8, 2018 16:17 — forked from 0XDE57/config.md
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable.

I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@Informatic
Informatic / domain.xml
Last active July 3, 2025 14:37
How to use Windows 10 OEM license in libvirt VM (<smbios mode='host' /> does not work as Windows seems to verify UUID; apparmor/security configuration changes may be needed)
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<!-- ... -->
<qemu:commandline>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/slic.bin'/>
<qemu:arg value='-acpitable'/>
<qemu:arg value='file=/some/path/msdm.bin'/>
<qemu:arg value='-smbios'/>
<qemu:arg value='file=/some/path/smbios_type_0.bin'/>
<qemu:arg value='-smbios'/>