投稿時間:2022-12-18 23:34:05 RSSフィード2022-12-18 23:00 分まとめ(38件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Eixirで機械学習に初挑戦④:ElixirでKaggleにトライ…「データ前処理」基礎編 ※最新Livebook 0.8に対応 https://qiita.com/piacerex/items/a40c5d24190d59f68610 piacere 2022-12-18 22:57:37
python Pythonタグが付けられた新着投稿 - Qiita 【PySimpleGUI】画像閲覧とPDF画像変換アプリを自作してみた https://qiita.com/bb_satoru/items/c4b04605beeaae674480 pysimplegui 2022-12-18 22:40:46
js JavaScriptタグが付けられた新着投稿 - Qiita DOM 要素のまわりを文字列がグリグリ動く Train Animation を offset-path で 実装する https://qiita.com/mimonelu/items/67c9dff0fae5cc6b7eca offsetpath 2022-12-18 22:09:35
js JavaScriptタグが付けられた新着投稿 - Qiita HTMLCanvasElement.captureStreamで取得した配信の画質を極力落とさずに配信する https://qiita.com/kazuya_reas/items/665edf00d71b1ac5034f adventcalendar 2022-12-18 22:07:19
Ruby Rubyタグが付けられた新着投稿 - Qiita Ruby WASMを少しだけ触ってみる https://qiita.com/yhorikawa/items/c4c8638700278b679185 example 2022-12-18 22:44:58
Linux Ubuntuタグが付けられた新着投稿 - Qiita Ubuntuでcronを使った定期実行の基礎 https://qiita.com/waokitsune/items/1a9d2a6a481df378f478 ubuntu 2022-12-18 22:57:53
Linux Ubuntuタグが付けられた新着投稿 - Qiita Ubuntu系OSのinit https://qiita.com/akachochin/items/48c3f1781d2209eec743 ubuntu 2022-12-18 22:21:29
AWS AWSタグが付けられた新着投稿 - Qiita AWS Elastic Beanstalkの特徴(AWSでWEBアプリケーションを最速で稼動させるサービスの説明) https://qiita.com/shinkai_/items/096e0ee5f9c2f3c76c2b awselasticbeanstalk 2022-12-18 22:45:18
AWS AWSタグが付けられた新着投稿 - Qiita Glueデータカタログで発生したjson形式の問題:json Lines形式へ変換対応 https://qiita.com/koma_aws/items/9468f8d6a8a4a3aafe91 namesato 2022-12-18 22:03:36
Docker dockerタグが付けられた新着投稿 - Qiita Docker コンテナ上に Bumblebee による画像分類 REST API を構築する https://qiita.com/RyoWakabayashi/items/470e9ca9bd17a71be39d airestapi 2022-12-18 22:56:58
Docker dockerタグが付けられた新着投稿 - Qiita DevContainerでDockerの引数オプションを使いたい https://qiita.com/yuriacats/items/e71b3a774cffc263d527 devcontainer 2022-12-18 22:33:22
GCP gcpタグが付けられた新着投稿 - Qiita GCEの追加ディスクをパーティション分割する方法 https://qiita.com/tYug/items/a3dacaf80f76aa24acb7 通り 2022-12-18 22:24:09
Azure Azureタグが付けられた新着投稿 - Qiita Microsoft Defender for Endpoint から Microsoft Defender for Cloud へサーバーを移行してみた https://qiita.com/kimujun0512/items/e5923872ec4d4d405e9b defenderforendpoint 2022-12-18 22:51:18
Ruby Railsタグが付けられた新着投稿 - Qiita 同じpage内でStimulus 同一のcontrollerを何度も利用したいとき https://qiita.com/Kedaruma_Bond/items/79f8a33a448756f3d499 controller 2022-12-18 22:30:49
技術ブログ Developers.IO [レポート] Introducing Amazon GuardDuty RDS Protection #SEC218 #reinvent https://dev.classmethod.jp/articles/reinvent2022-sec218/ amazon 2022-12-18 13:08:03
海外TECH MakeUseOf How Does Ford's BlueCruise Hands-Free Driving Technology Work? https://www.makeuseof.com/how-does-ford-blue-cruise-hands-free-driving-work/ bluecruise 2022-12-18 13:01:14
海外TECH DEV Community 20 Git Commands you (probably) didn't know about 🧙‍♂️ https://dev.to/lissy93/20-git-commands-you-probably-didnt-know-about-4j4o Git Commands you probably didn x t know about ‍ ️If you ve ever browsed the git manual or run man git then you ll have noticed there s a whole lot more to git than what most of us use on a daily basis A lot of these commands are incredibly powerful and can make your life a lot easier others are a bit niche but still good to know This post outlines of my favourite under used git features which you can use to level up your development process impress your colleagues help you answer git interview questions and most importantly have fun with ContentsGit Web Open builtin GUIGit Notes Attach extra info to commitsGit Bisect Debug like a proGit Grep Search for anythingGit Archive Compress project for sharingGit Submodules Import other repos into yoursGit Bugreport Compile bug report with system infoGit Fsck Verify and recover unreachable objectsGit Stripspace Remove trailing whitespacesGit Diff Compare changes between two filesGit Hooks Execute script when a git command is runGit Blame Show who wrote a given lineGit Large File Storage Store big files in gitGit Garbage Collection Optimize your git repoGit Show Easily inspect any git objectGit Describe Give readable name based on last tagGit Tag Create version tags at specific pointsGit Reflog List all git actions made on a repoGit Log View commit log and branch diagramsGit Cherry Pick Pull a feature into your branchGit Switch Quickly jump between branchesBonus Extend git with more commands Git WebRun git instaweb to instantly browse your working repository in gitwebGit has a built in web based visualiser for browsing local repositories which lets you view and manage your repo via a GUI in the browser It s packed with useful features including Browsing and stepping through revisions and inspecting diffs file contents and metadataViewing commit logs branches directories file history and attached data visuallyGenerating RSS or Atom feeds of commits and repository activity logsSearching commits files changes and diffsTo open it just run git instaweb from within your repo Your browser should pop open and load http localhost If you don t have Lighttpd installed you can specify an alternative web server with the d flag Other options can be configured either via flags like p for port b for the browser to open etc or under the instaweb block in your git config There s also the git gui command which can open up a GUI based git app Git NotesUse git notes to add extra info to commitsSometimes you need to attach additional data to a git commit beyond just the changes message date time and author info The notes are stored within git refs notes and since that s separate from the commit object data you can modify the notes associated with a commit at anytime without the SHA hash changing You can view notes with git log using most git GUI apps or with the git notes show command Some git hosts also show notes in the commit view although GH no longer displays notes Git BisectWith git bisect you can find the commit that introduced a bug using binary searchThis is one of the most powerful yet easy to use git commands bisect is an absolute life saver when it comes to debugging After starting a bisect it checks out commits for you and you tell it weather that commit is good no bug or bad bug introduced which lets you narrow down the the earliest commit where the bug is present To get started run git bisect start then pass it a known good commit with git bisect good lt commit hash gt and a known bad one defaults to current with git bisect bad lt optional hash gt It will then checkout the commit in between the good and bad commits then you specify weather the bug is present with either git bisect good or git bisect bad It will then repeat the process checking out a commit in the center of the bad and good all the way until you ve found the exact commit that introduced the bug Cancel anytime with git bisect reset There s much more to the bisect command including replays viewing commits skipping so it s worth checking out the docs next time your debugging Git GrepUse git grep to search for code files commits or anything else across your repoEver find yourself needing to search for a string anywhere within a git project With git grep you can easily search for any string or RegEx throughout your project and across branches like a more powerful Ctrl F git grep lt regexp gt lt ref gt It includes plenty of options to narrow down your search or specify results format For example use l to only return file names c to specify number of matches per file to return e to exclude results matching a condition and to specify multiple conditions n to search with line number Since git grep is regex compatible you can get much more advanced with the string your searching for You can also use it to specify a file extension like git grep console log js which will show all console logs from within JavaScript filesThe second parameter is a ref and can be a branch name commit range of commits or anything else E g git grep foo HEAD will search the previous commit Git ArchiveUse git archive to combine an entire repo into a single fileWhen sharing or backing up a repository it s often preferred to store it as a single file Using git archive will include all repo history so it can be easily extracted back to it s original form The command also includes a lot of additional options so you can customise exactly what files are and aren t included in the archive git archive format tar output my archive HEAD Git SubmodulesUse git submodule to pull any other repository into yoursIn git submodules let you mount one repo into another and is commonly used for core dependencies or splitting components into separate repositories For more info see this post Running the following command will pull a module into the specified location and also create a gitmodules file so that it s always downloaded when the repo is cloned Use the recursive flag to include sub modules when cloning the repo git submodule add user gt lt repo gt lt path to save at gt There s also git subtree which does a similar thing but without the need for metadata files Git Bug ReportUse git bugreport to compose a bug ticket including git and system infoThis command will capture system info and then open up a standard bug template steps to reproduce actual expected output etc The completed file should be a very complete bug report with all necessary info captured This is very handy if your a maintainer for an open source package and asking a user developer to raise a bug report as it ensures all necessary data is included And if you are raising a bug report to the core git system you can also run the git diagnose command and then raise your issue here Git FsckUse git fsck to check all objects or recover unreachable onesAlthough not often needed sometimes you may have to verify the objects stored by git This is where fsck or File System ChecK comes in it tests the object database and verifies the SHA ID of all objects and the connections they make It can also be used alongside the unreachable flag to find objects that are no longer reachable from any named reference since unlike other commands it includes everything in git objects Git StripspaceUse git stripspace to format whitespaces within a given fileBest practice is to avoid trailing whitespaces at the end of lines avoid having multiple consecutive blank lines avoid empty lines from beginning and end of an input and end each file with a new line There s plenty of language specific tools which do this automatically for you like prettier but Git also has this functionality builtin It s intended for metadata commit messages tags branch descriptions etc but also works if you pipe a file to it then pipe the response back to a file E g cat path to file txt git stripspace or git stripspace lt dirty file txt gt clean file txtYou can also use this to remove comments with strip comments or even comment out lines with comment lines Git DiffWith git diff you can compare the difference between sets of codeYou re probably aware that you you can run git diff to show all changes since the last commit or use git diff lt commit sha gt to compare either commits or commit to the HEAD But there s much more you can do with the diff command You can also use it to compare any two arbitrary files with diff file txt file txt no more visiting diffchecker com Or compare branches or refs with each other using git diff branch branchNote that a double dot is the same as a space and indicates the diff input should be the tip of the branches but you can also use a triple dot to convert the first parameter into a ref of the shared common ancestor commit between the two diff inputs very useful If you want to only compare a single file across branches just pass the files name in as the third argument You may want to see all changes made within a given date range for this use git diff HEAD day ago HEAD for the last week again this can be paired up with a filename branch names specific commits or any other ref There s also the git range diff command which provides a simple interface for comparing commit ranges There s much more to the git diff tool as well as the option of using your own diff checker so I recommend checking out the docs Git HooksUse hooks to execute command or run scripts when a given get action occursHooks let you automate pretty much anything For example ensuring standards are met commit message branch name patch size code quality tests lint appending additional info to a commit user device ticket ID calling a webhook to record an event or run a pipeline etc There s pre and post hooks available for most git events like commit rebase merge push update applypatch etc Hooks are stored in git hooks unless you configure them elsewhere with git config core hooksPath and can be tested with the git hook command Since they re just shell files they can be used to run any command Hooks aren t pushed to the remote repository so to share and manage them across your team you ll need to use a hook manager like lefthook or husky There s also several rd party tools which make managing hooks easier I recommend overcommit Remember hooks can always be skipped with the no verify flag so never rely purely on hooks especially for anything security related Git BlameUse git blame to show author info for a specific revision and lineA classic quickly find out who wrote a specific line of code aka which of your co workers to blame for the bug But it s also useful to determine at which point in time something changed and inspect that commit and associated metadata For example to view author and commit info for line to of index rs you d run git blame L index rs Git LFSStore large files using git lfs to not bog down your repoOften your project will contain larger files such as databases binary assets archives or media files which would slow down the git workflow and max out usage limits That s where Large File Storage comes in it enables you to store these large assets elsewhere while keeping them trackable with git and maintaining the same access controls permissions LFS works by replacing these larger files with text pointers that are tracked within git To use it just run git lfs track lt file glob gt which will update your gitattributes file You can specify files by their extension e g psd directory or individually Running git lfs ls files to view a list of tracked LFS files Git GCUse git gc to optimize your repositoryOver time git repos accumulate various types of garbage which take up disk space and slow down actions That s where the built in garbage collector comes in Running git gc will remove orphaned and inaccessible commits with git prune compress file revisions and stored git objects as well as some other general house keeping tasks like packing refs pruning reflog revere metadata or stale working trees and updating indexes Adding the aggressive flag will aggressively optimize the repository throwing away any existing deltas and re computing them this takes much longer to run but may be needed if you ve got a large repository Git ShowUse git show to easily inspect any git objectOutputs objects blobs treees tags or commits in an easily readable form To use just run git show lt object gt You ll likely also want to append the pretty flag for a clearer output but there s many other options available to customize the output with format so this command can be extremely powerful for displaying exactly what you need An instance that this is very useful for is previewing a file in another branch without switching branches Just run git show branch file Git DescribeUse git describe to find the latest tag reachable from a commit and give it a human readable nameRun git describe and you ll see a human readable string made from combining the last tag name with the current commit to generate a string You can also pass a specific tag to it Note that you must have created tags for this to work unless you append the all flag Git describe will also only use annotated tags by default so you must specify the tags flag to make it use lightweight tags as well Git TagTag a specific point in your repo s history using git tagIt s often useful to be able to tag specific important points in a repository s history most commonly used to denote versions of releases Creating a tag is as simple as git tag  lt tagname gt or you can tag a historical commit with git tag a v lt commit sha gt Like with commits you can include a message alongside a tag using m Don t forget to push your tag to remote with git push origin lt tagname gt To list all tags just run git tag and optionally use l for a wildcard search You ll then be able to checkout a specific tag with git checkout  lt tagname gt Git ReflogList all updates made on your repo using git reflogGit keeps track of updates to the tip of branches using a mechanism called reference logs or reflogs Various events are tracked including clone pull push commit checkout and merge It s often useful to be able to find an events reference as many commands accept a ref as a parameter Just run git reflog to view recent events on HEAD One thing that reflog is really useful for is recovering lost commits Git never really loses anything even when rewriting history like rebasing or commit amending Reflog allows you to go back to commits even though they are not referenced by any branch or tag By default reflog uses HEAD your current branch but you can run reflog on any ref For example git reflog show lt branch name gt or to see stashed changes with git reflog stash Or show all references with git reflog show all Git LogUse git log to view a list of commitsYou re likely already familiar with running git log to view a list of recent commits on your current branch But there s a few things more you can do with git log Using git log graph decorate oneline will show a nice neat commit graph along with ref pointers You also often need to be able to filter logs based on various parameters the most useful of which are git log search lt anything gt Search logs for specific code changesgit log author lt pattern gt Show log only for specific author s git log grep lt pattern gt Filter log using search term or regexgit log lt since gt lt until gt Show all commits between two referencesgit log lt file gt Show all commits made only to a specific fileOr just run git shortlog for a summerized list of commits Git Cherry PickUse git cherry pick to pick specified commit s by reference and append them to the working HEADSometimes you need to pull a specific commit from elsewhere into your current branch This can be very useful for applying hot fixes undoing changes restoring lost commits and in certain team collaboration settings Note that often traditional merges are better practice since cherry picking commits can cause duplicate commits in the log Usage is straightforward just run git cherry pick lt commit hash gt This will pull the specified commit into your current branch Git SwitchUse git switchMoving between branches is something that we do often the switch command is like a simplified version of git checkout it can be used to create and navigate between branches but unlike checkout does not copy modified files when you move between branches Similar to checkout b with the switch command you can append the c flag to create a new branch and jump strait into it e g git switch c lt new branch gt And running git switch will discard any experimental changes you ve made and return you to your previous branch Git StandupUse git standup to recall what you did on the last working day based on git commitsI ve put this one at the end as it s not included with most git clients but you can easily install it either with your systems package manager using a line curl script or by building from source If your boss requires you do a daily standup to give updates on yesterdays work but you can never remember what you actually did this one is for you It ll show a nicely formatted list of everything done in a given time frame Usage is simple just run git standup or use these options to specify what data should be shown author timeframe branches etc BonusGit can be easily extended with add ons to add extra commands that do useful tasks One of the most complete extensions is git extras by tj It gives you extra commands to automate common git jobs For a list of more useful git add ons see stevemao awesome git addons If you re working with GitHub repos then the GitHub CLI let s you do common tasks managing PRs issues code reviews etc from the command line If you like this kind of stuff consider following for more 2022-12-18 13:32:40
Apple AppleInsider - Frontpage News Daily deals Dec. 18: $100 off AirPods Max, $50 off AirPods Pro Gen 2, $300 off 14-inch MacBook Pro, more https://appleinsider.com/articles/22/12/18/daily-deals-dec-18-100-off-airpods-max-50-off-airpods-pro-gen-2-300-off-14-inch-macbook-pro-more?utm_medium=rss Daily deals Dec off AirPods Max off AirPods Pro Gen off inch MacBook Pro moreSunday s top deals include off the Bose Smart Soundbar off the M MacBook Air a half price OtterBox Wireless Power Bank and more Best deals for December Every day the AppleInsider team looks at online retailers to discover discounts and deals on the best tech products including deals on Apple devices smart TVs accessories and other gadgets We deliver the top finds in our Daily Deals list to help you save money Read more 2022-12-18 13:26:28
Apple AppleInsider - Frontpage News Crime blotter: Apple Store robbed at gunpoint, UPS driver stealing iPhones, more https://appleinsider.com/articles/22/12/18/crime-blotter-apple-store-robbed-with-semiautomatic-gun?utm_medium=rss Crime blotter Apple Store robbed at gunpoint UPS driver stealing iPhones moreIn the latest Apple Crime Blotter a UPS driver was arrested for stealing iPhone packages police sued over Find My iPhone raid and thieves arrested after leaving behind a stolen iPad The Apple Store in Bethesda Md The latest in an occasional AppleInsider series looking at the world of Apple related crime Read more 2022-12-18 13:47:32
ニュース BBC News - Home Oliver Dowden firm on pay as nurses warn of more strikes https://www.bbc.co.uk/news/uk-64016527?at_medium=RSS&at_campaign=KARANGA walkout 2022-12-18 13:41:58
ニュース BBC News - Home UK weather: Last day of ice warnings before temperatures soar https://www.bbc.co.uk/news/uk-64018290?at_medium=RSS&at_campaign=KARANGA country 2022-12-18 13:53:50
ニュース BBC News - Home Handsworth garden search: Child's body found https://www.bbc.co.uk/news/uk-england-birmingham-64017665?at_medium=RSS&at_campaign=KARANGA founda 2022-12-18 13:11:35
ニュース BBC News - Home Strictly Come Dancing 2022: Hamza Yassin wins glitterball trophy https://www.bbc.co.uk/news/entertainment-arts-63943808?at_medium=RSS&at_campaign=KARANGA trophy 2022-12-18 13:29:05
ニュース BBC News - Home China Covid: Health expert predicts three winter waves https://www.bbc.co.uk/news/world-asia-china-64018467?at_medium=RSS&at_campaign=KARANGA country 2022-12-18 13:39:56
ニュース BBC News - Home World Cup final: Argentina v France https://www.bbc.co.uk/sport/football/63932622?at_medium=RSS&at_campaign=KARANGA france 2022-12-18 13:49:43
北海道 北海道新聞 屋根の雪降ろし中に転落か 幕別で男性死亡 https://www.hokkaido-np.co.jp/article/777025/ 幕別町札内あかしや町 2022-12-18 22:44:43
北海道 北海道新聞 東北が5年ぶり2度目V 全日本アイスホッケー https://www.hokkaido-np.co.jp/article/777003/ 全日本選手権 2022-12-18 22:17:33
北海道 北海道新聞 男子1500佐藤初V、女子は奥秋 スピードスケート全道高校選手権 https://www.hokkaido-np.co.jp/article/777024/ 釧路市柳町 2022-12-18 22:26:00
北海道 北海道新聞 れいわ代表、山本太郎氏続投 「かじ取り全力尽くす」 https://www.hokkaido-np.co.jp/article/776987/ 任期満了 2022-12-18 22:03:30
北海道 北海道新聞 クマ「遭遇の可能性認識を」 札幌・円山動物園で大学教授らがシンポ https://www.hokkaido-np.co.jp/article/777023/ 円山動物園 2022-12-18 22:15:00
北海道 北海道新聞 笑顔届けるサンタラン 小樽で3年ぶり https://www.hokkaido-np.co.jp/article/777019/ 笑顔 2022-12-18 22:13:00
北海道 北海道新聞 世田谷殺害22年を前に追悼集会 被害者遺族ら https://www.hokkaido-np.co.jp/article/777018/ 東京都世田谷区 2022-12-18 22:13:00
北海道 北海道新聞 にごり酒10年ぶり発売 新十津川・金滴酒造 生酒も「良い出来」 https://www.hokkaido-np.co.jp/article/777017/ 新十津川 2022-12-18 22:11:00
北海道 北海道新聞 ドライフラワー使い正月飾り 白老・ナチュの森でワークショップ https://www.hokkaido-np.co.jp/article/777016/ 正月飾り 2022-12-18 22:11:00
北海道 北海道新聞 「栗林」創業者の半生、創作劇に 室蘭港150年で市内劇団が記念公演 https://www.hokkaido-np.co.jp/article/777015/ 栗林五朔 2022-12-18 22:08:00
北海道 北海道新聞 札幌、朝から雪かき 降雪24センチ 新篠津28センチ、石狩18センチ https://www.hokkaido-np.co.jp/article/777014/ 石狩管内 2022-12-18 22:05:00
北海道 北海道新聞 「競技の楽しさ伝えたい」 札幌で五輪金メダリスト2人がトークショー https://www.hokkaido-np.co.jp/article/777013/ 金メダル 2022-12-18 22:04:00
北海道 北海道新聞 自民、比例復活多ければ慎重検討 10増10減の候補調整 https://www.hokkaido-np.co.jp/article/777012/ 小選挙区 2022-12-18 22:01:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)