IT |
気になる、記になる… |
「watchOS 10」は過去最大級のアップデートに − ウィジェットが中心的機能に?? |
https://taisy0.com/2023/04/30/171350.html
|
apple |
2023-04-30 13:53:07 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
GitHub Actionsでレンタルサーバにsshしてpullする方法 |
https://qiita.com/numatti9361/items/5391546e1ef2306517f7
|
githubactions |
2023-04-30 22:50:12 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
GitLab Group 内に一般公開用の Wiki ページを作る |
https://qiita.com/nanbuwks/items/4bf5b5ad97c5acffb1ee
|
gitlabgroup |
2023-04-30 22:32:30 |
技術ブログ |
Developers.IO |
Notionでトグル見出しを活用しての校正後にまるっと一つの文章にするプロンプト #NotionAI |
https://dev.classmethod.jp/articles/prompt-that-to-combine-each-headlines-and-text-in-toggles/
|
notion |
2023-04-30 13:49:02 |
技術ブログ |
Developers.IO |
[AWS CDK] synthesize 実行時に “Error: Expected JSON path to start with ‘$’, got: DISCARD” というエラーが発生する場合の対処 |
https://dev.classmethod.jp/articles/aws-cdk-error-discard-json-path-to-start-with-got-discard/
|
edjsonpathtostartwithgot |
2023-04-30 13:43:41 |
技術ブログ |
Developers.IO |
Tableau:動的ゾーン表示を使用してグラフの表示切替をしてみた |
https://dev.classmethod.jp/articles/tableau-dynamic-zone-visibility/
|
dynam |
2023-04-30 13:37:13 |
技術ブログ |
Developers.IO |
[マルチアカウントTIPS] メンバーアカウントの閉鎖制限で閉鎖できない時は、どうしたら良いですか? |
https://dev.classmethod.jp/articles/202304-cannot-close-my-member-account-due-to-closure-restrictions/
|
awsorganizations |
2023-04-30 13:29:30 |
技術ブログ |
Developers.IO |
[UPDATE] AWS Elemental MediaConvertで変換後の動画品質が確認できるMedia Metricsが利用可能になりました! |
https://dev.classmethod.jp/articles/aws-elemental-mediaconvert-media-metrics/
|
awsmediaservices |
2023-04-30 13:28:13 |
技術ブログ |
Developers.IO |
境界型セキュリティからゼロトラストへ 〜 ZTNAとCloudflare Access |
https://dev.classmethod.jp/articles/cloudflareaccess-ztna/
|
access |
2023-04-30 13:06:01 |
海外TECH |
DEV Community |
Streamlining Blog Creation: My Experience Writing a Bash Script as a Web Developer |
https://dev.to/levischouten/streamlining-blog-creation-my-experience-writing-a-bash-script-as-a-web-developer-26bd
|
Streamlining Blog Creation My Experience Writing a Bash Script as a Web DeveloperAs a web developer I must admit that I have never delved much into bash scripting It just never seemed necessary for my work However recently I launched my personal website and all of the content is written in markdown files Since I m the one responsible for maintaining the content I decided to make the process of creating new blogs easier by writing a script I could have written the script in TypeScript or JavaScript like the rest of the project Still I felt this was an excellent opportunity to learn bash scripting as the script only had to execute a set of CLI commands with minimal logic in between In this post I want to share my experience of writing my first bash script as a web developer To start I added the she bang at the top of the script to ensure it was executed using the bash shell followed by comments explaining what the script would do Next I set the e option to instruct bash to exit the script immediately if any command has a non zero exit status and the u option to ensure that every variable is defined before it is used Learn more about that here bin bash Create a new blog post Usage scripts create blog sh My New Blog Post Exit if any subcommand failsset e Exit if any variable is uninitializedset uThen came the actual script I defined a few variables that the blog required such as the title which we get from the CLI the date which we generated based on the current date and the filename which we got by turning the title into kebab case Get the title from the command linetitle Get the current datedate date Y m d Create the file namefilename echo title tr tr upper lower With these variables defined I was ready to create the blog First I made sure the file did not already exist Then I created the actual blog making use of all the variables we defined earlier Finally I created a folder where we would store all the assets related to the blog if test f content blogs filename md then echo File already exists exit fiecho title title excerpt Short description of the post coverImage assets blogs filename cover jpg date date Write your content here gt gt content blogs filename md echo Created content blogs filename md if d public assets blogs filename then mkdir p public assets blogs filename echo Created public assets blogs filename for blog assets fiAnd voila The script was complete I learned a lot about bash scripting by building this simple script and it has definitely opened up the doors for me to start automating many more tasks using bash If you re interested in seeing that process be sure to keep an eye out for this blog or follow me on Twitter where I ll be posting about my future findings Thank you for taking the time to read about my experience I hope this post has been helpful to any developers out there who like me may be hesitant to dip their toes into bash scripting Feel free to reach out if you have any questions or if you see room for improvement I am always eager to learn Source code GithubPersonal website levischouten netSocials Twitter |
2023-04-30 13:01:40 |
Apple |
AppleInsider - Frontpage News |
watchOS 10 rumored to get big redesign, featuring widgets |
https://appleinsider.com/articles/23/04/30/widgets-to-become-a-greater-focus-in-watchos-10?utm_medium=rss
|
watchOS rumored to get big redesign featuring widgetsApple s major improvements to watchOS will include more interactive widgets a report claims which could be similar to how the elements were introduced in iOS Apple Watch UltraIt is believed that with a milestone number release on hand Apple s updates to watchOS will be considerable It seems that a big focus of the changes will be widgets Read more |
2023-04-30 13:36:03 |
ニュース |
BBC News - Home |
Caerphilly: Baby in hospital after dog attack |
https://www.bbc.co.uk/news/uk-wales-65441162?at_medium=RSS&at_campaign=KARANGA
|
attacks |
2023-04-30 13:25:29 |
ニュース |
BBC News - Home |
Nurses' strike: Nurse union relaxes strike rules for critical services |
https://www.bbc.co.uk/news/health-65442143?at_medium=RSS&at_campaign=KARANGA
|
critical |
2023-04-30 13:36:20 |
ニュース |
BBC News - Home |
Bodmin murder investigation after man stabbed in brawl |
https://www.bbc.co.uk/news/uk-england-cornwall-65441538?at_medium=RSS&at_campaign=KARANGA
|
brawlthe |
2023-04-30 13:26:54 |
海外TECH |
reddit |
低濃度エタノール蒸気の吸入でインフルエンザの感染を抑制 OISTが確認 |
https://www.reddit.com/r/newsokunomoral/comments/133q6qi/低濃度エタノール蒸気の吸入でインフルエンザの感染を抑制_oistが確認/
|
ewsokunomorallinkcomments |
2023-04-30 13:20:22 |
コメント
コメントを投稿