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
# | |
# "Insertion Sort -- Assembly Version" | |
# | |
# This MIPS assembly code -- based on MIPS R3000's instruction set -- first | |
# receives the number of values to be sorted (N), then receives the values | |
# (for N times) to be sorted, and then sort the values using "Insertion Sort" | |
# and prints the result of the sorting. | |
# | |
# Note: Maximum number of values to be sorted (N) is 999 numbers. | |
# |
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
<?php | |
#API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-SERVER-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = $_GET['id']; | |
#prep the bundle | |
$msg = array | |
( | |
'body' => 'Body Of Notification', |