๐
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
| <script src="https://cdn.jsdelivr.net/npm/vue"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment-with-locales.js"></script> | |
| <div id="app"> | |
| <input v-model="mytime"> | |
| <p> | |
| <p>FromNow : {{ time_diff() }} | |
| <p>Diff(sec) : {{ time_diff_sec() }} | |
| </div> |
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
| msgid "" | |
| msgstr "" | |
| "Project-Id-Version: gitlab-ee\n" | |
| "Report-Msgid-Bugs-To: \n" | |
| "Last-Translator: gitlab <[email protected]>\n" | |
| "Language-Team: Japanese\n" | |
| "Language: ja_JP\n" | |
| "MIME-Version: 1.0\n" | |
| "Content-Type: text/plain; charset=UTF-8\n" | |
| "Content-Transfer-Encoding: 8bit\n" |
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
| #!/bin/bash | |
| # install docker | |
| curl -fsSL https://get.docker.com/ | sh | |
| # run docker without sudo | |
| usermod -aG docker ubuntu | |
| # install docker-compose | |
| curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |
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
| #!/bin/sh | |
| USERID=`id -u` | |
| if [ ${USERID} -ne 0 ]; then | |
| echo "Usage: sudo ./raspi-setup.sh" | |
| exit 1 | |
| fi | |
| # package list update | |
| #apt-get update |
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
| package main | |
| import ( | |
| "github.com/julienschmidt/httprouter" | |
| "net/http" | |
| "os" | |
| "fmt" | |
| ) | |
| func main(){ |