Skip to content

Instantly share code, notes, and snippets.

View HiroNakamura's full-sized avatar
🏠
Working from home

Developer of interesting things HiroNakamura

🏠
Working from home
View GitHub Profile
@HiroNakamura
HiroNakamura / Redux
Created November 14, 2021 17:23 — forked from ChuckJonas/Redux
React React
[react-redux-typescript-guide](https://github.com/piotrwitek/react-redux-typescript-guide)
[FAQ](http://redux.js.org/docs/FAQ.html)
[Redux Actions in typescript](https://spin.atomicobject.com/2017/07/24/redux-action-pattern-typescript/)
```typescript
export enum TypeKeys {
INC = 'INC',
DEC = 'DEC',
OTHER_ACTION = '__any_other_action_type__'
}
@HiroNakamura
HiroNakamura / Bash.sh
Last active October 9, 2022 22:07
Topics of my Linux, Bash, Git, Jenkins, Virtualisation and Docker
Use case:
http://gitlab.com/UnderGrounder96/awx_install.git
Reference Bash:
https://tutorialkart.com/bash-shell-scripting/bash-tutorial/
shebang: #!/bin/bash
1 - Variables
SYSTEM VARIABLES vs USER VARIABLES
/*
* Added additional null checks when closing the ResultSet and Statements.
*
* Thanks to pihug12 and Grzegorz Oledzki at stackoverflow.com
* http://stackoverflow.com/questions/5332149/jdbc-scriptrunner-java-lang-nullpointerexception?tab=active#tab-top
*/
/*
* Modified: Use logWriter in print(Object), JavaDoc comments, correct Typo.
*/
/*