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
/* | |
参考: https://sinap.jp/blog/md5pj5uixdzi | |
テキスト結合等不要なコードの整理を適用 | |
*/ | |
(function(){ | |
const body = document.querySelector('body'); | |
const metas = document.querySelectorAll('meta'); | |
let og_type, og_title, og_sitename, og_admin, og_locale, og_image, og_url, og_description, h_description; |
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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false |
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
## OAuth2 Proxy Config File | |
## https://github.com/bitly/oauth2_proxy | |
## /etc/oauth2_proxy.cfg | |
http_address = "unix:///run/socket/oauth2_proxy.socket" | |
upstreams = [ "file:///dev/null" ] | |
email_domains = [ "*" ] |
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
# write this in /etc/bash.bashrc to cannot "apt upgrade" not in screen | |
apt() { | |
if [[ $@ == "upgrade" ]]; then | |
if [ -n "$STY" ]; then | |
command apt "$@" | |
else | |
echo 'you should apt upgrade in "screen -R"' | |
fi | |
else | |
command apt "$@" |
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
cat << EOF >> .bashrc | |
# ---------------------------- | |
if [ -f ~/.bash.bashrc ]; then | |
. ~/.bash.bashrc | |
fi | |
# ---------------------------- | |
EOF |
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
/* in about:config | |
dom.disable_window_open_feature.location = false; | |
dom.disable_window_open_feature.status = false; | |
browser.link.open_newwindow.restriction = 1; | |
*/ | |
// if "location=no" in FireFox, url is in titlebar. | |
window.open("http://pc-play.games.dmm.com/play/imys/", null, "width=1280,height=720,scrollbars=no,location=yes"); | |
window.open("http://pc-play.games.dmm.co.jp/play/imys_r", null, "width=1280,height=720,scrollbars=no,location=yes"); |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace KeyCode | |
{ | |
// MapVirtualKey Function |
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
// PM> Install-Package Newtonsoft.Json | |
// Add Reference to System.Web; | |
using System; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Web; | |
using Newtonsoft.Json; | |
namespace IwiNetPro16ApiClient |
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
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; | |
/** | |
* Created by owner on 2015/10/15. |
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
/** | |
* Created by @twinkfrag on 2015/09/26. | |
*/ | |
import java.nio.file.*; | |
import java.util.*; | |
import java.io.*; | |
import java.util.stream.*; | |
/** |
NewerOlder