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
""" | |
Requirements: | |
* A Wordpress Blog | |
* Ghost export file (json). | |
* Python Packages: python-wordpress-xmlrpc | |
>>> pip install python-wordpress-xmlrpc | |
WARNING: |
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 | |
add_filter('wp_calculate_image_srcset',function($sources, $size_array, $image_src, $image_meta, $attachment_id ) { | |
if ( is_ssl() ) | |
{ | |
foreach($sources as $size => &$source){ | |
$source['url'] = set_url_scheme( $source['url'] ,'https'); | |
} | |
} | |
return $sources; |
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
@YRYRUMI: ごちうさ→シャロシコへ 673164429391880193 @Sat Dec 05 15:38:01 +0000 2015 | |
NOW:100 NextMax: 673164429391880193 | |
@hamicyun: シャロシコ飽きた 673106377636577280 @Sat Dec 05 11:47:20 +0000 2015 | |
NOW:200 NextMax: 673106377636577280 | |
@sudosan: シャロシコAdventCalendar、書いてくれる方募集中 672767034728386560 @Fri Dec 04 13:18:55 +0000 2015 | |
NOW:300 NextMax: 672767034728386560 | |
@sharo315: シャロシコしてる奴らタカヒロさんでシコれ 672440109342392320 @Thu Dec 03 15:39:50 +0000 2015 | |
NOW:400 NextMax: 672440109342392320 | |
@k2124e: シャロシコしよ 672182455114199040 @Wed Dec 02 22:36:00 +0000 2015 | |
NOW:500 NextMax: 672182455114199040 |
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
diff --git a/css/style.css b/css/style.css | |
index 608be80..1e285d3 100644 | |
--- a/css/style.css | |
+++ b/css/style.css | |
@@ -48,6 +48,8 @@ h1 { | |
background-color: white; | |
margin: 0px; | |
overflow:hidden; | |
+ padding-left 5px; | |
+ padding-right: 5px; |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>映画とJS</title> | |
<style> | |
#container { | |
text-align: center; | |
} | |
#mycanvas { |
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
javascript:!function(d){try{var a = d.querySelector("#player-artist").textContent,t=d.querySelector("#currently-playing-title").textContent,al=d.querySelector(".player-album").textContent;var text=`|Music:${t}\n|Artist:${a}\n|Album:${al}\n#nowplaying #googlePlayMusic`;window.open('https://twitter.com/intent/tweet?text='+encodeURIComponent(text),"","chrome=yes,height=300,width=500");} catch (e) {alert(e);}}(document); |
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
javascript:(function() { | |
var snd_thx = new Audio("data:audio/mp3;base64,//uQRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAABXAADW3wAEBwsOEhYZGRweICMmKSsrLTAzNTc7Pj5BREdKTU9PUlRXWVxeYWFjZmhrbnBzc3V5fYGFiIiLj5OXm6Cjo6errrK1t7y8vsDDxsjLy83Q09fa3eDg4uXn6evu8fH09/r8/v8AAABQTEFNRTMuOTlyBLkAAAAAAAAAADUgJAMoTQAB4AAA1t/9AUo8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//vgZAAAApoE09UMAApH4BntoAABJFYfJ7nNAAuAxCZ/MvIIAAEuS667d3fiBBCB4ef4GHpw8PAHAAABh4/9gAB/+Hh4ef//6Mf/+AAAAAAYeHjw8AAAAARh4eH/4AAACMPDw8eAAAAI3//4AAAAAr/////ow8PgAAJUkv1s07QfB94Pg+D4PgSUBAEAfB8HwfNAgGOXB8H+oEAfB8H/iAH3//AgY8P5QEHcTg+//lAQ/lAQOYPg+D4fwQBAMA+AAAAmTVfbZpIkkkQAAAi2aJUhhhSmYVeGHQKNw0yuQoXDDZmFBCc3SRiQVA4DmvQKKkE1CEiRJmIx0asEco4Akg0OMmDCzsvACUhujhMQZkX9SNJG4KdCQ4AChQaljIBwgEA1YENyEsp |
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
var isCreatedContextMenu = false, | |
CONTEXT_ID = "OpenTwOrig"; | |
chrome.runtime.onInstalled.addListener( Run ); | |
chrome.runtime.onStartup.addListener( Run ); | |
function Run() | |
{ | |
if( isCreatedContextMenu == false) | |
{ | |
chrome.contextMenus.create |
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
var Twitter = require("twitter"); | |
var followers = []; | |
var count = 0; | |
var client = new Twitter({ | |
consumer_key: process.env.TWITTER_CONSUMER_KEY, | |
consumer_secret: process.env.TWITTER_CONSUMER_SECRET, | |
access_token_key: process.env.TWITTER_ACCESS_TOKEN, | |
access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET, | |
}); |
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
diff --git a/core/plugin/gtk/Gemfile b/core/plugin/gtk/Gemfile | |
index 215c683..c5f4819 100644 | |
--- a/core/plugin/gtk/Gemfile | |
+++ b/core/plugin/gtk/Gemfile | |
@@ -1,3 +1,3 @@ | |
source 'https://rubygems.org' | |
-gem 'gtk2', '2.2.3' | |
+gem 'gtk2', '2.2.4' |