Settings similar to gnome-terminal.
| Item | Value |
|---|---|
| Choose color scheme | <xterm> |
| Item | Value |
| function getColumnByName(sheet, string) { | |
| var lastCol = sheet.getLastColumn(); | |
| var range = sheet.getRange(1, 1, 1, lastCol) | |
| var values = range.getValues()[0]; | |
| for (i=0; i<lastCol; i++) { | |
| if (values[i] == string) { | |
| return i + 1; | |
| } |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import math | |
| import argparse | |
| import numpy | |
| import scipy.signal | |
| import soundfile |
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import subprocess | |
| import psutil | |
| def pkill(exe_path): | |
| proc_iter = psutil.process_iter(("exe", )) | |
| for p in proc_iter: | |
| if p.info["exe"] == exe_path: |
| {"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"logicAppName":{"type":"String","metadata":{"description":"Name of the logic app."}},"logicAppLocation":{"defaultValue":"[resourceGroup().location]","allowedValues":["eastasia","southeastasia","centralus","eastus","eastus2","westus","northcentralus","southcentralus","northeurope","westeurope","japanwest","japaneast","brazilsouth","australiaeast","australiasoutheast","southindia","centralindia","westindia","canadacentral","canadaeast","westcentralus","westus2","[resourceGroup().location]"],"type":"String","metadata":{"description":"Location of the logic app."}},"outlook_Connection_Name":{"defaultValue":"outlook","type":"String","metadata":{"description":"Name of the connection."}}},"resources":[{"type":"Microsoft.Logic/workflows","name":"[parameters('logicAppName')]","apiVersion":"2016-06-01","location":"[parameters('logicAppLocation')]","properties":{"state":"Disabled","definit |
| !function(){var bookmarklets={"次のページを新規ウィンドウで開く New Window":function(){var fs=document.getElementsByTagName("form");for(i=0;i<fs.length;i++)fs[i].target="_blank";var as=document.getElementsByTagName("a");for(i=0;i<as.length;i++)as[i].target="_blank"},"submit method Get":function(){var fs=document.getElementsByTagName("form");for(i=0;i<fs.length;i++)fs[i].setAttribute("method","get")},"URL リンク取得":function(){var d=document,u=location.href,c,c;(c=d.querySelector("meta[property='og:url']"))?u=c.content:(c=d.querySelector("link[rel='canonical']"))&&(u=c.href);e=d.createElement("textarea"),e.textContent=u,d.body.appendChild(e),e.select(),d.execCommand("copy"),d.body.removeChild(e)},"ディモーラ検索 DiMORA Search":function(){var i=document.getElementById("frwSwhInp"),p=prompt("DiMORA",i.value);p&&(i.value=p)},"モノレート mnrate":function(){-1!=location.href.search(/([B0-9][0-9A-Z]{9})([^0-9A-Z]|$)/)?window.open("http://mnrate.com/item/aid/"+RegExp.$1):alert("NotAmazon")},"現在のページを新規ウィンドウで開く Duplicate":function(){window.open(locat |
| set editing-mode emacs | |
| "\e[3~": delete-char | |
| "\e[5C": forward-word | |
| "\e[5D": backward-word | |
| "\e[1;5C": forward-word | |
| "\e[1;5D": backward-word |
| !function(){var d=document;function copy2clipboard(text){var e=d.createElement("textarea");e.textContent=text,d.body.appendChild(e),e.select(),d.execCommand("copy"),d.body.removeChild(e)}for(var output="",trs=d.querySelectorAll("table.config-vars-list-table > tbody > tr"),i=0;i<trs.length;i++){var input=trs[i].querySelector("input"),textarea=trs[i].querySelector("textarea");input.value&&(output+="export "+input.value+"='"+textarea.value+"'\n")}copy2clipboard(output)}(); |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import PyPDF2 | |
| import sys | |
| input_fn = sys.argv[1] | |
| output_fn = sys.argv[2] | |
| if __name__ == u'__main__': |
| #include <cstdio> | |
| /* callee */ | |
| class generator{ | |
| public: | |
| int state; | |
| generator() : state(0) { | |
| }; |