# put stock boot.img into /sdcard/boot.img
# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftUI+HTML.swift | |
// | |
// Created by Felix Mau on 28.05.21. | |
// Copyright © 2021 Felix Mau. All rights reserved. | |
// | |
import SwiftUI | |
@available(iOS 15.0, *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TagItem.swift | |
// ChalkUp | |
// | |
// Created by kane buckthorpe on 13/03/2021. | |
// | |
import Foundation | |
class TagItem: ObservableObject { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TilingTabView.swift | |
// | |
// | |
// Created by Dan Tavares on 12/07/2020. | |
// | |
import SwiftUI | |
class State: ObservableObject { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
@State var scrollOffset: CGPoint = .zero | |
var body: some View { | |
ObservableScrollView { | |
Text("Hello, world!") | |
.foregroundColor(self.scrollOffset.y == 0 ? .blue : .red) | |
} | |
.onScroll { self.scrollOffset = $0 } |
Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
Install Fish
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios') | |
/* ... */ | |
const params = new URLSearchParams() | |
params.append('name', 'Akexorcist') | |
params.append('age', '28') | |
params.append('position', 'Android Developer') | |
params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/') | |
params.append('awesome', true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647 | |
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 | |
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 | |
org.eclipse.jdt.core.formatter.alignment_for_assignment=0 | |
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 |
NewerOlder