open 'karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2FArcCosine%2F49b652939ac45fb3f00abce416abac32%2Fraw%2F7ef1613b7235b68e5bb038bf88f675f679f0a6a5%2Fsemicolon-enter.json'
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:( | |
() => { | |
'use strict'; | |
const getLastUpdate = domObj => { | |
return domObj.querySelector(".contributors-sub time").dateTime; | |
}; | |
//XMLHttpRequestで英語版MDNを取得 | |
fetch("https://developer.mozilla.org" + location.pathname.replace(/\/ja\//, "/en-US/")) | |
.then( response => { |
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 () { | |
'use strict'; | |
//現在の日本語版MDNページの最終更新日を取得 | |
//XMLHttpRequestで英語版MDNを取得 | |
fetch('https://developer.mozilla.org' + location.pathname.replace('\/ja\/', '\/en-US\/')) | |
.then(function(response){ | |
return response.text(); | |
}).then(function(resText){ | |
var parser = new DOMParser(); |
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
(()=>[...document.querySelectorAll("a")].forEach((n)=>{if(/watch/.test(n.href)){console.log(n.href)}}))() |
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
(()=>document.querySelectorAll("a").forEach(n=>n.href=n.href.replace(/www(?=.n.+jp\/wa)/,"embed")))() |
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
"for markdown | |
nnoremap \m :call DisplayMarkdown()<CR> | |
function! DisplayMarkdown() | |
!node ~/Dropbox/kindness_project/markdown-maker/markdown-maker.js "%" > /tmp/__markdown.html; | |
vert split /tmp/__markdown.html | |
call cursor(1,1) | |
endfunction |
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
var m=Math,a='ほのうみことりんぱなまきえりのぞにこ';a=a.match(/.{2}/g);a.sort(function(){return m.random()*3-2;});a.join("").match(/.{4}/g).join("\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
//Long ver | |
(function(){ | |
a = Game.Loader.assets; | |
for(k in a){ | |
if(m=/(pe.*t|S.*\d)/.exec(a[k].alt)){ | |
s=m[1]; | |
a[k].src='//domyojikarin.com/dmjcookie/img/'+(s[0]=='p'?s+'Dmj':'dmj'+s)+'.png'; | |
} | |
} | |
})(); |
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
// 変更前 | |
var domain = 'http://domyojikarin.com/dmjcookie/img/'; | |
var hash = {'perfectCookie.png': 'perfectDmj.png' | |
, 'cookieShower1.png': 'dmjShower1.png' | |
, 'cookieShower2.png': 'dmjShower2.png' | |
, 'cookieShower3.png': 'dmjShower3.png' | |
}; | |
var as = Game.Loader.assets; | |
for (var i in as){ |
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
(function(){ | |
var as = Game.Loader.assets,k,v,m; | |
for(k in as){ | |
v=as[k]; | |
if(m=/(pe.*t|S.*\d)/.exec(v.alt)){ | |
v.src='http://domyojikarin.com/dmjcookie/img/'+(m[1][0]=='p'?m[1]+'Dmj':'dmj'+m[1])+'.png'; | |
} | |
} | |
})() |
NewerOlder