Skip to content

Instantly share code, notes, and snippets.

View m-guo's full-sized avatar
🎯
Focusing

mace m-guo

🎯
Focusing
View GitHub Profile
@m-guo
m-guo / gemini-chat
Created December 15, 2024 01:00 — forked from nishuzumi/gemini-chat
# -*- coding: utf-8 -*-
# Make by x:@BoxMrChen and windsurf ai
import asyncio
import base64
import json
import io
import os
import sys
import pyaudio
@m-guo
m-guo / memali.c
Last active July 10, 2018 07:15
memory alignment
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
//memory alignment
//alloc a variable at least 4 bytes memory in struct, struct t and struct st have same size, struct ft has 16 bytes
struct t {
int i;
char a;
char *b;