Skip to content

Instantly share code, notes, and snippets.

packages.objectbox-c = with pkgs; let
pname = "objectbox-c";
version = "0.18.1";
src = fetchurl {
url = "https://github.com/objectbox/${pname}/releases/download/v${version}/objectbox-linux-x64.tar.gz";
hash = "sha256-oYz8ZBNdoTG3NDOuiu0JbmiAmSg4jQf9DQQIMZaNfNQ=";
};
in
stdenv.mkDerivation rec {
inherit pname version src;
@Herrie82
Herrie82 / gist:dfedabe4ebb497063fec48ef97d76861
Last active March 4, 2021 07:44
Halium 7.1/9.0 LuneOS build instruction
Short description on how to build LuneOS with Halium 7.1/9.0:
1. Build Halium as per guide on:
http://docs.halium.org/en/latest/
Basically the parts "Get Halium Source": https://docs.halium.org/en/latest/porting/get-sources.html
And https://docs.halium.org/en/latest/porting/build-sources.html#initialize
In general LuneOS only needs the system.img (and vendor.img for Halium 9.0 where available) created and archived, so the following commands will suffice:
@maxtaco
maxtaco / bot-signup-flow.md
Last active May 5, 2023 16:47
New bot signup flow

Get a Bot Token

As your keybase user run:

$ keybase bot token create > /tmp/bot-token

You'll get back a base64 token, like: 6C37sjCBgMNf06Z6oTgixIxHJpja8G-Qp. This is your bot token that allows you to sign up bots.

@AnnoyingTechnology
AnnoyingTechnology / lenovo_legion_y530_linux_compatibility_issues_fix.md
Last active April 19, 2024 00:15
Lenovo Legion Y530 Linux issues and solutions for wifi and touchpad mostly (Debian & Ubuntu)

Intel i7-8750H nVidia GTX 1050 Ti

Summary of my findings (Please comment if you can get further than me) :

edit: 06/2019 guys in the comments have found workarounds and new solutions !

Most importantly : Lenovo refuses to provide any kind of support for their product on Linux, even though the computer is sold without an OS

Ubuntu 18.04

@theonlytruegod
theonlytruegod / Quizlet Match Hack Code (use tampermonkey chrome extension)
Last active April 20, 2024 12:09
MOST LIKELY NOT WORKING, I AM NO LONGER UPDATING THIS!!!
// ==UserScript==
// @name Quizlet Match Hack
// @namespace Gabe B. Talafous
// @version 1.6
// @description The time will freeze at 0.5 and the answers will be the same color
// @author You
// @match https://quizlet.com/*/*
// @grant none
// @license MIT
// ==/UserScript==
@MrCyjaneK
MrCyjaneK / MooMoo.io UserScript.js
Created August 4, 2017 12:07
created by t.me/H4ck3rsTeam
// ==UserScript==
// @name moomoo auto aim / aimbot and auto heal, working after patch
// @namespace -
// @version 1.2
// @description aims at nearest player and heals when you're hurt (Toggle key: I)
// @author H4ck3rsTeam
// @match *://moomoo.io/*
// @grant none
// ==/UserScript==
@jsaneu
jsaneu / wiki-crawler.md
Last active March 22, 2021 12:44
MediaWiki Crawler

Gets the website

wget -nH --reject-regex 'Especial|Special|Ayuda|Help|action|printable|Archivo:' --recursive --page-requisites --html-extension --convert-links --restrict-file-names=windows --domains domain.com --no-parent http://domain.com/wiki

Remove external links regexp

Find: (<a[^>]*href="http)[^"]*("[^>]*>)([^"]*)(</a>)

Replace: $3

@pitch-gist
pitch-gist / gist:2999707
Created June 26, 2012 22:21
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>