Skip to content

Instantly share code, notes, and snippets.

View h1romas4's full-sized avatar
🍕
< Pizza Time

hiromasa h1romas4

🍕
< Pizza Time
View GitHub Profile
@h1romas4
h1romas4 / launch.json
Last active January 8, 2019 12:52
hbenl.vscode-firefox-debug で VS Code から Firefox に接続して JavaScript をデバッグ
{
"version": "0.2.0",
"configurations": [
{
// 任意の名称
"name": "Launch firefox",
// hbenl.vscode-firefox-debug 識別子
"type": "firefox",
"request": "launch",
// 画面遷移したら再アタッチ
@h1romas4
h1romas4 / userChrome.css
Created December 13, 2018 03:12
Firefox Developer tools のフォントを変更する chrome/userChrome.css
@-moz-document url-prefix("chrome://devtools/content/") {
* {
font-size: 15px !important;
font-family: 'Ricty Diminished for Powerline' !important;
}
}
@h1romas4
h1romas4 / .bashrc
Last active December 18, 2018 09:59
Powerline と Alacritty と tmux の .bashrc
# Powerline
if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
source /usr/share/powerline/bindings/bash/powerline.sh
fi
# macOS の場合は LANG を設定しないと Powerline の表示がおかしくなる
LANG=ja_JP.UTF-8
# Alacritty & tmux
if [[ "$TERM_PROGRAM" = "alacritty" && $SHLVL = 1 ]]
@h1romas4
h1romas4 / alacritty.yml
Last active January 14, 2023 05:31
Alacritty の設定
#ave_to_clipboard Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@h1romas4
h1romas4 / .tmux.conf
Last active October 20, 2018 15:59
.tmux.conf の設定
# 256 terminal
set-option -g default-terminal screen-256color
set -g terminal-overrides 'xterm:colors=256'
# for powerline
run-shell "powerline-daemon -q"
source "/usr/share/powerline/bindings/tmux/powerline.conf"
# prefixキーをC-aに変更する
set -g prefix C-w
@h1romas4
h1romas4 / c_cpp_properties.json
Last active August 12, 2018 08:03
ESP32 用の c_cpp_properties.json 設定
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceRoot}",
"~/esp/esp-idf/components/"
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
@h1romas4
h1romas4 / settings.json
Created August 8, 2018 17:28
VS Code のユーザー設定
// 既定の設定を上書きするには、このファイル内に設定を挿入します
{
"editor.fontSize": 15,
"editor.fontFamily": "Ricty, Consolas, 'Courier New', monospace",
"editor.renderIndentGuides": true,
"window.zoomLevel": 0,
"window.menuBarVisibility": "toggle",
"php.suggest.basic": false,
"workbench.iconTheme": "vs-minimal",
"editor.minimap.enabled": false,
@h1romas4
h1romas4 / gradlew.bat
Created August 8, 2018 03:19
IBM Java で maven リポジトリの https 接続が connection reset エラーで接続できない場合
rem IBM JDK 1.8.0_171 以上のバージョンを使うこと
rem C:>java -version
rem java version "1.8.0_171"
rem Java(TM) SE Runtime Environment (build 8.0.5.17 - pwa6480sr5fp17-20180627_01(SR5 FP17))
rem IBM J9 VM (build 2.9, JRE 1.8.0 Windows 7 amd64-64-Bit Compressed References 20180626_390413 (JIT enabled, AOT enabled)
rem OpenJ9 - 5cdc604
rem OMR - a24bc01
rem IBM - 21870d6)
rem JCL - 20180619_01 based on Oracle jdk8u171-b11
@h1romas4
h1romas4 / build.gradle
Last active July 29, 2018 09:29
Gradle の Application プラグインで ./gradlew run 実行時に引数を指定する(Gradle 4.9 未満)
apply plugin: 'groovy'
apply plugin: 'application'
mainClassName = 'Hego'
/**
* 起動オプション
*
* Gradle 4.9 なら次で OK
* ./gradlew run --args 'foo --bar'
@h1romas4
h1romas4 / build.gradle
Created June 12, 2018 07:23
Gradle multi projext example.
/**
* Gradle マルチプロジェクトの例
*
* build/build.gradle
* build/setting.gradle
*
* Application/
* Common/
* Project1/
* Project2/