Skip to content

Instantly share code, notes, and snippets.

View izfsk-ium's full-sized avatar
💭
I may be slow to respond.

izfsk izfsk-ium

💭
I may be slow to respond.
View GitHub Profile
@izfsk-ium
izfsk-ium / vdoshrink.sh
Created May 11, 2025 12:35
减少视频文件的大小
#!/bin/bash
# ====== 彩色定义 ======
RED='\033[1;31m'
GREEN='\033[1;32m'
YELLOW='\033[1;33m'
CYAN='\033[1;36m'
BLUE='\033[1;34m'
BOLD='\033[1m'
NC='\033[0m' # 重置
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<style>
html {
background-image: url(https://w.wallhaven.cc/full/we/wallhaven-wex3l7.jpg);
background-size: cover;
}
@izfsk-ium
izfsk-ium / readELF.c
Last active December 24, 2022 09:01
读取 ELF 文件的段表字符串表
#include <stdio.h>
#include <elf.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
FILE *fp = fopen("test", "rb");
if (fp == NULL)
{