charaName | モデル番号 |
---|---|
環 いろは | 100100 |
環 いろは(変身前) | 100101 |
環 いろは(転校前) | 100102 |
環 いろは(水着2017) | 100103 |
環 いろは(コピー) | 100109 |
七海 やちよ | 100200 |
七海 やちよ(変身前) | 100201 |
This file contains 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
let el = document.getElementsByClassName("practice-keyboard__enter")[0]; | |
let downEvent = document.createEvent("KeyboardEvent"); | |
let upEvent = document.createEvent("KeyboardEvent"); | |
downEvent.initKeyEvent("keydown", true, true, null, 0, 0, 0, 0, 13, 13); | |
upEvent.initKeyEvent("keyup", true, true, null, 0, 0, 0, 0, 13, 13); | |
let count = 0; | |
while (true) { |
This file contains 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
i = 1 | |
while i <= 100 do | |
if i % 3 == 0 | |
puts "Fizz" | |
elsif i % 5 == 0 | |
puts "Buzz" | |
elsif i % 3 == 0 and i % 5 == 0 | |
puts "FizzBuzz" | |
else |
This file contains 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
$(document).on('click','.text', function(e) { | |
var selObj = window.getSelection(); | |
if ( !selObj.toString() ) { | |
//選択されていない場合の処理 | |
} | |
}); |
This file contains 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
.standard { | |
background-color: #282828; | |
color: #FF9400; | |
::selection { | |
background-color: #FF9400; | |
color: #202020; | |
} | |
.terminal-cursor { |
This file contains 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
api.postImage("media", formData, function (postimage) { | |
media_array.unshift(postimage.id); | |
var params = { | |
status : form.status_textarea.value, | |
sensitive : form.status_nsfw.value, | |
spoiler_text : form.status_spoiler.value, | |
visibility : form.privacy_option.value, | |
media_ids : media_array | |
} |
This file contains 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
#tester.py | |
import json | |
def splitStr(str, num): | |
s = '' | |
j = 0 | |
l = [] | |
for i in str: | |
s += i |
This file contains 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
# coding: UTF-8 | |
from mastodon import Mastodon | |
my_instance = "https://mastodon.cloud" | |
Mastodon.create_app( | |
'testapp', | |
api_base_url = my_instance, | |
to_file = 'pytooter_clientcred.txt' | |
) |
This file contains 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
<?php | |
function auto_post_slug( $slug, $post_ID, $post_status, $post_type ) { | |
if ( preg_match( '/(%[0-9a-f]{2})+/', $slug ) ) { | |
$text = urlencode(get_the_title($post_ID)); | |
$enc = "ja|en"; | |
$html = file_get_contents("https://translate.google.com/?langpair=$enc&ie=UTF8&oe=UTF8&text=$text"); | |
$pattern = '/" onmouseover="this.style.backgroundColor=\'#ebeff9\'" onmouseout="this.style.backgroundColor=\'#fff\'">(.*?)<\/span><\/span>/'; | |
preg_match($pattern, $html, $matche); | |
$slug = str_replace(" ", "_", $matche[1]); | |
$slug = preg_replace(array("/&(.+?);/","/[^a-zA-Z0-9_\-]/","/_{2,}/"), "", $slug); |
This file contains 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
/*@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url("https://tweetdeck.twitter.com/") {*/ | |
body .app-content { | |
background-color: rgba(255,255,255,0.0); | |
} | |
body .app-columns-container { | |
background-image: url(http://www.project-imas.com/w/images/4/4a/Miku_SS_SSR2.png); |