Skip to content

Instantly share code, notes, and snippets.

View foxlet's full-sized avatar

Foxlet foxlet

View GitHub Profile
# set up toolchain
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y software-properties-common python-software-properties
sudo apt-get install -y build-essential g++-7 pkg-config
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-7 --slave /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-7 --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-7
sudo apt-get install -y gawk bison gettext texinfo flex automake libtool libtool-bin
# ubuntu-specific fixes
sudo rm -r /usr/local/etc/ssl/certs
sudo ln -s /etc/ssl/certs /usr/local/etc/ssl/certs
@foxlet
foxlet / .profile
Created July 20, 2018 10:40
A simple bash profile.
# Enable terminal color
export PS1="\[\e[36m\]\h\[\e[m\]:\w \[\e[32m\]\u\[\e[m\]\\$ "
alias "ls=ls --color=auto"
# Default path for Meridian binaries
export PATH=$PATH:/meridian/bin
# My own binaries
export PATH=$PATH:/fox/bin
#!/usr/bin/python3
# remote.py - a tool to control the Sharp Aquos series of TVs
# by Foxlet <foxlet@furcode.co>
import serial
import click
__author__ = "Foxlet"
__copyright__ = "Copyright 2018, FurCode Project"

The Extended Meridian FAQ (PB6)

Meridian Questions

Has Meridian been released?

Yes. Meridian is available as a public beta from https://meridian.sparkes.zone/ and is being updated often.

Does Meridian support tweaks?

No. Meridian does not yet support substrate-based tweaks.

Does Meridian support Coolstar's Substitute?

No. Substitute nor libsubstitute have been added to Meridian at the moment. Support for Substitute will be added in the next public update.

Does Meridian support 10.2.1 or lower devices?

@foxlet
foxlet / offsets.txt
Created December 22, 2017 03:07
iPhone 6S Plus (iPhone8,2 n66ap) v0rtex-S offsets
OFFSET_ZONE_MAP = 0xfffffff007548478;
OFFSET_KERNEL_MAP = 0xfffffff0075a4050;
OFFSET_KERNEL_TASK = 0xfffffff0075a4048;
OFFSET_REALHOST = 0xfffffff00752aba0;
OFFSET_BZERO = 0xfffffff007081f80;
OFFSET_BCOPY = 0xfffffff007081dc0;
OFFSET_COPYIN = 0xfffffff0071803a0;
OFFSET_COPYOUT = 0xfffffff007180594;
OFFSET_CHGPROCCNT = 0xfffffff00738d894; // new offset
OFFSET_KAUTH_CRED_REF = 0xfffffff007367c18; // new offset
@foxlet
foxlet / 091-14782.hash
Last active June 25, 2018 18:33
macOS Installer Data Hashes
macOS 10.13.1 (High Sierra)
091-14782
Build 17B48
SHA1(BaseSystem.dmg)= b38e5f4daa014d324f1a78f91c1f30f6d68289ef
SHA1(InstallESDDmg.pkg)= d815748c242fbbe35754a8f37aea1cfbc7e919f6
SHA1(InstallESD.dmg)= 3877274248f917ea8495421a277b8c092f21b5fb
SHA1(Packages/Core.pkg)= 4e6a361435aecede23a68b0b3fa70cdb11582376
SHA1(Packages/EmbeddedOSFirmware.pkg)= 62670d0dfb7bb74ab0fcb7776f096ef8b0c0ca65
Chrome 51 (Ubuntu/Linux):
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
It’s not so powerful, and today we gonna show you a software breakthrough. Software that’s at least five years ahead of what’s on any other phone. [0:34:55]
Now how do we do this? Well, we start with a strong foundation: iPhone runs OSX.
Now, why, why would we wanna run such a sophisticated operating system on a mobile device? Well, because it’s got everything we need.
It’s got multi-tasking.
It’s got the best networking.
It already knows how to power manage. We’ve been doing this on mobile computers for years. It’s got awesome security.
And the right apps.
It’s got everything from Cocoa and the graphics and it’s got core animation built in and it’s got the audio and video that OSX is famous for.
It’s got all the stuff we want. [0:35:43]
And it’s built right into iPhone. And that has let us create desktop class applications and networking, right. [0:35:52]
@foxlet
foxlet / install-upstart.sh
Last active June 8, 2016 23:46
Stop systemd updates.
#!/bin/sh
sudo apt-get install upstart-sysv sysvinit-utils
# Only on Debian or older Ubuntu systems
# cp /usr/share/sysvinit/inittab /etc/inittab
sudo update-initramfs -u
sudo reboot
"""
yahoocurrency.py
A plugin that uses Yahoos YQL API to get exchange rates for currencies.
Created By:
- Dumle29 <https://github.com/Dumle29>
- Fixed by Foxlet <https://furcode.co>
Special Thanks: