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
version: '3' | |
services: | |
wekan: | |
image: mquandalle/wekan | |
links: | |
- wekandb | |
environment: | |
- MONGO_URL=mongodb://wekandb/wekan | |
- ROOT_URL=http://{your ip or computer name}:9080 | |
ports: |
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:void((function() { | |
$("[name='projects[]']").each(function(i, obj){ | |
var selectedValue = $(obj).val(); | |
var sortedItems = $(obj).children().sort(function(a,b){ | |
var sortA= a.text; | |
var sortB = b.text; | |
if (sortA > sortB) { | |
return 1; | |
} else if (sortA < sortB) { | |
return -1; |
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
## This is a directory/file filter template for WinMerge | |
name: exclude for dotnet core | |
desc: exclude | |
## Select if filter is inclusive or exclusive | |
## Inclusive (loose) filter lets through all items not matching rules | |
## Exclusive filter lets through only items that match to rule | |
## include or exclude | |
def: include |
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
// ================================================== | |
// Simpacker 用 manifest.json 出力 Node.js スクリプト | |
// 基本の使い方:node output_manifest_js.js public | |
// ================================================== | |
const fs = require('fs'); | |
const path = require('path'); | |
const crypto = require('crypto') | |
// default ignore Path | |
const DEFAULT_IGNORE_PATH = 'public'; | |
// default manifest.json path |
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
const { BrowserWindow, screen } = require('electron') | |
const createWindow = () => { | |
// get current display | |
const targetDisplay = screen.getDisplayNearestPoint(screen.getCursorScreenPoint()) | |
// set resizable maximize | |
// show more | |
// https://github.com/electron/electron/issues/19934 | |
// https://stackoverflow.com/questions/50213126/how-to-create-a-non-resizable-and-100-screen-not-full-screen-browserwindow | |
const transparentWindow = new BrowserWindow({ |
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
# ruby uniq speed test : Ruby 2.7.3 | |
# こっちも参考に | |
# https://www.eisbahn.jp/yoichiro/2012/04/ruby_uniq_array.html#gsc.tab=0 | |
# https://zenn.dev/universato/articles/20201210-z-ruby | |
# | |
# | |
# :::::Result: (何回か試行したが大差なかった) | |
# [109] pry(main)> uniq_email_and_user_names | |
# 1.378417334 | |
# => 10 |