Skip to content

Instantly share code, notes, and snippets.

View ymotongpoo's full-sized avatar
📈
observability matters

Yoshi Yamaguchi ymotongpoo

📈
observability matters
View GitHub Profile

山口くんちでペプシパーリー!!

はじめに

コンテンツ性のある人間が7人も集まってただ管を巻くだけではもったいないので、技術話で殴り合うさまをオンライン配信したいと考えています。

配信用の安価なカメラを太一が当日買って持っていきます。誰か便利なものを持ってるなら金曜までに太一にメンション下さい。

当日は昼飯を食いながら一日の流れを確認して山口くんちに着くなりペプシを開けつつオンライン配信したいと考えています。

コンテンツについて

from twisted.web import client
from twisted.internet import reactor, defer
from lxml import etree
from StringIO import StringIO
import re
import os
save_dir = "~/.video/pornzapp/"
base_url = "http://www.pornzapp.com"
download_re = re.compile('"/js/interface.php\?id=([\w\d.:/_]*)"', re.M)
from twisted.web import client
from twisted.internet import reactor, defer
from lxml import etree
from StringIO import StringIO
import re
import os
save_dir = "~/.video/jizzhut/"
base_url = "http://jizzhut.com"
download_re = re.compile('so.addVariable\("content_video",\s*"([\w\d.:/_]*)"\);', re.M)
from twisted.web import client
from twisted.internet import reactor, defer
from lxml import etree
from StringIO import StringIO
import re
import os
save_dir = "~/.video/tube8/"
base_url = "http://www.tube8.com"
download_re = re.compile("so.addVariable\('videoUrl',\s*'([\w\d.:/_]*)'\);", re.M)
esecached
*.6
*.8
;;; 文字コード指定を -*- coding: hoge -*- でもできるように
;;; .xyzzy にでも; 組み込み関数上書き注意報
(defun ed::find-file-auto-encoding (filename)
(unwind-protect
(let ((encoding
(progn
(ignore-errors (insert-file-contents filename t nil 4096))
(goto-char (point-min))
(dolist (x *auto-encoding-alist* nil)
@mopemope
mopemope / gmail.py
Created February 17, 2011 07:08
use XOAUTH example
import imaplib
import base64
import email
import re
from email import header as _header
#patch
ecre = re.compile(r'''
=\? # literal =?
@mopemope
mopemope / msqueue.c
Created March 8, 2011 02:11
lock free queue example
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <pthread.h>
#include <sys/time.h>
typedef struct pointer {
struct node *ptr;
uint32_t count;
} pointer_t;
@moriyoshi
moriyoshi / test.cpp
Created March 10, 2011 09:11
Recursively traverse directories.
#include <boost/filesystem/convenience.hpp>
#include <boost/foreach.hpp>
#include <boost/range.hpp>
#include <iostream>
int main(int, char**)
{
namespace bf = boost::filesystem;
BOOST_FOREACH(bf::path path,
boost::make_iterator_range(
@mopemope
mopemope / torumemo.py
Created April 4, 2011 07:55
torumemo plugin
from plugpy.ext.skype import SkypePlugin, MissingPlugin
from eventlet.green import urllib2
from pyquery import PyQuery as pq
import random
archive_url = "http://oldriver.org/torumemo/archive.html"
base_url = "http://oldriver.org/torumemo/"
def memo_list():
urls = []