Skip to content

Instantly share code, notes, and snippets.

@Tacumi
Tacumi / stack.c
Created August 30, 2022 12:40
忘れるスタック実装
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct _stack {
char **m;
int index;
int limit_index;
int ttl;
int size;
@Tacumi
Tacumi / draw_tree.html
Created May 19, 2020 00:22
JSでおえかき(canvasを使いたかった)
<!DOCTYPE html>
<html>
<head>
<title>canvas tutorial</title>
<style>
#canvas {
background: #ccc;
}
</style>
<script type="text/javascript">

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@Tacumi
Tacumi / apply.c
Created July 18, 2018 04:48
Apply function in C
#include <stdio.h>
#include <stdlib.h>
int multiply10 (int in)
{
return in * 10;
}
void apply (int (*fpa)(int), int *pa, size_t siz)
{
hogefuga
ctrl_interface=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=""
proto=RSN
pairwise=CCMP TKIP
group=CCMP TKIP
key_mgmt=WPA-EAP
eap=PEAP TTLS TLS
identity=""