This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:22.04 | |
LABEL maintainer="Einstrasse <[email protected]>" | |
# From https://raw.githubusercontent.com/skysider/pwndocker/master/Dockerfile | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV TZ Asia/Seoul | |
RUN dpkg --add-architecture i386 && \ | |
apt-get -y update && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set ws = CreateObject("WScript.shell") | |
Do | |
Wscript.Sleep 59000 | |
ws.SendKeys "{SCROLLLOCK}{SCROLLLOCK}" | |
Loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>JWT.io local version</title> | |
<style> | |
textarea { | |
width: 400px; | |
height: 200px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
typedef pair<int, int> pii; | |
typedef pair<int, vector<int> > State; | |
const int correct[4][4] = { | |
{0, 1, 2, 3}, | |
{4, 5, 6, 7}, | |
{8, 9, 10, 11}, | |
{12, 13, 14, 15} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Source : https://www.math.wustl.edu/~victor/mfmm/compaa/gcd.c | |
*/ | |
#include <stdio.h> | |
/* Standard C Function: Greatest Common Divisor */ | |
int gcd(int a, int b) | |
{ | |
int c; | |
while (a != 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <iostream> | |
using namespace std; | |
typedef long long ll; | |
#define MAXN 10000 | |
int min_factor[MAXN]; //약수 중 가장 작은 녀석 | |
int main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long long ll; | |
#define endl '\n' | |
#define MAXN 50020 | |
// disjoint set (DSU) | |
int parent[MAXN]; | |
// rank를 뜻함 | |
int depth[MAXN]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
import sys | |
url = "https://webhacking.kr/challenge/web-09/index.php" | |
headers = { | |
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36" | |
} | |
cookie = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ includes used for precompiling -*- C++ -*- | |
// Copyright (C) 2003-2015 Free Software Foundation, Inc. | |
// | |
// This file is part of the GNU ISO C++ Library. This library is free | |
// software; you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the | |
// Free Software Foundation; either version 3, or (at your option) | |
// any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
#define endl '\n' | |
typedef long long ll; | |
#define MAXN 1000006 | |
int arr[MAXN]; | |
int tmp[MAXN]; |