Skip to content

Instantly share code, notes, and snippets.

View akiraaisha's full-sized avatar
🤔

Julian Lugod akiraaisha

🤔
  • Philippines
View GitHub Profile
@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.')
@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 / pldt-home-fibr-an5506-04-fa-rp2616-advanced-settings.md
Created May 21, 2018 07:35 — forked from kleo/backspace.md
PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings

PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings

By default the PLDT HOME FIBR AN5506-04-FA RP2616 comes only with limited settings.

Hidden from the web interface are the rest of the router's capabilities and advanced settings.

We just need to enter the right url for the settings you're looking for.

We need to be logged in before we can do anything else, use your defined password if you already set the admin password.

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
@akiraaisha
akiraaisha / coub_grabber.sh
Last active May 9, 2019 03:19
Coub Downloader
#/bin/sh
color=$(tput setaf 153)
color2=$(tput setaf 6)
set -e
yt -o 1.mp4 "$1"
yt -f html5-audio-high -o 1.mp3 "$1"
printf '\x00\x00' | dd of=1.mp4 bs=1 count=2 conv=notrunc
for i in `seq 1 $2`; do echo "file '1.mp4'" >> 1.txt; done

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: