Skip to content

Instantly share code, notes, and snippets.

View iksaku's full-sized avatar
🎯
Focusing

Jorge González iksaku

🎯
Focusing
View GitHub Profile
@iksaku
iksaku / VirtualInventories.php
Created June 11, 2015 21:41
Way to open virtual custom inventories in MCPE :D (Work in progress...) Special thanks to @alejandroliu and @PEMapModder for a previous research :3
<?php
/**
* @name VirtualInventories
* @main VirtualInventories\Loader
* @version 1.0.0
* @api 1.12.0
* @description Way to open virtual custom inventories
* @author iksaku
*/
@iksaku
iksaku / ServerUpdater.php
Last active June 1, 2016 03:55
Update all the servers located in a "Parent directory" (Need custom "src/" folder method for accessing PocketMine API)
<?php
/**
* @name ServerUpdater
* @main ServerUpdater\Loader
* @version 1.0.0
* @api 1.12.0
* @description Updates all server's PHAR file
* @author iksaku
*/
@iksaku
iksaku / SkinR.php
Last active November 14, 2017 04:59
Little PocketMine-MP Script to randomize player's skins
<?php
/**
* @name SkinR
* @main SkinR\Loader
* @version 1.0.0
* @api 1.12.0
* @description Little PocketMine-MP Script to randomize player's skins
* @author iksaku
*/

Keybase proof

I hereby claim:

  • I am iksaku on github.
  • I am iksaku (https://keybase.io/iksaku) on keybase.
  • I have a public key ASACFE1uAbEfXqwzTxdt6Hs0vHPP9cuouB_7f6j8jOoDEAo

To claim this, I am signing this object:

@iksaku
iksaku / .bashrc
Last active January 22, 2019 18:40
Bash CLI Config
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@iksaku
iksaku / RUMA.py
Created November 14, 2017 17:58
Pythonista script for recursive summatory of consecutive numbers
import console
def tryInput(prompt=None):
value = input(prompt)
try:
if int(value) <= 0:
raise ValueError
return int(value)
except ValueError:
print('Numbers should be integers, and here must be higher than Zero...')
@iksaku
iksaku / Matrices.cpp
Last active December 1, 2017 03:19
Pequeño script para crear matrices e imprimir varios de sus valores.
#include <iostream>
using namespace std;
int main() {
int numeros[999][999];
int filas, columnas;
int i, j;
int x;
@iksaku
iksaku / wpa_supplicant.conf
Created February 5, 2019 03:19
Raspberry Pi's Wi-Fi settings template for headless setup
ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
network={
ssid="<SSID Goes Here>"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="<Password Goes Here>"
#!/bin/bash
# Add Microsoft's APT Repository
curl -s https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo bash -c "curl -s https://packages.microsoft.com/config/ubuntu/18.04/prod.list > /etc/apt/sources.list.d/mssql-release.list"
# Get the packages
sudo apt update
sudo ACCEPT_EULA=Y apt -y install msodbcsql17 mssql-tools
sudo apt -y install unixodbc-dev
@iksaku
iksaku / Pretender.php
Last active July 23, 2022 13:59
Pretender Middleware for Laravel apps that rely heavily on JS frameworks
<?php
namespace App\Http\Middleware;
use Cache;
use Closure;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\RequestOptions;
use Illuminate\Http\Request;