This is the sequence of steps to follow to create a root gh-pages
branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
// | |
// RSTimingFunction.h | |
// | |
// Created by Raphael Schaad on 2013-09-28. | |
// This is free and unencumbered software released into the public domain. | |
// | |
#import <UIKit/UIKit.h> |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
module Serials.Route.Test where | |
import Control.Monad.Trans (lift) | |
import Control.Monad.Trans.Either |
#!/bin/sh | |
# multi SSID with VLAN script, for ASUS AC86U with merlin | |
# | |
# setup before hand: | |
# set "router" to "AP Mode" | |
# this will put all ports and wireless in br0 | |
# create 2 guest network | |
# enable Administration => System => Enable JFFS custom scripts and configs | |
# put this script in /jffs/scripts/, name should be "services-start" |
Here's what needs to be done in order to use security scoped bookmarks on Mac Catalyst:
You need an entitlement: "com.apple.security.files.bookmarks.app-scope" needs to be se to 1.
Pass both NSURLBookmarkCreationWithSecurityScope
and NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess
when creating the bookmark.
Note: The headers mark these API as unavailable for iOS, and this indeed does only work on Mac and not iOS. However, Mac Catalyst really is a Mac app, so using these values is fine. In order to allow compilation, use following:
In this gist, you can find the steps to run Minecraft 1.16.4 natively on Apple Silicon (AS), without needing Rosetta 2 translation of the dependencies (mainly LWJGL and related libraries).
While it's possible to use a launcher like MultiMC to have a prettier way to run the game on AS, it requires installing even more dependencies (like QT) which take time and are difficult to distribute. Therefore, I've put together a command line-based launcher tool using a couple shell & Python scripts.
To get up and running quickly, follow the steps below. Otherwise, for more detail, watch my YouTube video.