Skip to content

Instantly share code, notes, and snippets.

View phanatagama's full-sized avatar
:octocat:

phanatagama

:octocat:
View GitHub Profile
@phanatagama
phanatagama / main.dart
Created September 14, 2023 18:51
deck card
// Copyright 2020 the Dart project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/physics.dart';
main() {
runApp(
MaterialApp(
@phanatagama
phanatagama / main.dart
Last active September 14, 2023 15:07
Stack Widget
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
//Add this CustomPaint widget to the Widget Tree
const primaryColor = Color(0xFF40128B);
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@phanatagama
phanatagama / QReader.py
Last active September 10, 2020 12:07
Decode QR Code Image
from PIL import Image
from pyzbar.pyzbar import decode
import sys
def decodeQR(file):
return decode(Image.open(file))[0][0].decode('utf-8')
def main():
try:
if len(sys.argv) > 1:
@phanatagama
phanatagama / Gojek Auto Regiser & Login.php
Last active September 10, 2020 12:00
Gojek Voucher 20k
<?php
$secret = '83415d06-ec4e-11e6-a41b-6c40088ab51e';
$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'X-AppVersion: 3.27.0';
$headers[] = "X-Uniqueid: ac94e5d0e7f3f".rand(111,999);
$headers[] = 'X-Location: -6.405821,106.064193';
echo "\n";
@phanatagama
phanatagama / Tiktok Views.js
Last active May 7, 2023 08:57
Get more Views in Tiktok Apps
// ==UserScript==
// @name TTAV
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Educational Purpose (they said)
// @author kangoka
// @include https://fireliker.com/*
// @include https://lputorrents.xyz/*
// @match https://bugsliker.me/index.php?info=Session_Expired
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
@phanatagama
phanatagama / Quizizz.com Auto Answer
Last active December 21, 2023 06:17
Completed Quiziz Test Bot
if (window.location.href.search("quizizz.com/join/game/") == -1 && window.location.href.search("gameType=") == -1) {
if (window.location.href.search("quizizz.com/join/pre-game/") != -1) {
alert("You cannot execute this while paused. If you are not paused please DM phanatagama_ on instagram")
throw new Error("You cannot execute this while paused. If you think this is an error please DM phanatagama_ on instagram!");
} else if (window.location.href.search("quizizz.com/join/quiz/") != -1) {
alert("You need to start the game before running this script. If you think this is an error please DM phanatagama_ on instagram")
throw new Error("You need to start the game before running this script. If you think this is an error please DM phanatagama_ on instagram");
} else {
alert("You aren't on a quizizz quiz. If you think this is an error please DM phanatagama_ on instagram")
throw new Error("You aren't on a quizizz quiz. If you think this is an error please DM
@phanatagama
phanatagama / Quizizz.com Hack Answer
Created August 6, 2020 04:00
Jalankan pada console untuk mendapatkan jawaban.
var x = document.createElement("link");
x.rel = 'stylesheet';
x.type = 'text/css'
x.href = "https://cdn.jsdelivr.net/gh/EastArctica/JS-Plugins@master/Un-Released/Kahoot/KahootModal.css"
document.head.appendChild(x);
var xhttp = new XMLHttpRequest()
var URL = window.location.href
var found = URL.search("https://quizizz.com/join/game/");
if (found == 0) { found = true }