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
| [2/6/2022] So this is how it all begins, one blank page of nothingness and me just here writing. I honestly don't see why I am doing this initially but I want to do this. It's fun, and that way I can write random stuff on a random text space where there is no limitation to how much I can write. I will name this LTE Potato. It's the potato LTE by Knockton. HAHAAAA I can rant about weird subjects like why is october not the 8th month of the year. Take that twitter, you can't stop me from making large theories anymore. Damn text limit lol. Imagine using twitter, cringe (I am cringe). And what's up with that twitter notification sound. Wasn't it a little tweet noise? or is there just some massive mandella effect going on. I swear you could get the bird noise on phones, but now it's just a generaic notification sound. What is wrong. I must have been brainwashed, damn technology, too many videogames -_-. Wow it's really hot in here, no matter what I do, window wide open, fan on, it never cools down in my room. It's |
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
| package de.winterberg.android.sandbox.sample1; | |
| import android.content.Context; | |
| import android.graphics.*; | |
| import android.view.View; | |
| import android.view.animation.Animation; | |
| import android.view.animation.LinearInterpolator; | |
| import android.view.animation.RotateAnimation; | |
| /** |
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 | |
| ############################################################################################################## | |
| ### 1. Name your profiles with the convention of ProjectName_TargetName_ConfigurationName.mobileprovision ### | |
| ### 2. Create a directory called CodeSign in your project directory ### | |
| ### 3. Move all your project's provisioning profiles into the CodeSign directory ### | |
| ### ### | |
| ### Running this script will update your project file to point to the correct UUIDs of each corresponding ### | |
| ### profile in your CodeSign directory. ### | |
| ############################################################################################################## |
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
| // | |
| // BlockBasedSelector.h | |
| // | |
| // Created by Charlton Provatas on 11/2/17. | |
| // Copyright © 2017 CharltonProvatas. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| @interface BlockBasedSelector : NSObject |
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
| /* DeviceUID.h | |
| #import <Foundation/Foundation.h> | |
| @interface DeviceUID : NSObject | |
| + (NSString *)uid; | |
| @end | |
| */ | |
| // Device.m |
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
| extension UIView { | |
| func isPossiblyVisible() -> Bool { | |
| guard isHidden == false, | |
| alpha > 0, | |
| bounds != .zero, | |
| let window = window, // In a window's view hierarchy | |
| window.isKeyWindow, // Does not consider cases covered by another transparent window | |
| window.hitTest(convert(center, to: nil), with: nil) != self | |
| else { return false } |
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
| defaults write xcodebuild PBXNumberOfParallelBuildSubtasks 4 | |
| defaults write xcodebuild IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4 | |
| defaults write com.apple.xcode PBXNumberOfParallelBuildSubtasks 4 | |
| defaults write com.apple.xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 4 |
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
| .retryWhen(errors -> errors.flatMap(error -> { | |
| // For IOExceptions, we retry | |
| if (error instanceof RetrofitError) { | |
| RetrofitError retrofitError = (RetrofitError) error; | |
| Response response = retrofitError.getResponse(); | |
| if (response.getStatus() == 504) { | |
| return Observable.just(null); | |
| } | |
| } | |
| // For anything else, don't retry |
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
| @Override | |
| public void setUserVisibleHint(boolean visible) { | |
| super.setUserVisibleHint(visible); | |
| if (visible && isResumed()) { | |
| // fragment is visible. do some stuff | |
| } | |
| } |
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
| package demo; | |
| public interface Node {} |
NewerOlder