Skip to content

Instantly share code, notes, and snippets.

View troke12's full-sized avatar
🎯
We serve you better

I Made Ocy Darma Putra troke12

🎯
We serve you better
  • Bali
  • 23:57 (UTC +07:00)
View GitHub Profile
@troke12
troke12 / br.md
Last active August 27, 2020 02:24
br
public static function RankBeatmapNew() {
		global $URL;
		global $ScoresConfig;
		try {
			if (!isset($_POST["beatmaps"])) {
				throw new Exception("Invalid form data");
			}

			$bsid = -1;
@troke12
troke12 / total_id_translations.md
Last active September 5, 2020 20:32
total contribute
def verifyUser(userID, hashes):
"""
Activate `userID`'s account.
:param userID: user id
:param hashes: Peppy's botnet (client data) structure (new line = "|", already split
)
[0] osu! version
[1] plain mac addressed, separated by "."
[2] mac addresses hash set
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"time"
)
const Discord = require('discord.js');
const client = new Discord.Client();
var rclient = require('redis').createClient({
host : 'localhost',
port : 6379,
no_ready_check: true,
auth_pass: ''
});
client.on('error', function(err){
@troke12
troke12 / autoexec.cfg
Last active December 30, 2018 12:55
exec config.cfg
unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
@troke12
troke12 / index.php
Created April 4, 2017 11:24
phplistdirectory
<?php
session_start();
class DirectoryListing {
/*
====================================================================================================
Evoluted Directory Listing Script - Version 4
www.evoluted.net / [email protected]
====================================================================================================
SYSTEM REQUIREMENTS
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test</title>
<style media="screen">
body {
margin: 0;
background: #000000 url(images/background.jpg) no-repeat top;
font: normal medium "Verdana", Arial, Helvetica, sans-serif;
@troke12
troke12 / tugas
Created May 8, 2016 12:28
file jordan
#!/bin/bash
#tugasjordan
echo "masukan nilai pertama: "
read nilai1
echo "masukan nilai kedua: "
read nilai2
echo "pilih tipe operasi"