Skip to content

Instantly share code, notes, and snippets.

@jhaubrich
jhaubrich / Arch Linux on a macbook.org
Last active December 2, 2022 19:50
Arch Linux on my MacBook 11,3

Arch Linux on a MacBookPro 11,3

Read The Arch Way, fall in.

Still Todo

I can’t believe how smoothly this went…

  • suspend - seems to work after installing gnome, pm-suspend works too… I have my eye on you. <.<
    • systemctl suspend works, but doesn’t wake properly.
  • power management
  • trackpad
@rtrouton
rtrouton / gist:6552a3010931f7a5b5ae
Created May 11, 2015 12:57
Script to install the latest available version of Adobe Flash for OS X. Includes check of the Developer ID Installer certificate to verify it was signed by Adobe.
#!/bin/bash
# This script downloads and installs the latest Flash player for compatible Macs
# Determine OS version
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
# Determine current major version of Adobe Flash for use
# with the fileURL variable
@rindeal
rindeal / cpuid-dump.c
Last active December 26, 2024 16:58
CPUID dumper
#if !defined(__GNUC__) || ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40800)
# error "This program requires GNU C compiler v4.8+!"
#endif
#include <stdio.h>
#include <stdbool.h>
#define PRINT_TEST_CPU_SUPPORT_RESULT(inst) printf("\t%-7s: %d\n", inst, __builtin_cpu_supports(inst)?1:0)
#define PRINT_TEST_CPU_TYPE_RESULT(inst) printf("\t%-12s: %d\n", inst, __builtin_cpu_is(inst)?1:0)
@jhaubrich
jhaubrich / arch_macbook.md
Last active November 28, 2021 22:53
(historic) Arch Linux on a MacBookPro 11,3 on 2015-03-05 with kernel 3.18.6-1-ARCH

Arch Linux on a MacBookPro 11,3

Read The Arch Way, fall in love you lose.

TODO

I can't believe how smoothly this went...

  • suspend - seems to work after installing gnome, pm-suspend works too... I have my eye on you. <.<
    • systemctl suspend works, but doesn't wake properly.
  • power management
@robvanoostenrijk
robvanoostenrijk / Instructions.md
Last active October 29, 2024 16:44
Install Mac OS X 10.6 SDK on newer Xcode
@0xbb
0xbb / README.md
Last active December 17, 2022 02:13
Macbook Pro 11,3 - Linux - AppleMuxControl reverse engineering
@josephabrahams
josephabrahams / mavericks-iso.sh
Created September 13, 2014 22:20
Create a bootable ISO from the OS X Mavericks app
#!/bin/sh
# Create a bootable ISO from the OS X Mavericks app
# http://thezinx.com/misc/trend/create-bootable-dmg-iso-mavericks-app/
if [ ! -f /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg ]; then
echo "Download the OS X Mavericks App and then rerun this script."
open "https://itunes.apple.com/us/app/os-x-mavericks/id675248567"
exit 1
fi
@iharosi
iharosi / useful-osx-commands.md
Last active September 21, 2023 07:25
Useful OS X commands

###Useful OS X commands

  1. App Store Debug menu

    Show

    defaults write com.apple.appstore ShowDebugMenu -bool true
    

    Hide

@maojj
maojj / BuildDmg.sh
Last active February 19, 2022 23:03
#!/bin/sh
# BuildDmg.sh
# Build OS X .dmg install file
# Author maojiajun
set -eu
###################################################################################
# config, change for you app.
@stefancocora
stefancocora / nvidia-337.12-install_command.sh
Last active November 28, 2021 22:50
Nvidia 337.12 kernel install on kernel 3.14 on macbook pro retina 15 late 2013 ( also known as 11,3 )
IGNORE_CC_MISMATCH=1 bash NVIDIA-Linux-x86_64-337.12.run -a
System specs:
- macbook pro 15 inch retina 11,3
- ubuntu 14.04 beta x64