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: ( function () { var BASE_URL = AJS.params.baseURL; function getUrlPath(username, password) { return BASE_URL + "/login.jsp?os_username=" + username + "&os_password=" + password + "&os_destination=" + encodeURIComponent(location.href); } var username = 'admin'; var password = 'admin'; location.href = getUrlPath(username, password); } )(); |
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
Set objExcel = CreateObject("Excel.Application") | |
objExcel.Visible = True | |
For Each strFname In WScript.Arguments | |
Set objDoc = objExcel.Workbooks.Open(strFname) | |
' clear all names (comment out) | |
For Each N In objDoc.Names | |
'' N.Delete | |
Next | |
' clear all user style |
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
// Copyright 2017 Kohei Arao | |
// https://opensource.org/licenses/MIT | |
@startuml | |
title EGLの使い方 | |
| バックエンド | | |
start | |
:初期化処理; | |
note right |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash -eu | |
# The MIT License (MIT) | |
# Copyright (c) 2016 Kohei Arao | |
# https://opensource.org/licenses/MIT | |
FILEPATH=$1 | |
# validate | |
FILENAME=$(basename ${FILEPATH}) |
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
#!/bin/bash -eu | |
if [ ! -e ~/.ssh/id_rsa_gitlab ]; then | |
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa_gitlab | |
fi | |
if [ ! -e ~/.ssh/config ] || [ $(cat ~/.ssh/config | grep github | wc -l) == 0 ]; then | |
cat << EOS >> ~/.ssh/config | |
Host github github.com | |
User git |
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
#ifdef ERROR_DEFINED | |
#error "error macro defined" | |
#endif | |
#ifdef WARNING_DEFINED | |
#warning "warning macro defined" | |
#endif | |
int main(int argc, char const* argv[]) | |
{ |
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
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/0.12.5/vue.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/styles/solarized_light.min.css"> | |
<style type="text/css"> | |
html, body, #editor { | |
margin: 0; | |
height: 100%; | |
font-family: 'Helvetica Neue', Arial, sans-serif; |