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
> Increment pointer | |
< Decrement pointer | |
+ Increment byte at pointer | |
- Decrement byte at pointer | |
. Output byte at pointer | |
, Input byte at pointer | |
[ Loop start | |
] Loop end | |
.s output byte as string |
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
package com.azias.test.brainfuckio; | |
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
public class BrainfuckIO { | |
//public static byte[] cells; //Values cells | |
public static int[] cells; //Values cells |
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 | |
# UNFINISHED AND UNTESTED | |
# DO NOT USE | |
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi |
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/sh | |
# Gateway Stuff | |
echo 1 > /proc/sys/net/ipv4/ip_forward | |
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE | |
exit 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
import java.awt.HeadlessException; | |
import java.awt.Toolkit; | |
import java.awt.datatransfer.Clipboard; | |
import java.awt.datatransfer.DataFlavor; | |
import java.awt.datatransfer.StringSelection; | |
import java.awt.datatransfer.UnsupportedFlavorException; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.List; |
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 | |
clear | |
bold=$(tput bold) | |
normal=$(tput sgr0) | |
if [[ $1 =~ ^.*youtu.*$ ]]; then | |
echo "${bold}Youtube-dl${normal}" | |
echo "> ${1}" | |
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
package main | |
import ( | |
"syscall" | |
"unsafe" | |
) | |
var ( | |
user32, _ = syscall.LoadLibrary("user32.dll") | |
messageBox, _ = syscall.GetProcAddress(user32, "MessageBoxW") |
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
@echo off | |
if "%1"=="" (echo Error: No arguments passed ! && exit /B) | |
set "var="&for /f "delims=0123456789" %%i in ("%1") do set var=%%i | |
if defined var (echo Error: Non-numeric value passed ! && exit /B) | |
for /l %%x in (1, 1, %1) do cd .. |
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
OpenConsole() | |
Procedure CRC16CCITT(*mem.Ascii,len) | |
Protected crc.u = $FFFF; | |
While a < len | |
For i = 0 To 7 | |
bit = (*mem\a >> (7-i) & 1) | |
c15 = ((crc >> 15) & 1) | |
crc << 1 | |
If Bool(c15 ! bit) |
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
; As described in: | |
; http://eliotvu.com/page/unreal-package-file-format | |
Enumeration UnrealEngineVersion | |
; U and U2 are also missing (U could be 69 since it's the same engine ?) | |
#UE_UT99 = 69 | |
; UT2003 is missing from the docs :/ | |
#UE_UT_UT2004 = 128 | |
#UE_UT_UT3 = 512 | |
OlderNewer