This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python2 | |
# coding: utf-8 | |
import PIL.Image | |
import os | |
import hashlib | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
filename="" | |
def main(): | |
global filename |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-->>>野獣先輩<<<-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(){ | |
while(1) | |
printf("🍣🍺\n"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this code is WTFPL */ | |
function yql(q,c){ | |
var n='yql_'+Date.now(); | |
(new Function('window.'+n+'=arguments[0];'))(c); | |
var s=document.createElement('script'); | |
s.src="http://query.yahooapis.com/v1/public/yql?callback=window."+n+"&q="+encodeURIComponent(q); | |
document.body.appendChild(s); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
int i,fizz,buzz; | |
for(i=1;i<=100;i++){ | |
fizz = i%3 == 0; | |
buzz = i%5 == 0; | |
if(fizz && buzz) | |
printf("fizz buzz"); | |
else if(fizz) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>transition Test</title> | |
<style> | |
.a{ | |
transition:all 0.5s; | |
} | |
.a:hover{ | |
transition:all 0s; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rest_client" | |
require "json" | |
require "nokogiri" | |
class Misskey | |
attr_accessor :cookie,:csrftoken | |
def initialize(user,pass) | |
doc = Nokogiri::HTML(res = RestClient.get("https://misskey.xyz/",{:cookies => @cookie})) | |
@cookie = res.cookies | |
@csrftoken = doc.css("/html/head/meta[@name='csrf_token']/@content").to_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodisp(1,document.getElementById("fc2_bottom_bnr")); | |
nodisp(0,document.getElementById("fc2_ad_box")); | |
nodisp(1,document.getElementById("fc2_qr_code_header")); | |
nodisp(1,document.getElementById("fc2_footer")); | |
var d = document.createElement("script"); | |
d.innerHTML="window.addEventListener('load',function(){setTimeout(function(){document.getElementById('fc2_web_header_ad_close').click();},500);})"; | |
document.body.appendChild(d); | |
function nodisp(f,dom){ | |
if(!dom) return; | |
dom.style.display="none"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setTimeout(function(){ | |
function(notify){ | |
new Notification(notify); | |
} | |
},5000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="./script.js"></script> | |
</head> | |
<body> | |
<button id="btn">Click</button> | |
</body> | |
</html> |