Skip to content

Instantly share code, notes, and snippets.

View mattn's full-sized avatar
🍛
I love curry 🍛

mattn mattn

🍛
I love curry 🍛
View GitHub Profile
#include "runtime/exceptions.hpp"
#include "runtime/global_io.hpp"
#include "runtime/global_json.hpp"
#include "runtime/global_symbol.hpp"
#include "runtime/js_value.hpp"
#include <coroutine>
int prog() {
.text
.def @feat.00;
.scl 3;
.type 0;
.endef
.globl @feat.00
.set @feat.00, 0
.file "fib.11100cec-cgu.0"
.def _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17ha71540ff8e38b0edE;
.scl 3;
@mattn
mattn / create_union_enum.zig
Last active July 14, 2022 04:11 — forked from hnakamur/create_union_enum.zig
create union enum in Zig
const std = @import("std");
const expect = std.testing.expect;
const cell = struct {
v1: ?*Variant,
v2: ?*Variant,
};
const Variant = union(enum) {
int: i32,
<style>
#container {
display: inline-block;
margin-left: 200px;
margin-top: 200px;
}
#container img {
margin: 50px;
}
</style>
@mattn
mattn / README.md
Last active March 5, 2022 20:52
技術系 Twitter コミュニティ

移動しました!

#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <time.h>
#include "genann.h"
static void
bin(int n, double* d) {
int i;
memset(d, 0, sizeof(double)*10);
@mattn
mattn / go-gonum.go
Last active November 12, 2020 13:07
package main
import (
"fmt"
"log"
. "gorgonia.org/gorgonia"
"gorgonia.org/tensor"
)
using System;
namespace foo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
@mattn
mattn / .tmux.conf
Last active October 17, 2023 03:52
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g mouse on
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
run -b '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'odedlaz/tmux-onedark-theme'
runtime/doc/todo.txt:5820:- Add an option to whitelist options that are allowed in a modeline. This
runtime/syntax/gnash.vim:84:syn match GnashKeyword '\<whitelist\>'
runtime/syntax/muttrc.vim:429: \ mailto_allow mime_lookup my_hdr pgp-hook push score sidebar_whitelist source
runtime/syntax/muttrc.vim:432: \ unsidebar_whitelist
runtime/syntax/neomuttrc.vim:639: \ setenv sidebar_whitelist source subjectrx subscribe-to tag-formats
runtime/syntax/neomuttrc.vim:642: \ unmy_hdr unscore unsetenv unsidebar_whitelist unsubjectrx unsubscribe-from
runtime/syntax/pfmain.vim:390:syntax keyword pfmainConf postscreen_dnsbl_whitelist_threshold
runtime/syntax/pfmain.vim:413:syntax keyword pfmainConf postscreen_whitelist_interfaces
runtime/syntax/pfmain.vim:1183:syntax match pfmainRef "$\<postscreen_dnsbl_whitelist_threshold\>"
runtime/syntax/pfmain.vim:1206:syntax match pfmainRef "$\<postscreen_whitelist_interfaces\>"