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 set_iterm2_profile() { | |
| local profile="$1" | |
| echo -ne "\033]1337;SetProfile=$profile\a" | |
| } | |
| set_iterm2_profile "Default" | |
| function ssh_color() { | |
| local host="$1" | |
| case "$host" in |
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
| [alias] | |
| # Output the current branch | |
| now = !git rev-parse --abbrev-ref HEAD | |
| # Output the absolute path to the repository | |
| path = !git rev-parse --show-toplevel | |
| # Add all differences | |
| addAll = !git add -A |
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
| [ | |
| { | |
| "key": "ctrl+cmd+a", | |
| "command": "extension.codicTranslate" | |
| }, | |
| { | |
| "key": "ctrl+cmd+c 2", | |
| "command": "extension.changeCase.camel" | |
| }, | |
| { |
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
| yum update -y \ | |
| && echo "[nginx] | |
| name=nginx repo | |
| baseurl=http://nginx.org/packages/centos/7/\$basearch/ | |
| gpgcheck=0 | |
| enabled=1" > /etc/yum.repos.d/nginx.repo \ | |
| && curl -sL https://rpm.nodesource.com/setup_14.x | bash - \ | |
| && curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \ | |
| && rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \ | |
| && yum groupinstall -y "Development Tools" \ |
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
| { | |
| "Use Non-ASCII Font" : false, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Green Component" : 0.81066548824310303, | |
| "Blue Component" : 0.99898606538772583, | |
| "Red Component" : 0.43880558013916016 | |
| }, |
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
| {"lastUpload":"2020-12-06T12:11:53.897Z","extensionVersion":"v3.4.3"} |
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
| <pre> | |
| <?php | |
| /** | |
| * All of the Arguments do Sanitize | |
| * | |
| * @param string|array $__stringer | |
| * @return string|array | |
| */ | |
| function __h( |
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
| <pre> | |
| <?php | |
| $define_names = [ | |
| "A" => "a", | |
| "B" => "b", | |
| "C" => "c", | |
| "D" => "d", | |
| "E" => "e", | |
| ]; |
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
| <!DOCTYPE html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>StackTrace</title> | |
| </head> | |
| <body> | |
| <script> | |
| window.onerror = function(msg, file, line, col, err) { |
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
| google.maps.event.addListener(marker, 'mouseover', function(){ | |
| //ここにホバー時の処理を記述する | |
| }); | |
| google.maps.event.addListener(marker, 'mouseout', function(){ | |
| //ここにホバー解除時の処理を記述する | |
| }); | |
| marker.addListener('click',function(){ | |
| //マーカーをクリックしたときの処理を記述する |
NewerOlder