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
/**CracklePop for hackerschool.com application | |
*@author Shravan Jambukesan | |
*/ | |
public class CracklePop{ | |
public static void main(String[] args) { | |
for (int x = 1; x <= 100; x++) | |
{ |
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
#!/bin/bash | |
# Requires curl and jq (https://stedolan.github.io/jq/) | |
# To run, make executable with chmod +x then execute with ./QuerryAppStoreRecord.sh com.company.app | |
# For example, ./QueryAppStoreRecord org.videolan.vlc-ios | |
curl -s https://itunes.apple.com/lookup?bundleId=$1 | jq '.' |
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
public override async void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken) | |
{ | |
var token = ""; | |
/* Tokens generated on devices running iOS 13+ follow a different format which requires conversion for the backend to process them | |
More info: https://nshipster.com/apns-device-tokens/ | |
*/ | |
if (UIDevice.CurrentDevice.CheckSystemVersion(13, 0)) | |
{ | |
byte[] result = new byte[deviceToken.Length]; | |
Marshal.Copy(deviceToken.Bytes, result, 0, (int)deviceToken.Length); |