Skip to content

Instantly share code, notes, and snippets.

View acidburn0zzz's full-sized avatar

acidburn acidburn0zzz

View GitHub Profile
@acidburn0zzz
acidburn0zzz / AdobeAMDFix.md
Created November 30, 2021 18:22 — forked from naveenkrdy/AdobeAMDFix.md
To fix adobe products crashes on AMD hackintosh

Adobe Crash Fix XLNC

Instructions

  1. Install needed adobe apps from adobe creative cloud.

  2. Open Terminal.

  3. Copy-paste the below command to your terminal and run it (enter password when asked).

@acidburn0zzz
acidburn0zzz / DataTypes.h
Created January 24, 2021 08:30 — forked from knightsc/DataTypes.h
dtrace-338.0.1 missing DataTypes.h file from llvmCore-3425.0.36
/* include/llvm/Support/DataTypes.h. Generated from DataTypes.h.in by configure. */
/*===-- include/Support/DataTypes.h - Define fixed size types -----*- C -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* *|
|* This file is distributed under the University of Illinois Open Source *|
|* License. See LICENSE.TXT for details. *|
|* *|
|*===----------------------------------------------------------------------===*|
|* *|
@acidburn0zzz
acidburn0zzz / vivaldi-linux-media-single-user.md
Created September 7, 2020 05:36 — forked from ruario/vivaldi-linux-media-single-user.md
Running the the Vivaldi Linux update-ffmpeg and update-widevine scripts without using root

Intro

The update-ffmpeg and update-widevine scripts included in the Vivaldi install directory are provided to fix situations where proprietary media (AVC/H.264 and AAC) and Widevine (DRM/EME) respectively, are not setup correctly.

These scripts are primarily intended to be run as root (or under sudo) as they create and update files and directories that are root owned. However both support a command line option (--user) that adjusts their installation directories and thus allows them to be run without escalation.

The --user options were made for internal usage, with locally ‘unpacked’ copies of Vivaldi (i.e. not installed). However, it is possible to use them with standard installs (albeit with a little tweaking in the case of update-widevine).

update-ffmpeg

@naveenkrdy
naveenkrdy / AdobeAMDFix.md
Last active May 6, 2025 06:28
To fix adobe products crashes on AMD hackintosh

Adobe Crash Fix XLNC

Instructions

  1. Install needed adobe apps from adobe creative cloud.

  2. Open Terminal.

  3. Copy-paste the below command to your terminal and run it (enter password when asked).

@knightsc
knightsc / build-xnu-4903.270.47.sh
Created April 11, 2020 19:03
A script to build XNU version 4903.241.1 (macOS Mojave 10.14.3).
#! /bin/bash
#
# build-xnu-4903.270.47.sh
# Scott Knight
#
# Based on the script by Brandon Azad
# https://gist.github.com/bazad/654959120a423b226dc564073b435453
#
# A script showing how to build XNU version 4903.270.47 on macOS Mojave
# 10.14.6 with Xcode 10.3
@acidburn0zzz
acidburn0zzz / 01_summary.txt
Created February 21, 2019 12:37 — forked from andrew/01_summary.txt
List of depended upon scoped packages in npm pulled from https://libraries.io
Total discovered scoped packages: 843
Total users who published discovered scoped packages: 304
Total published npm modules dependent on discovered scoped packages: 587
Total scoped modules depended upon by open source github repos: 599
Total open source github repos dependent on discovered scoped packages: 1105 (944 not forks)
Total github users/orgs depending upon discovered scoped packages: 412
@acidburn0zzz
acidburn0zzz / p2sh_p2wpkh.rb
Created January 23, 2019 08:10 — forked from pierrenoizat/p2sh_p2wpkh.rb
Generate Segwit P2SH-P2WPKH address, create tx spending from it.
require 'btcruby'
require 'bitcoin'
require 'bech32'
require './segwit_addr'
require 'active_support'
require 'active_support/core_ext'
require 'ffi'
# Computation of P2SH-P2WPKH address
@acidburn0zzz
acidburn0zzz / base64.js
Created December 23, 2018 22:21 — forked from stubbetje/base64.js
Base64 encode and decode in javascript
var Base64 = {
characters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" ,
encode: function( string )
{
var characters = Base64.characters;
var result = '';
var i = 0;
do {
@acidburn0zzz
acidburn0zzz / dnsmasq.conf
Created October 10, 2018 07:46
dnsmasq 127.0.0.1:53 -> 127.0.0.1:54 (osx)
port=53
address=/lo0/127.0.0.1
server=127.0.0.1#54
user=nobody
group=nobody
interface=lo0
listen-address=127.0.0.1
no-dhcp-interface=lo0
bind-interfaces