Skip to content

Instantly share code, notes, and snippets.

Avatar

Taha Logicbloke

View GitHub Profile
@Logicbloke
Logicbloke / kahoot.php
Created May 31, 2020
Cheat: Revealing all questions and answers of a Kahoot quiz.
View kahoot.php
<?php
error_reporting(null);
if(!isset($_GET["pin"]))
die("No PIN?");
$url = "https://kahoot.it/rest/challenges/pin/".$_GET["pin"];
$response = file_get_contents($url);
$jresponse = json_decode($response, TRUE);
@Logicbloke
Logicbloke / MainActivity.java
Created Jan 13, 2018
Geolocation across Android versions
View MainActivity.java
public class MainActivity extends AppCompatActivity {
final private int REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS = 124;
private LocationManager locationManager;
private LocationListener locationListener;
private Location CurrentLocation;
SharedPreferences prefs;
@Override
View gist:84368089e59c57b667fab5ec252199e0
Verifying that +logicbloke is my blockchain ID. https://onename.com/logicbloke
You can’t perform that action at this time.