Skip to content

Instantly share code, notes, and snippets.

View page2me's full-sized avatar

page2me kitarotao page2me

View GitHub Profile
@page2me
page2me / cissp_notes.md
Created November 7, 2022 01:21 — forked from penafieljlm/cissp_notes.md
Personal CISSP Study Notes

CISSP Notes

CIA Triad

  • Confidentiality
    • Resources should be protected from unauthorized access
    • Prioritized by governments
    • Concepts
      • Sensitivity
        • How harmful is disclosure
  • Discretion
@page2me
page2me / MicrosoftTeams-GetTeamLink.ps1
Created April 17, 2022 17:38 — forked from mrik23/MicrosoftTeams-GetTeamLink.ps1
Script to construct team link using Microsoft Teams PowerShell module
/*
* Legit auto pop by Noxturnix
* Version 0.3
*
* How to use:
* 1. Go to https://popcat.click/
* 2. Press F12
* 3. Go to "Console" tab
* 4. Ignore the warning. There's no such malicious codes in this script. You can try to understand the code if you want
* 5. Copy and paste this script
@page2me
page2me / popcat.js
Created August 15, 2021 15:39 — forked from rayriffy/popcat.js
popcat.click clicker
// popcat auto-clicker
// by rayriffy
// drop this into DevTools console
// to run:
// let agent = clicker()
//
// to stop:
// agent.stop()
/*
1) Open https://popcat.click
2) Open console (F12)
3) Insert code & run
*/
var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
@page2me
page2me / main.py
Created October 2, 2020 13:40
HackerRank - Circular Array Rotation
#!/usr/bin/env python
def line_int():
return [int(x) for x in input().split(' ')]
def main():
(n, k, q) = line_int()
arr = line_int()
r = k%n
@page2me
page2me / 01-Learning-Python3.md
Created February 21, 2020 09:29 — forked from kenjyco/01-Learning-Python3.md
Learn Python 3 with Jupyter Notebook

Learning Python 3

This gist provides the learning-python3.ipynb notebook file, which can be viewed and edited in a Jupyter Notebook server to learn Python 3.

Once you load the notebook file to your local jupyter server, you can edit any

@page2me
page2me / send-magic-packet.sh
Created January 19, 2020 12:08 — forked from SteveMarshall/send-magic-packet.sh
Wake-On-Lan Magic Packet using netcat in bash
#!/usr/bin/env bash
mac_address=$1
# Strip colons from the MAC address
mac_address=$(echo $mac_address | sed 's/://g')
broadcast=$2
port=4343
# Magic packets consist of 12*`f` followed by 16 repetitions of the MAC address
# How to use
# Make sure you install curl. By running curl -v to test it.
# Provide your Gmail username and password and who you need to send email to.
# For password it is not your Gmail password but it is App passwords https://support.google.com/mail/answer/185833. Please go to your Gmail account setting and create it.
# chmod -R 777 send-email-gmail.com
# ./send-email-gmail.com
# Your Gmail username (email) (Required)
SENDER_GMAIL_USERNAME=
# Your App password (Required)
@page2me
page2me / imso30.sh
Last active October 16, 2019 11:20
# ข้อที่ 6 Mini Science and Math Olympiads รอบคัดเลือก https://www.imso30.com/question/535758156/result
crunch 14 14 01 --stdout | head -n10001 | grep 111 | wc -l