Skip to content

Instantly share code, notes, and snippets.

@tyage
tyage / writeup.md
Last active February 4, 2017 04:09
SECCON 2016 Finals 弐(2)
@tyage
tyage / Dockerfile
Last active November 28, 2016 09:13
mailman3 dockerfile
# fork from: https://wiki.list.org/DEV/Mailman%203.0/Mailman%203.0%20Suite%20Dockerfile
#########################################
# Dockerfile to setup GNU Mailman Suite
# Based on Ubuntu
#########################################
# Set the base image to Ubuntu
FROM ubuntu
# File Author / Maintainer
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
@tyage
tyage / channels.yml
Last active September 28, 2016 14:59
config of mirakurun
- name: NHK E
type: GR
channel: '13'
- name: YTB
type: GR
channel: '14'
- name: ABC
type: GR
2016/09/28 01:47:38 kid1| assertion failed: PeerConnector.cc:116: "peer->use_ssl"
2016/09/28 01:47:41 kid1| Set Current Directory to /usr/local/squid/var/cache/squid
2016/09/28 01:47:41 kid1| Starting Squid Cache version 3.5.21 for x86_64-pc-linux-gnu...
2016/09/28 01:47:41 kid1| Service Name: squid
2016/09/28 01:47:41 kid1| Process ID 228
2016/09/28 01:47:41 kid1| Process Roles: worker
2016/09/28 01:47:41 kid1| With 1048576 file descriptors available
2016/09/28 01:47:41 kid1| Initializing IP Cache...
2016/09/28 01:47:41 kid1| DNS Socket created at [::], FD 6
2016/09/28 01:47:41 kid1| DNS Socket created at 0.0.0.0, FD 7

Build Realtek_RTS5229_Linux_Driver_v1.07 for ubuntu 16.04.01.md

Comment out rtsx.c on line 266

before:

	.proc_info =			proc_info,

after:

#!/bin/sh
sh -c cat | b25 -v 0 /dev/stdin /dev/stdout | cat
--TEST--
Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename)
--SKIPIF--
<?php
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
<?php
$dirname = dirname(__FILE__) . '/';
include $dirname . 'utils.inc';
--TEST--
Bug #72374 (ZipArchive::addGlob remove_path option strips first char of filename)
--SKIPIF--
<?php
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
<?php
$dirname = dirname(__FILE__) . '/';
include $dirname . 'utils.inc';
echo "127.0.0.1\ttwitter.com
127.0.0.1\twww.facebook.com
127.0.0.1\tslack.com
127.0.0.1\tanond.hatelabo.jp" >> /etc/hosts