Permission | Group |
---|---|
android.permission.USE_FINGERPRINT | android.permission-group.SENSORS |
android.permission.READ_PROFILE | null |
android.permission.WRITE_PROFILE | null |
android.permission.READ_SOCIAL_STREAM | null |
android.permission.WRITE_SOCIAL_STREAM | null |
android.permission.READ_USER_DICTIONARY | null |
android.permission.WRITE_USER_DICTIONARY | null |
com.android.alarm.permission.SET_ALARM | null |
This file contains hidden or 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
#!/bin/bash | |
###################################################### | |
# Usage: | |
# put this script in top of FFmpeg source tree | |
# ./build_android | |
# | |
# It generates binary for following architectures: | |
# ARMv6 | |
# ARMv6+VFP | |
# ARMv7+VFPv3-d16 (Tegra2) |
This file contains hidden or 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
#import <UIKit/UIKit.h> | |
@interface SPKPageViewController : UIPageViewController | |
@end |
This file contains hidden or 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
#!/bin/sh | |
# Create a RAM disk with same perms as mountpoint | |
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions | |
# Usage: sudo ./xcode_ramdisk.sh start | |
USERNAME=$(logname) | |
TMP_DIR="/private/tmp" | |
RUN_DIR="/var/run" |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Published on https://gist.github.com/dral3x/1bbcedaa871fcd04f303 | |
## Common | |
function __openFileWithApp() | |
{ | |
if [[ -z "$1" || "$#" -ne 2 ]]; then | |
echo -e "Nothing found\n" |
This file contains hidden or 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
Verifying that +dral3x is my blockchain ID. https://onename.com/dral3x |
This file contains hidden or 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
03-08 15:47:56.790 11356-11356 I/art: Late-enabling -Xcheck:jni | |
03-08 15:47:56.915 11356-11356 I/InstantRun: Instant Run Runtime started. Android package is com.spreaker.android.radio, real application class is com.spreaker.android.radio.Application. | |
03-08 15:48:04.399 11356-11356 W/art: Failed to find OatDexFile for DexFile /data/data/com.spreaker.android.radio/files/instant-run/dex/slice-slice_9-classes.dex ( canonical path /data/data/com.spreaker.android.radio/files/instant-run/dex/slice-slice_9-classes.dex) with checksum 0xf0498510 in OatFile /data/data/com.spreaker.android.radio/cache/slice-slice_9-classes.dex | |
03-08 15:48:05.170 11356-11356 W/art: Failed to find OatDexFile for DexFile /data/data/com.spreaker.android.radio/files/instant-run/dex/slice-slice_8-classes.dex ( canonical path /data/data/com.spreaker.android.radio/files/instant-run/dex/slice-slice_8-classes.dex) with checksum 0x61556ef3 in OatFile /data/data/com.spreaker.android.radio/cache/slice-slice_8-classes.dex | |
03-08 15:48:12.558 11356-1135 |
This file contains hidden or 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
import UIKit | |
var output = [String: Any]() | |
for index in 0..<5 { | |
let mail = String(format: "%[email protected]", index) | |
let name = String(format: "name_%d", index) | |
let id = NSNumber.init(value: index) | |
let item: [String: Any] = ["name": name, "id": id] | |
I hereby claim:
- I am dral3x on github.
- I am dral3x (https://keybase.io/dral3x) on keybase.
- I have a public key ASCpu5Ij6vn0s9B3cEZJWmGH2kS_HIxJkG0JKkMrKE0UDAo
To claim this, I am signing this object:
This file contains hidden or 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
import SwiftUI | |
extension View { | |
func frameGeometry(_ color: Color = .red) -> some View { | |
modifier(FrameGeometry(color: color)) | |
} | |
} | |
private struct FrameGeometry: ViewModifier { | |
let color: Color |