| 更新: | 2024-01-20 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2024.1 |
| URL: | https://voluntas.github.io/ |
概要
| 更新: | 2024-01-20 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2024.1 |
| URL: | https://voluntas.github.io/ |
概要
| function write_ws_xml_datavalidation(validations) { | |
| var o = '<dataValidations>'; | |
| for(var i=0; i < validations.length; i++) { | |
| var validation = validations[i]; | |
| o += '<dataValidation type="list" allowBlank="1" sqref="' + validation.sqref + '">'; | |
| o += '<formula1>"' + validation.values + '"</formula1>'; | |
| o += '</dataValidation>'; | |
| } | |
| o += '</dataValidations>'; | |
| return o; |
| Suppose you have two heroku remote apps | |
| myapp-dev & myapp-prod | |
| and two git branches | |
| master(for dev) & production | |
| Now lets setup heroku on the existing git repo in your local machine | |
| Assuming the branches and the apps exist already | |
| git remote add heroku-myapp-dev https://git.heroku.com/myapp-dev.git | |
| git remote add heroku-myapp-prod https://git.heroku.com/myapp-prod.git | |
| void((function() { | |
| var editJikoku = function (jikoku) { | |
| return function () { | |
| var inputForm = jQuery(this); | |
| if (inputForm.parents('tr').css('background-color') != 'transparent') { | |
| return; | |
| } | |
| if (inputForm.val() != jikoku) { | |
| inputForm.val(jikoku); | |
| inputForm.css('background-color', '#fcc'); |
| <# | |
| Visual Studio 2017 を管理者モードで起動させるためのスクリプト | |
| #> | |
| $path = "HKCU:\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" | |
| $key_devenv = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" | |
| $key_vslauncher = "C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VSLauncher.exe" | |
| $value = "RUNASADMIN" | |
| $type = "String" |
| 絵文字 | コード | 意味 |
|---|---|---|
| 🎨 | :art: |
コードの書式や構造を改善したとき |
| 🐎 | :racehorse: |
パフォーマンスを改善したとき |
| 🚱 | :non-potable_water: |
メモリリークを修正したとき |
| 📝 | :memo: |
ドキュメントを書いたとき |
| 🐧 | :penguin: |
Linux 関連の修正をしたとき |
| 🍎 | :apple: |
Mac OS 関連の修正をしたとき |
| 🏁 | :checkered_flag: |
Windows 関連の修正をしたとき |
| 🐛 | :bug: |
バグを修正したとき |
| # target_version: | |
| # rubocop v0.34.2 | |
| # 自動生成されるものはチェック対象から除外する | |
| AllCops: | |
| Exclude: | |
| - "vendor/**/*" # rubocop config/default.yml | |
| - "db/schema.rb" | |
| DisplayCopNames: true |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"Thx to crxviewer for the magic download URL.