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
javascript:(function(){$('time').each(function(){var t = new Date($(this).attr('datetime'));var full = '';full += t.getFullYear() + '/';full += ('0' + (t.getMonth() + 1)).slice(-2) + '/';full += ('0' + t.getDate()).slice(-2) + ' ';full += ('0' + t.getHours()).slice(-2) + ':';full += ('0' + t.getMinutes()).slice(-2) + ':';full += ('0' + t.getSeconds()).slice(-2);$(this).text(full);});})(); |
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
window.$ = $; | |
$(function(){ | |
var LIMIT = 24; // この分数経ったら止める | |
setInterval(function(){ | |
// 再生開始の監視 | |
if(!$('.control-play-pause').find('i').hasClass('mdi-av-play-arrow')){ // 再生中 | |
if(!parseInt(localStorage.getItem('starttime'))){ | |
console.log("START!"); | |
localStorage.setItem('starttime', new Date().getTime()); | |
} |
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
{ | |
"http://headline.2ch.net/bbynamazu/": { | |
"url": "http://headline.2ch.net/bbynamazu/", | |
"name": "地震headline", | |
"unicode": null | |
}, | |
"http://potato.2ch.net/namazuplus/": { | |
"url": "http://potato.2ch.net/namazuplus/", | |
"name": "地震速報", | |
"unicode": null |
This file has been truncated, but you can view the full file.
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
window.speechSynthesis : object | |
window.speechSynthesis.pending : boolean | |
window.speechSynthesis.onvoiceschanged : object | |
window.speechSynthesis.speak : function | |
window.speechSynthesis.cancel : function | |
window.speechSynthesis.pause : function | |
window.speechSynthesis.resume : function | |
window.speechSynthesis.getVoices : function | |
window.speechSynthesis.addEventListener : function | |
window.speechSynthesis.removeEventListener : function |
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
PM> Get-Package -ListAvailable -PageSize 10000 | |
Id Versions Description | |
-- -------- ----------- | |
Newtonsoft.Json {9.0.1} Json.NET is a popular high-performance JSON framework for .NET | |
EntityFramework {6.1.3} Entity Framework is Microsoft's recommended data access technology for new applications. | |
NUnit {3.5.0} NUnit is a unit-testing framework for all .NET languages with a strong TDD focus. | |
jQuery |
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
import datetime | |
import locale | |
import time | |
while true: | |
t = datetime.datetime.today() | |
print(t) | |
time.sleep(0.1) |
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 n = 1; | |
for (int i = 0; i < 32; i++) { | |
n <<= 1; | |
} | |
printf("%d\n", n); // gcc: 0 msvc: 0 | |
int m = 1; |
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
diff --git a/dbreg/dbreg.c b/dbreg/dbreg.c | |
index 5876ce4..46473dc 100644 | |
--- a/dbreg/dbreg.c | |
+++ b/dbreg/dbreg.c | |
@@ -680,6 +680,8 @@ __dbreg_failchk(env) | |
LOG *lp; | |
int ret, t_ret; | |
char buf[DB_THREADID_STRLEN]; | |
+ db_threadid_t unused; | |
+ memset(&unused, 0, sizeof(unused)); |
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
#!/bin/bash | |
# | |
# Ref article: http://blog.clock-up.jp/entry/2017/03/07/ccache | |
# | |
# system information | |
uname -a | |
cat /etc/system-release | |
cat /proc/cpuinfo |
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
setInterval(function(){ | |
if($('.spinner').length == 0 && $('.work-record-edit-balloon .submit-button').length > 0){ | |
console.log("click"); | |
$('.work-record-edit-balloon .submit-button')[0].click(); | |
} | |
else{ | |
console.log("wait"); | |
} | |
}, 500); |