This file contains hidden or 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
#define DEBUG_BITBANG_LOGGING 1 | |
#if defined(DEBUG_BITBANG_LOGGING) && DEBUG_BITBANG_LOGGING | |
#define TIME_DELAY_SLOT 0x100 | |
#define DBGPIN_INIT() {\ | |
\ | |
} | |
#define DBGPIN_LOW() | |
#define DBGPIN_HIGH() |
This file contains hidden or 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
#pragma author A.Sakharov | |
#pragma description ESP32 firmware file | |
#pragma endian little | |
struct FileHeader { | |
u8 magick;// 0xe9 | |
u8 SegmentsCount; | |
u8 FlashMode; | |
u8 Flash; | |
u32 EntryPoint; |
This file contains hidden or 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 python3 | |
# Plants vs Zombies main.pak unpacker | |
import os | |
from calendar import timegm | |
from datetime import datetime, timezone | |
INPUT_FILE="main.pak" | |
OUTPUT_DIR="main_unpacked" |
This file contains hidden or 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"> | |
<style> | |
* | |
{ | |
margin: 0; | |
padding: 0; |
This file contains hidden or 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 <windows.h> | |
#include <subauth.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <assert.h> | |
#include <process.h> | |
#define BGCOLOR RGB(0xff, 0xff, 0xff) | |
#define CLASSNAME TEXT("FUNNYCLASS") | |
//#define assert(x) if(!(x)) {DebugBreak(); exit(-1); } |
This file contains hidden or 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 struct | |
rom = dict() | |
rom["Cache_Read_Disable"] = 0x400047f0 | |
rom["Cache_Read_Enable"] = 0x40004678 | |
rom["FilePacketSendReqMsgProc"] = 0x400035a0 | |
rom["FlashDwnLdParamCfgMsgProc"] = 0x4000368c | |
rom["FlashDwnLdStartMsgProc"] = 0x40003538 | |
rom["FlashDwnLdStopReqMsgProc"] = 0x40003658 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import asyncio | |
import datetime | |
import sys | |
from pyrogram import Client | |
import random | |
from num2words import * | |
This file contains hidden or 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
ID | Resource | Block | |
---|---|---|---|
0 | air | Air | |
1 | stone | Stone S B | |
2 | grass | Grass Block | |
3 | dirt | Dirt S B | |
4 | cobblestone | Cobblestone | |
5 | planks | Wood Planks S B | |
6 | sapling | Sapling S B | |
7 | bedrock | Bedrock | |
8 | flowing_water | Water S |
This file contains hidden or 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
Name | Item ID | Legacy Item ID | Numerical ID | |
---|---|---|---|---|
Air | minecraft:air | |||
Stone | minecraft:stone | 1 | ||
Granite | minecraft:granite | minecraft:stone | 1:1 | |
Polished Granite | minecraft:polished_granite | minecraft:stone | 1:2 | |
Diorite | minecraft:diorite | minecraft:stone | 1:3 | |
Polished Diorite | minecraft:polished_diorite | minecraft:stone | 1:4 | |
Andesite | minecraft:andesite | minecraft:stone | 1:5 | |
Polished Andesite | minecraft:polished_andesite | minecraft:stone | 1:6 | |
Grass Block | minecraft:grass_block | minecraft:grass | 2 |
This file contains hidden or 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
#define l '!' | |
main(int I){int _[]={[0]=01740,[10]=010[_] | |
>>4,[010]=0xf00,[0x10]=0,[011]=_[7]/0x10,[ | |
013]=_[0011]/16,[13]=7,[014]=016,[14]=_[7] | |
>>12,[15]=001,[01]=0x03fFC,[2]=0x781F,[3]= | |
0x6E003,[4]=49152,[5]=_[04],['\a']=_[6]>>1 | |
,['\''-l]=074000,};for(I=0;I<l*17-l/2;++I, | |
putchar((I%l<l/2)&&(_[I/(l)]&1<<15-(I%l))? | |
0x23:(I%l>(l/2))&&((I/(l))[_]&1<<(15-((l-1 | |
)-(I%l))))?l|2:I*2==(((l/2)*_[13]+3)*4)>>1 |
NewerOlder