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
Foo f = new Foo(); |
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
DROP PROCEDURE IF EXISTS DropForeignKey; | |
DELIMITER // | |
CREATE PROCEDURE DropForeignKey() | |
BEGIN | |
DECLARE _table_name VARCHAR(64); | |
DECLARE _constraint_name VARCHAR(64); | |
DECLARE _done INT DEFAULT FALSE; | |
DECLARE cur CURSOR FOR |
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
[ec2-user@ip-172-000-11-222 ~]$ sudo su # rootユーザにスイッチ | |
[root@ip-172-000-11-222 ec2-user]# cat /etc/motd | |
__| __|_ ) | |
_| ( / Amazon Linux AMI | |
___|\___|___| | |
https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/ | |
13 package(s) needed for security, out of 23 available | |
Run "sudo yum update" to apply all updates. |
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
version: '3.5' | |
services: | |
jenkins: | |
image: jenkins:latest | |
container_name: jenkins | |
restart: always | |
ports: | |
- 3001:8080 | |
environment: |
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
$ sudo yum update -y |
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
fatal: unable to access 'https://github.com/xxx-user/repository-name.git/': error setting certificate verify locations: | |
CAfile: C:/Program Files/Git/mingw64/libexec/ssl/certs/ca-bundle.crt | |
CApath: none |
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
$ curl -sS https://getcomposer.org/installer | php | |
All settings correct for using Composer | |
Downloading... | |
Composer (version 1.6.5) successfully installed to: /home/xxxxx-user/composer.phar | |
Use it: php composer.phar |
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
$ curl -sS https://getcomposer.org/installer | php | |
All settings correct for using Composer | |
Downloading... | |
Composer (version 1.6.5) successfully installed to: /home/xxxxx-user/composer.phar | |
Use it: php composer.phar |
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
$ sudo service mysqld start | |
Starting mysqld: [ OK ] |
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
$ git clone git://github.com/mazgi/scalaenv.git ~/.scalaenv | |
Cloning into '/home/ec2-user/.scalaenv'... | |
remote: Counting objects: 703, done. | |
remote: Compressing objects: 100% (16/16), done. | |
remote: Total 703 (delta 5), reused 11 (delta 3), pack-reused 683 | |
Receiving objects: 100% (703/703), 104.73 KiB | 221.00 KiB/s, done. | |
Resolving deltas: 100% (331/331), done. |
NewerOlder