hoge.jsonの内容を整形
$ cat hoge.json | jq .
[
{
"id": 2,
"name": "ゆかり"
},
{
トラックリスト
番号 | 曲名 | アーティスト | 発売日 |
---|---|---|---|
1 | シーズン・イン・ザ・サン | Tube | 1986年4月21日 |
2 | 夏の決心 | 大江千里 | 1994年8月1日 |
This file contains hidden or 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
# main.tf | |
# ------------------------ | |
# 設定 | |
# ------------------------ | |
locals { | |
# ドメイン | |
domain = "hoge.example.org" | |
# AWSプロファイル |
This file contains hidden or 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
Jetson nano(Ubunutu) | |
テキストモードログイン | |
sudo systemctl set-default multi-user.target | |
GUIログイン | |
sudo systemctl set-default graphical.target | |
手動GUI起動 | |
sudo systemctl start gdm3.service |
This file contains hidden or 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
sub file_read { | |
my ($filename)=@_; my $buf=""; | |
open(my $fh,'<',$filename) || die "$filename - $!"; | |
local $/; $buf=<$fh>; | |
return $buf; |
This file contains hidden or 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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
sub file_read { | |
my ($filename)=@_; my $buf=""; | |
open(my $fh,'<',$filename) || die "$filename - $!"; | |
local $/; $buf=<$fh>; | |
return $buf; |