投稿時間:2022-04-25 02:12:54 RSSフィード2022-04-25 02:00 分まとめ(13件)
カテゴリー等 | サイト名等 | 記事タイトル・トレンドワード等 | リンクURL | 頻出ワード・要約等/検索ボリューム | 登録日 |
---|---|---|---|---|---|
IT | 気になる、記になる… | 「iPhone 14」への搭載が噂される衛星通信を利用した緊急通報システム、将来的に「Apple Watch」にも搭載へ | https://taisy0.com/2022/04/25/156206.html | applewatch | 2022-04-24 16:02:04 |
AWS | AWSタグが付けられた新着投稿 - Qiita | 知識ゼロから始めるAWS【2022年春】 | https://qiita.com/zanigani/items/5c26c1e6eefd09a0273a | 興味 | 2022-04-25 01:27:19 |
Docker | dockerタグが付けられた新着投稿 - Qiita | 【Docker】ストレージマウントの種類について | https://qiita.com/P-man_Brown/items/30fba7bb265a525c77ad | docker | 2022-04-25 01:26:26 |
Git | Gitタグが付けられた新着投稿 - Qiita | 基本的なGithub Flowを通して、共同開発に必要なGithubの基本を学ぶ | https://qiita.com/raptony110/items/fe32ef3b577ec4899e63 | github | 2022-04-25 01:33:41 |
技術ブログ | Developers.IO | JAWS-UG横浜「Aurora Serverless v2 Deep Dive」に参加してきた | https://dev.classmethod.jp/articles/aurora-serveless-v2-deep-dive/ | auroraserverlessvdeepdive | 2022-04-24 16:35:38 |
海外TECH | DEV Community | Take me back, please! | https://dev.to/abdlrahmansaberabdo/take-me-back-please-2lb2 | Take me back please Not your best day You made changes you shouldn t have and now everything is broken…Is there a way to undo those commits Git keeps track of updates to the tip of branches using a mechanism called reference logs orreflogsMany Git commands accept a parameter for specifying a reference or “ref which is a pointer to a commit Common examples include git checkoutor git reset git reflogyou can get the record of all the commits done in Git Now you just need to find the commit prior to the one that caused all the hassle HEAD index represents the specified commit so just replace the index with the correct number and run git reset HEAD index The default action for git reset is git reset mixed It means that the changes in your working directory will be preserved but not staged since the index was modified to match the chosen commit the changes are not in the index anymore Other options are Doesn t modify the index or the working tree leaving your changes staged for commit git reset soft Use with caution as it resets both the index and working tree Uncommitted changes and all commits after will be removed git reset hardAnd now you can start over from the point when everything in your repository worked like a charm Remember to use it only locally as modifying a shared repository is considered a serious crime If you found this post useful please share it with your friends Let s connect on LinkedIn Twitter | 2022-04-24 16:28:46 |
海外TECH | DEV Community | PythonIsCool - Chapter 1 | https://dev.to/vulcanwm/pythoniscool-chapter-1-4nca | PythonIsCool Chapter Chapter Table of ContentsIncorrect CodeSyntax HighlightingThe Print FunctionThe Input FunctionVariables Incorrect code To start writing your first line of the code click the first line of code Now write whatever you want to write on the line and press run Luckily for you if you write a code which doesn t make sense you will see an error like SyntaxError invalid syntax in red in the console There are other types of errors like the UnboundLocalError but the most common error right now will the SyntaxError Syntax Highlighting Syntax Highlighting is a feature of text editors that make it easier to read the code So different code parts will have different colours The Print Function The most basic function in Python is print It is a simple function that just writes whatever is in the brackets in the console For instance the way to say Hello World in Python is print Hello World If you write that in code the output would be Hello World Have a go at saying Hello World to Python in your code Try running your code now by pressing the run button The output should look like the picture below If it does then well done You have written your first line of proper Python code If not compare your code to print Hello World and figure out what is wrong The Input Function Input is another common function in Python It is used to ask the person testing out your code a question For example if you want to ask How are you you would write input How are you The picture in the next page shows how the console would look like after you ran the code In the picture above the code hasn t finished running as it is still waiting for the user s response to the input After you answer the input code then the line of code is officially finished Variables Variables are words that have values assigned to them The values could be numbers lists strings etc An example of setting a variable is in the code below hello Hello World In the code s case the variable name is hello and the value is Hello World Now if you want to show Hello World in the console you can just set a variable called hello with the value of Hello World like above and then print hello bearing in mind that because hello is a variable you don t put speech marks around it Now if you run the code the result will be the same as the time you wrote the code print Hello World Another example of a variable is the code below ask input How old are you If you type up that code the result will be the same as your first input statement As I said variables can also be numbers so if you want to assign the variable one the value of the number you will have to do the code below one After you copy the code above if you have copied it correctly you shouldn t see any errors and the console should have nothing on it That is because you haven t called any functions which use the console to display anything Thanks for reading and I hope you learnt something from this | 2022-04-24 16:27:41 |
海外TECH | CodeProject Latest Articles | Simulating CUDA/OpenCL on CPU, with auto-vectorization and speedup against serial scalar code. | https://www.codeproject.com/Articles/5329995/Simulating-CUDA-OpenCL-on-CPU-with-auto-vectorizat | opencl | 2022-04-24 16:06:00 |
海外科学 | NYT > Science | ‘It’s Life or Death’: The Mental Health Crisis Among U.S. Teens | https://www.nytimes.com/2022/04/23/health/mental-health-crisis-teens.html | It s Life or Death The Mental Health Crisis Among U S TeensDepression self harm and suicide are rising among American adolescents For M a year old in Minnesota the despair was almost too much to take | 2022-04-24 16:13:47 |
ニュース | @日本経済新聞 電子版 | 凸版印刷、電子カルテ1000万件分析 創薬時間・費用圧縮 https://t.co/Hetuv6bc7b | https://twitter.com/nikkei/statuses/1518259123913379841 | 凸版印刷 | 2022-04-24 16:02:37 |
ニュース | BBC News - Home | Luke Symons: Cardiff man freed after five years in Yemen detention | https://www.bbc.co.uk/news/uk-wales-61209721?at_medium=RSS&at_campaign=KARANGA | country | 2022-04-24 16:10:09 |
ニュース | BBC News - Home | Breydon Water: Norfolk lifeboat crews rescue 17 people and three pets | https://www.bbc.co.uk/news/uk-england-norfolk-61208092?at_medium=RSS&at_campaign=KARANGA | dramatic | 2022-04-24 16:28:58 |
北海道 | 北海道新聞 | ACL、浦和は大邱とドロー 川崎は大勝で首位 | https://www.hokkaido-np.co.jp/article/673593/ | 首位 | 2022-04-25 01:20:00 |
コメント
コメントを投稿