Skip to content

Instantly share code, notes, and snippets.

/* -*- mode: c; coding: utf-8 -*-
https://bugs.mysql.com/bug.php?id=92394
How to reproduce
gcc simple-query.c $(mysql_config --cflags) $(mysql_config --libs) -o simple-query
MYSQL_USER=scott MYSQL_PWD=tiger ./simple-query
mysql client version: 50724
> while true; do kill -USR1 5922 || break; sleep 15; done
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010_000;
use utf8;
use Config;
use T;
use threads;
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import os
import click
from pathlib import Path
CONTEXT_SETTINGS = {
'ignore_unknown_options': True,
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from sqlathanor import declarative_base, Column, relationship
from sqlalchemy import create_engine, Integer, String, Sequence, ForeignKey
from sqlalchemy.orm import sessionmaker
Base = declarative_base()
@hirose31
hirose31 / README.md
Last active September 7, 2018 06:14
nested map

お題

こういうデータを処理して

eth0
  link/ether 00:00:00:00:00:00
  inet 192.168.0.1 brd 192.168.0.255
eth1
  link/ether 11:11:11:11:11:11
<details>
<summary>押してみそ?</summary>
な?
```pl
use strict;
```
どう?
</details>
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import logging.handlers
import freezegun
import time
import os
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import threading
import time
descriptors = list()
mount_points = list()
diff --git a/lib/Net/SSL/ExpireDate.pm b/lib/Net/SSL/ExpireDate.pm
index b2492ba..5ba1aef 100644
--- a/lib/Net/SSL/ExpireDate.pm
+++ b/lib/Net/SSL/ExpireDate.pm
@@ -249,7 +249,7 @@ sub _send_client_hello {
## ClientHello
# client_version
- push @buf, 3, 3;
+ push @buf, 3, 2;
#!/usr/bin/env perl
# Time-stamp: <2016-06-30 22:05:57 JST, hirose31>
use strict;
use warnings;
use 5.010_000;
use utf8;
use Data::Validator;