Skip to content

Instantly share code, notes, and snippets.

@ponsuke0531
ponsuke0531 / myHighcharts.html
Last active February 17, 2017 13:20
Highcharts : Y軸目盛の表示がくっついた時の改善案 ref: http://qiita.com/ponsuke0531/items/b128af70aac7e221c7c1
<!DOCTYPE html>
<html>
<head>
<title>Highchartsの練習</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script type="text/javascript" src="js/myHighcharts.js"></script>
</head>
<body>
@ponsuke0531
ponsuke0531 / Table.html
Last active March 13, 2017 14:02
bashのshellで2次元配列を使ってHTMLのテーブルを作る方法 ref: http://qiita.com/ponsuke0531/items/86df8752d8a4c4e9ca92
<html>
<table bordercolor="black">
<tr>
<th>動物</th>
<th>居場所</th>
</tr>
<tr>
<td bgcolor="peachpuff">くま</td>
<td bgcolor="peachpuff">もり</td>
</tr>
@ponsuke0531
ponsuke0531 / file0.txt
Last active May 18, 2017 01:32
macOS SierraにHomebrewでGlassFish4をインストールする ref: http://qiita.com/ponsuke0531/items/611039314a2e85d02f2b
$ brew update
@ponsuke0531
ponsuke0531 / file0.txt
Created May 18, 2017 12:58
Eclipseでプロジェクトをインポートしたら Could not save master table to file となってしまった時の対応方法 ref: http://qiita.com/ponsuke0531/items/76c06f0280832d5ba379
Could not save master table to file '{ワークスペースの場所}/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources'.
{ワークスペースの場所}/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources (No such file or directory)
@ponsuke0531
ponsuke0531 / file0.txt
Last active May 19, 2017 12:23
GlassFishを起動しようとしたら java.lang.UnsupportedClassVersionError: org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0 となってしまった時の対応方法 ref: http://qiita.com/ponsuke0531/items/bf2a07c37f30318f76ff
$ /c/app/glassfish-4.1.2/glassfish4/glassfish/bin/asadmin
java.lang.UnsupportedClassVersionError: org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
@ponsuke0531
ponsuke0531 / file0.txt
Last active May 21, 2017 06:49
Windows7でJavaのバージョンを切り替えたら Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. となってしまった時の対応方法 ref: http://qiita.com/ponsuke0531/items/8939cb2764acd3f981c5
$ java -version
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required.
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.
@ponsuke0531
ponsuke0531 / file0.txt
Created May 31, 2017 12:17
macOS SierraにHomebrewでipコマンドをインストールする ref: http://qiita.com/ponsuke0531/items/bb10e2a8614501f51723
$ brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
<省略>
$ brew doctor
Your system is ready to brew.
@ponsuke0531
ponsuke0531 / file0.txt
Created June 1, 2017 14:28
CentOS7において「ip addr show」の結果をちょっと理解できるように調べた記録 ref: http://qiita.com/ponsuke0531/items/b61eeefdad9bb5e2ac28
* Two character prefixes based on the type of interface:
* en -- ethernet
* sl -- serial line IP (slip)
* wl -- wlan
* ww -- wwan
*
* Type of names:
* b<number> -- BCMA bus core number
* ccw<name> -- CCW bus group name
* o<index>[d<dev_port>] -- on-board device index number
@ponsuke0531
ponsuke0531 / file0.txt
Last active June 26, 2017 13:02
RubyGemsでSASSとCompassとSASS版Bootstrapをインストールする方法 ref: http://qiita.com/ponsuke0531/items/ad8b196ce1813a5d7f97
$ sudo gem install rubygems-update
Password:
Fetching: rubygems-update-2.6.12.gem (100%)
Successfully installed rubygems-update-2.6.12
Parsing documentation for rubygems-update-2.6.12
Installing ri documentation for rubygems-update-2.6.12
1 gem installed
$ sudo update_rubygems
Password:
RubyGems 2.6.12 installed
@ponsuke0531
ponsuke0531 / file0.txt
Last active June 29, 2017 13:22
sass --watch をしたら Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback. となってしまった時の対応方法 ref: http://qiita.com/ponsuke0531/items/e3ddcacfa1edd43fad3f
$ sass --watch sass:css --sourcemap=none
>>> Sass is watching for changes. Press Ctrl-C to stop.
[Listen warning]:
Listen will be polling for changes. Learn more at https://github.com/guard/listen#polling-fallback.
>>> Change detected to: sass/style.scss
write css/style.css