投稿時間:2021-09-17 00:38:28 RSSフィード2021-09-17 00:00 分まとめ(42件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
Google カグア!Google Analytics 活用塾:事例や使い方 Spotify傘下のAnchorが国内人気ポッドキャストで収益化スタート。海外と同じ広告セクション方式なのか、正式リリースはいつなのか、気になりますね。 https://www.kagua.biz/marke/podcast/20210916a3.html anchor 2021-09-16 14:59:30
AWS AWS Management Tools Blog Visualize and gain insights into your AWS cost and usage with Cloud Intelligence Dashboards using Amazon QuickSight https://aws.amazon.com/blogs/mt/visualize-and-gain-insights-into-your-aws-cost-and-usage-with-cloud-intelligence-dashboards-using-amazon-quicksight/ Visualize and gain insights into your AWS cost and usage with Cloud Intelligence Dashboards using Amazon QuickSightAcross all industry segments our customers require better visibility into their AWS usage to help them understand the return on their investment achieve operational efficiency and make business decisions that have financial impact As organizations mature customers need to answer simple but granular operational questions related to Which key areas should I focus to optimize … 2021-09-16 14:22:07
AWS AWS Open Source Blog Migrating from self-managed Apache Airflow to Amazon Managed Workflows for Apache Airflow (MWAA) https://aws.amazon.com/blogs/opensource/migrating-from-self-managed-apache-airflow-to-amazon-managed-workflows-for-apache-airflow-mwaa/ Migrating from self managed Apache Airflow to Amazon Managed Workflows for Apache Airflow MWAA This post was written by Tomas Christ Solution Architect at eprimo GmbH eprimo GmbH is a wholly owned subsidiary of E ON SE situated near Frankfurt Germany It represents the largest purely green energy supplier in Germany with some million customers Currently eprimo has a staff of approximately people We have been using Amazon Web … 2021-09-16 14:51:50
python Pythonタグが付けられた新着投稿 - Qiita Python分析に便利なDockerfile https://qiita.com/tt20210824/items/190fa85632b85621670f Pythonで分析する際は、テーブルデータや画像、自然言語等が主な対象データになると思いますが、今回作成したDockerfileは、Conda、OpenCV、MeCabをインストールする構成にしたので、色々な分析のBaselineにすることが可能です。 2021-09-16 23:21:33
js JavaScriptタグが付けられた新着投稿 - Qiita Vueのタグが見えないようにローディング画面を付ける https://qiita.com/poruruba/items/d48659d7854fa330dbcb Vueのタグが見えないようにローディング画面を付けるVueの規模が大きくなってくると、Vueのロードが完了するまでの間、xxxxのようなタグが目立ってくるようになります。 2021-09-16 23:32:17
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) remodal.jsでモーダル内のページ内リンクをクリックしてもモーダルが閉じない問題について https://teratail.com/questions/359915?rss=all remodaljsでモーダル内のページ内リンクをクリックしてもモーダルが閉じない問題について前提・実現したいことタイトル通り、remodaljsを用いて設置したモーダルエリア内にページ内リンクを設置していて、リンククリックで指定の場所に飛ぶところまではできましたが、飛んだ後にモーダルウィンドウが閉じないので閉じるようにしたいです。 2021-09-16 23:46:46
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) rails いいね機能 非同期通信ができない https://teratail.com/questions/359914?rss=all railsいいね機能非同期通信ができないrailsnbspxnbspajaxでいいね機能を実装しています。 2021-09-16 23:43:01
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) DynamoDBからのデータ取得 https://teratail.com/questions/359913?rss=all console 2021-09-16 23:25:49
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) vscodeのターミナルでの実行結果が溜まる https://teratail.com/questions/359912?rss=all python 2021-09-16 23:16:47
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) phpファイルと連携したhtmlファイルを動かしたい。 https://teratail.com/questions/359911?rss=all phpファイルと連携したhtmlファイルを動かしたい。 2021-09-16 23:03:47
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) VScodeでのPython実装 https://teratail.com/questions/359910?rss=all VScodeでのPython実装前提・実現したいことPythonをVScodeで実行したいのです。 2021-09-16 23:03:20
Ruby Rubyタグが付けられた新着投稿 - Qiita [Rails]Gemを使ってモーダル作成 https://qiita.com/mkato1013/items/13239daac32f63c4146f 検索ボタン押したら検索フォームがブワッと出てくるようなおしゃれなモーダルを作成する場合は、CSSとjQueryを使ったモーダルでいいと多いますが、今回のような削除は、このGem使った方が、えほんとに削除するの感が出るので、私はこっちが好きです。 2021-09-16 23:27:17
Ruby Rubyタグが付けられた新着投稿 - Qiita 知っておきたいincludesの正体【Rails】 https://qiita.com/iizukapynyo/items/5575cfd6b3471e5c7ee2 実はincludesは、モデルの関連など見て以下のどちらかの最適とrailsが判断したメソッドを実行している。 2021-09-16 23:22:06
AWS AWSタグが付けられた新着投稿 - Qiita Dockerの開発環境から踏み台サーバー経由でdbに接続 [ Rails ] https://qiita.com/iizukapynyo/items/4da57ce2d4cb8b061b13 databaseymlhosthostdockerinternalport注docker上で動くrailsアプリの場合なので、localhostでなくhostdockerinternalで指定③railsサーバーを立ち上げる正しくdbに接続されてることを確認。 2021-09-16 23:02:04
Docker dockerタグが付けられた新着投稿 - Qiita Python分析に便利なDockerfile https://qiita.com/tt20210824/items/190fa85632b85621670f Pythonで分析する際は、テーブルデータや画像、自然言語等が主な対象データになると思いますが、今回作成したDockerfileは、Conda、OpenCV、MeCabをインストールする構成にしたので、色々な分析のBaselineにすることが可能です。 2021-09-16 23:21:33
Docker dockerタグが付けられた新着投稿 - Qiita Nuxt on Dockerにtestcafeを導入する https://qiita.com/at-946/items/695ac534bb3c0fc73a55 mkdirteststouchtestssampletestjsテストの内容は「トップページにアクセスして、lthgtタグでHelloWorldと表示されていること」を検証してみましょう。 2021-09-16 23:04:20
Docker dockerタグが付けられた新着投稿 - Qiita Dockerの開発環境から踏み台サーバー経由でdbに接続 [ Rails ] https://qiita.com/iizukapynyo/items/4da57ce2d4cb8b061b13 databaseymlhosthostdockerinternalport注docker上で動くrailsアプリの場合なので、localhostでなくhostdockerinternalで指定③railsサーバーを立ち上げる正しくdbに接続されてることを確認。 2021-09-16 23:02:04
Linux CentOSタグが付けられた新着投稿 - Qiita パッケージを管理コマンド rpm と yum https://qiita.com/arai-yu7/items/07578e55c4ac40d7ada6 パッケージを管理コマンドrpmとyum概要エンジニア駆け出しの時にCentOSなどを使用していた際、rpmとかyumという言葉が出てきて何ってなりましたので、自分の備忘として記事を残します。 2021-09-16 23:21:37
Linux CentOSタグが付けられた新着投稿 - Qiita EmbulkをJava8のまま使用し続ける https://qiita.com/nightyknite/items/726b3ef7aa6e63d6e46b localhostのApacheのログファイルをlocalhostのMySQLにインポートする想定JavaとをインストールyuminstallyjavaopenjdkyuminstallyjavaopenjdkJavaに切り替えるalternativesconfigjava【Java】複数バージョンのJavaを切り替えて使う方法Javaのパスを直接指定する方法Javaのパスを確認alternativesconfigjavabashrcにエイリアスを設定する。 2021-09-16 23:07:46
Git Gitタグが付けられた新着投稿 - Qiita Python分析に便利なDockerfile https://qiita.com/tt20210824/items/190fa85632b85621670f Pythonで分析する際は、テーブルデータや画像、自然言語等が主な対象データになると思いますが、今回作成したDockerfileは、Conda、OpenCV、MeCabをインストールする構成にしたので、色々な分析のBaselineにすることが可能です。 2021-09-16 23:21:33
Ruby Railsタグが付けられた新着投稿 - Qiita 学習メモ(9/16) https://qiita.com/aose_/items/c3a12cb0b62ec15b12bb 2021-09-16 23:53:57
Ruby Railsタグが付けられた新着投稿 - Qiita [Rails]Gemを使ってモーダル作成 https://qiita.com/mkato1013/items/13239daac32f63c4146f 検索ボタン押したら検索フォームがブワッと出てくるようなおしゃれなモーダルを作成する場合は、CSSとjQueryを使ったモーダルでいいと多いますが、今回のような削除は、このGem使った方が、えほんとに削除するの感が出るので、私はこっちが好きです。 2021-09-16 23:27:17
Ruby Railsタグが付けられた新着投稿 - Qiita 知っておきたいincludesの正体【Rails】 https://qiita.com/iizukapynyo/items/5575cfd6b3471e5c7ee2 実はincludesは、モデルの関連など見て以下のどちらかの最適とrailsが判断したメソッドを実行している。 2021-09-16 23:22:06
Ruby Railsタグが付けられた新着投稿 - Qiita Dockerの開発環境から踏み台サーバー経由でdbに接続 [ Rails ] https://qiita.com/iizukapynyo/items/4da57ce2d4cb8b061b13 databaseymlhosthostdockerinternalport注docker上で動くrailsアプリの場合なので、localhostでなくhostdockerinternalで指定③railsサーバーを立ち上げる正しくdbに接続されてることを確認。 2021-09-16 23:02:04
技術ブログ Developers.IO Amazon CloudWatch SyntheticsのCanary実行時にCookieを設定する https://dev.classmethod.jp/articles/set-a-cookie-when-running-a-canary-in-amazon-cloudwatch-synthetics/ amazon 2021-09-16 14:45:39
海外TECH DEV Community What Is Inside My Vimrc https://dev.to/iggredible/what-is-inside-my-vimrc-3ob7 What Is Inside My VimrcA vimrc is an important file for us Vim users Edit My Vimrc has changed since I began writing this article it is now lines long but the principle is still the same If you want to look at the state of the Vimrc at the time I wrote this article check out this link If you re like me you probably have spent an ungodly amount of time tinkering with it until it grows massive At some point it is a good idea to split your vimrc into multiple parts for maintainability Plus if you want to share your vimrc to the world splitting it into an organized structure will help clarify with other devs who are looking at your vimrc In this article I will share how I organize my vimrc Everything here is a matter of personal preference There is no objectively right or wrong way to organize a vimrc I hope that by sharing what s inside my vimrc you will gain insight into how you can organize your own vimrc to meet your needs Don t put down any line in your vimrc that you don t understand Lastly this article makes the assumption that your default vimrc file and Vim files directory are in the root directory vimrc and vim respectively Source The Secret SauceThe secret sauce of a modular vimrc is the source Vimrscript command Think of it like the require include or import command If you have this inside your vimrc source my script vim Inside my script vim echo Hello from outside yo vimrc The next time you open Vim it will output Hello from outside yo vimrc Great This is how you can split your vimrc into multiple parts DotfilesMy Vim configs are stored inside my dotfiles repository this way I can access them when I m away from my computer So if I have to login from a foreign computer all I need to do is symlink the Vim files from the dotfiles repository install the dependencies I have a script for that too but that s for another time and I m set to go The StructureThis is the structure for my Vim related files dotfiles ├ーvim │├ーcustom functions ││├ーfunction vim││├ーfunction vim││├ーfunction N vim│├ーcustom plugins ││├ーale vim││├ーfzf vim││├ーplugin N vim│├ーmain ││├ーsettings vim││├ーthemes vim││├ーkeymaps vim│├ーUltiSnips ││├ーjavascript snippets││├ーruby snippets│├ーvimspector json├ーvimrcThe important ones are the vimrc file and the vim directory Note that I name them without the dot vimrc and vim as opposed to vimrc and vim This is so that when I clone it they won t be invisible It s easier to deal with visible files than invisible ones Inside the vim directory I divide them into multiple sub directories The three important ones are custom functions where I store my own custom functionscustom plugins where I store configs specific for Vim pluginsmain where I store the main Vim configurations and basic keymapsIf you notice I also have a vimspector json file and a UltiSnips directory I use the Vimspector plugin and it requires a config file I also use the ultisnips plugin It usesUltiSnips directory to store custom snippets If you don t use any of these plugins just ignore them VimrcThe vimrc file is called first whenever you launch Vim Inside it we have if empty glob vim autoload plug vim silent curl fLo vim autoload plug vim create dirs autocmd VimEnter PlugInstall source MYVIMRCendifcall plug begin vim plugged Plug iggredible totitle vim Plug tpope vim sensible Plug sjl badwolf Plug itchyny lightline vim Plug junegunn fzf vim Plug junegunn fzf do gt fzf install Plug ludovicchabant vim gutentags Plug tomtom tcomment vim Plug mattn emmet vim Plug sheerun vim polyglot Plug tpope vim fugitive Plug Yggdroot indentLine Plug preservim nerdtree Plug luochen rainbow Plug tpope vim dispatch Plug junegunn vim peekaboo Plug machakann vim sandwich Plug simnalamburt vim mundo Plug tpope vim endwise Plug tpope vim unimpaired Plug godlygeek tabular Plug mhinz vim signify branch legacy Plug ryanoasis vim devicons Plug dense analysis ale Plug szw vim maximizer Plug tmd vim choosewin Plug Shougo unite vim Plug puremourning vimspector Plug SirVer ultisnips Plug honza vim snippets call plug end let b fileList split globpath vim main vim n let b fileList split globpath vim custom functions vim n let b fileList split globpath vim custom plugins vim n for fpath in b fileList exe source fpathendforMy vimrc is less than lines long including empty lines Hey that s pretty readable Let s go over what they do Automatically Installing Vim PlugI use vim plug as my plugin manager The code below checks for the existence of vim autoload plug vim when you start Vim The plugin manager uses that file to read the plugin files If plug vim doesn t already exist then it will download the plug vim file and create the vim autoload plug vim directory if empty glob vim autoload plug vim silent curl fLo vim autoload plug vim create dirs autocmd VimEnter PlugInstall source MYVIMRCendifYou can also find the automatic install script above in the vim plug tips page I haven t really looked at other plugin managers but I m confident that you can pull something similar with other plugin managers PluginsThe next line lists a list of plugins I use call plug begin vim plugged Plug iggredible totitle vim Plug tpope vim sensible Plug sjl badwolf Plug itchyny lightline vim Plug junegunn fzf vim Plug junegunn fzf do gt fzf install Plug ludovicchabant vim gutentags Plug tomtom tcomment vim Plug mattn emmet vim Plug sheerun vim polyglot Plug tpope vim fugitive Plug Yggdroot indentLine Plug preservim nerdtree Plug luochen rainbow Plug tpope vim dispatch Plug junegunn vim peekaboo Plug machakann vim sandwich Plug simnalamburt vim mundo Plug tpope vim endwise Plug tpope vim unimpaired Plug godlygeek tabular Plug mhinz vim signify branch legacy Plug ryanoasis vim devicons Plug dense analysis ale Plug szw vim maximizer Plug tmd vim choosewin Plug Shougo unite vim Plug puremourning vimspector Plug SirVer ultisnips Plug honza vim snippets call plug end This part is totally up to you Use whatever plugins that you need not what you see other people use Sourcing StuffHere s what the next lines look like let b fileList split globpath vim main vim n let b fileList split globpath vim custom functions vim n let b fileList split globpath vim custom plugins vim n We are creating an array named fileList and appending it with the paths for all the files inside main custom functions and custom plugins Finally we have this loop This is where the magic happens for fpath in b fileList exe source fpathendforIt iterates through the fileList array and calls source on each file This keeps my vimrc to be concise and spark joy D Next let s explore some contents of my main custom functions and custom plugins the Main DirectoryThe main directory contains the base vimrc configs that don t depend on any custom plugin Inside I sub divide them into three files settings vimkeymaps vimthemes vim Main SettingsThis is what s inside the settings vim file set clipboard unnamedset noswapfileset relativenumber numberset tabstop set shiftwidth set expandtabset ignorecaseset smartcaseset hlsearchset confirmset hiddenset shortmess Slet s english dict usr share dict words if filereadable s english dict let amp dictionary s english dictendifThis file primarily deals with base settings if you re curious what they do consult help The last command with the english dict adds a dictionary autocompletion CTRL X CTRL K if a dictionary exists Main KeymapsThe keymaps vim file contains key mappings independent from plugins For plugin specific maps they are inside custom plugins Inside my keymaps vim I have let mapleader lt Space gt nnoremap lt Leader gt vs source vimrc lt CR gt nnoremap lt Leader gt ve vsplit vimrc lt CR gt nnoremap lt Esc gt lt Esc gt noh lt Return gt lt Esc gt I like to use Space as the leader but you can use whatever leader key you feel comfortable with I have three custom maps The first two lt Leader gt vs and lt Leader gt ve are to quickly open and source vs mnemonic Vimrc Source Vimrc mnemonics Vimrc Edit and Vimrc Source I ve used this countless times I also have a lt Esc gt lt Esc gt mapped to noh nohighlight This is used to remove the highlights after searching for keywords Main ThemesThe themes vim file contain configurations for the color schemes and various UI related settings silent colorscheme eveningsilent colorscheme badwolfhighlight CursorColumn guibg ecfchighlight CursorLine guibg ecfcset termguicolorsset background darkIf you notice I use two color schemes What s up with that badwolf is a custom color scheme plugin When I launch Vim for the first time on a new machine I won t have the plugins installed yet using badwolf immediately will cause it to fail on that first Vim run evening is a built in Vim color scheme By putting silent colorscheme evening followed by silent colorscheme badwolf if badwolf isn t available it will in effect falls back to evening silent will also omit the error message otherwise you ll see an error message when Vim couldn t find badwolf Custom FunctionsThe custom functions directory is where all the custom functions live These are user specific functions What I need might be different from yours But I ll go over some of mine anyway Feel free to take them modify them and steal them I stole two of them somewhere sometime ago P I have four custom functions Here are some of them Custom Functions to Delete Buffersfunction DeleteAllBuffers let l current pos getpos execute bd e echo Buffers Deleted call setpos l current pos endfuncfunction DeleteMatchingBuffers pattern let l bufferList filter range bufnr buflisted v val let l matchingBuffers filter bufferList bufname v val a pattern if len l matchingBuffers lt echo No buffers found matching pattern a pattern return endif exec bd join l matchingBuffers endfunctioncommand nargs DelBuf call DeleteMatchingBuffers lt args gt nnoremap lt silent gt lt Leader gt bD call DeleteAllBuffers lt CR gt nnoremap lt silent gt lt Leader gt bd DelBuf lt Space gt I won t go into how Vimscript works If you want to learn Vimscript check out my Learn Vim book free to read The main point is I have a target delete lt Leader gt bd to delete a specific buffer s and mass delete lt Leader gt bD to delete all buffers except the current one After coding for a few hours my buffer list would usually balloon and get convoluted I d need to clear them up If you run lt Leader gt bD it will indiscriminately delete all items in the buffer list ls If you run lt Leader gt bd it will ask for a pattern Vim will delete all buffers matching the pattern So if you have users controller rb packages controller rb user model rb and package model rb and you enter controller as pattern it will delete the controller buffers and keep the model buffers Custom Functions to Open Url Under Cursorfunction OpenURLUnderCursor let l uri expand lt cWORD gt silent exec open l uri redraw endfunctionnnoremap gx call OpenURLUnderCursor lt CR gt This one is actually a native feature of Vim NETRW actually help netrw gx By pressing gx while your cursor is inside a URL Vim will open that document However in Mac that behavior doesn t work Custom Functions to Toggle Cursor Displayfunction ToggleCursor if amp cursorcolumn set nocursorcolumn elseif amp cursorcolumn set cursorcolumn endif if amp cursorline set nocursorline elseif amp cursorline set cursorline endifendfunctionnnoremap lt leader gt tc call ToggleCursor lt CR gt You can toggle the horizontal cursor highlight with set cursorline set nocursorline and the vertical cursor highlight with set cursorcolumn set nocursorcolumn This can be useful if you need a makeshift straight edge Custom Functions to Toggle Numbersfunction ToggleNumber if amp relativenumber set norelativenumber else set relativenumber endifendfuncnnoremap lt leader gt tn call ToggleNumber lt CR gt I like using relativenumber to see how far apart a text is from the cursor However there are times when I need to see the absolute line number instead This allows me to quickly toggle the number setting Custom PluginsFinally the custom plugins section is where the settings for each plugin is Since there are so many of them I will only cover one or two in this article If you re curious feel free to check out my dotfiles repository and see what else I have Inside the custom plugins directory I have files named after the plugin itself you can name them anything you want For example inside ale vim ale is a linting engine for Vim Configs let g ale linters javascript eslint ruby rubocop let g ale fixers javascript eslint ruby rubocop let g ale linters explicit Only run linters named in ale linters settings let g ale sign column always Keymaps nmap lt silent gt lt C k gt lt Plug gt ale previous wrap nmap lt silent gt lt C j gt lt Plug gt ale next wrap nnoremap lt Leader gt at ALEToggle lt CR gt Here I have ale configured for Javascript and Ruby using eslint and rubocop because I mainly work with Ruby and Javascript Finally I also have some keymaps related to the ale plugin Many of the plugins that I use don t need any configurations like emmet vim tcomment vim vim sandwich etc You ll find that you don t need as many custom plugin files as you have plugins installed What Is Next This concludes this article I hope that you learned a thing or two Make your vimrc uniquely yours Keep improving everyday For max usage I strongly recommend you reading this in conjunction with my dotfiles article for a complete guide on portability If you re still hungry for more I suggest looking up other people s Vimrcs Here are a few that I can think of ResourcesSome great resources to learn and steal cough Vimrcs and dotfiles amix s vimrcskwp s dotfilesmattjmorrison s dotfilesThougtbot s dotfilesSquare s dotfilesHow I increased my productivity using dotfiles updated A Good Vimrc 2021-09-16 14:55:08
海外TECH DEV Community NodeJs - Static site generator Release 0.1 https://dev.to/minhhang107/nodejs-static-site-generator-release-0-1-oel NodeJs Static site generator Release mh ssgmh ssg is a simple static site generator that allows users to convert text files into HTML files The tool is written in NodeJs with main features New features will be added on later Visit the repo on Github InstallationClone the repoInstall NodeRedirect to project directoryInstall mh ssg globally with npm i g FeaturesCreates HTML files from specified file directoryAllows users to specify an output folder or use folder dist as defaultAllows users to specify a stylesheetDetects and sets the title of the file into the title and h of the HTML file if any UsageTo use the tool users can specify options i inputThe tool accepts input as a single text file or or directory If a directory is specified the tool will ignore other file types and only process text files mh ssg i lt file txt gt mh ssg i lt directory gt o outputUsers can specify an output directory where they want to save the HTML files to If the specified directory is not found the tool will display an error message and will not process the input file If no directory is given the tool will use the default dist mh ssg i lt file txt gt o lt directory gt s stylesheetTo use a custom stylesheet simply pass in the link to the stylesheet to stylesheet optionmh ssg i lt file txt gt s lt link to stylesheet gt Examplemh ssg i file txt o folder s out water csswill convert file txtSilver BlazeI am afraid Watson that I shall have to go said Holmes as wesat down together to our breakfast one morning “Go Where to “To Dartmoor to King s Pyland into folder file html lt doctype html gt lt html lang en dir ltr gt lt head gt lt title gt Silver Blaze lt title gt lt meta charset utf gt lt meta name viewport content width device width initial scale gt lt link rel stylesheet href out water css gt lt head gt lt body gt lt h gt Silver Blaze lt h gt lt p gt I am afraid Watson that I shall have to go said Holmes as we sat down together to our breakfast one morning lt p gt lt p gt “Go Where to lt p gt lt p gt “To Dartmoor to King s Pyland lt p gt lt body gt lt html gt 2021-09-16 14:31:32
海外TECH DEV Community How To Enable Real-Time Merge Conflict Detection in WebStorm https://dev.to/gitlive/how-to-enable-real-time-merge-conflict-detection-in-webstorm-59mk How To Enable Real Time Merge Conflict Detection in WebStormAh the dreaded resolve conflicts popup You ve finished crafting the perfect code just a quick merge in of master ahem main before you submit your PR and then If only there was an early warning system for merge conflicts so you could be better prepared or even avoid the conflicts in the first place I hear you say Well if you are a WebStorm user today is your lucky day Firstly you ll need to install and set up GitLive Then if you right click the gutter on WebStorm you will see the option to “Show Other s Changes It will be disabled if the file open in the editor is not from git or there are no other changes to it from contributors working on other branches aka you are safe from conflicts If it s enabled there will be one or more change indicators in the gutter of the editor These will show you where your teammates have made changes compared to your version of the file and even update in real time as you and your teammates are editing If you ve made a conflicting change you will see the bright red conflict indicator These conflicts can be uncommitted local changes you have not pushed yet or existing changes on your branch that conflict with your teammates changes Click your teammate s icon in the gutter to see the diff between your version and theirs the branch the offending changes are from and the issue connected to that branch if there is one From this popup you can also cherry pick your teammate s change directly from their local version of the file For simple conflicts this can be a quick way to resolve them as identical changes on different branches will merge cleanly Unfortunately it s not always possible to resolve a conflict straight away but with the early warning you ll be better prepared avoiding any nasty surprises at merge time Check out this blog post or the GitLive docs if you want to learn more 2021-09-16 14:30:10
海外TECH DEV Community Notion receiver data Immunizations from Nodejs https://dev.to/qt91/notion-receiver-data-immunizations-from-nodejs-4e07 Notion receiver data Immunizations from NodejsToday we will learning send data to Notion by API Setup new projectAt here I use Express application generator for fastest setup new projectSteps Install express generatornpm install g express generator New project with name InjectionRegistrationNotionexpress view ejs InjectionRegistrationNotion cd InjectionRegistrationNotionnpm install Start server and get ready for write codenpm start for start server this projectAccess to localhost Great Everything ready for next step Let s make a Form Injection RegistrationFor write User Interface I used ejs engine because it friendly with HTML nativeLet s make a Form Injection RegistrationAt file index jes in views folder lt DOCTYPE html gt lt html gt lt head gt lt title gt lt title gt lt title gt lt link href rel stylesheet gt lt link rel stylesheet href gt lt link rel stylesheet href stylesheets style css gt lt head gt lt body gt lt div class testbox gt lt form action method post gt lt div class banner gt lt h gt lt title gt lt h gt lt div gt lt div class item gt lt p gt Name lt p gt lt div class name item gt lt input type text name name gt lt div gt lt div gt lt div class item gt lt p gt Email lt p gt lt input type text name email gt lt div gt lt div class item gt lt p gt Phone lt p gt lt input type text name phone gt lt div gt lt div class item gt lt p gt Address lt p gt lt input type text name address gt lt div gt lt div class question gt lt p gt Gender lt p gt lt div class question answer gt lt div gt lt input type radio value id radio name sex gt lt label for radio class radio gt lt span gt Female lt span gt lt label gt lt div gt lt div gt lt input type radio value id radio name sex gt lt label for radio class radio gt lt span gt Male lt span gt lt label gt lt div gt lt div gt lt div gt lt div class item gt lt p gt Note lt p gt lt textarea name note rows gt lt textarea gt lt div gt lt div class btn block gt lt button type submit href gt Send lt button gt lt div gt lt form gt lt div gt lt body gt lt html gt At file public stylesheets style css html body min height body div form input select textarea p padding margin outline none font family Roboto Arial sans serif font size px color line height px h position absolute margin font size px color fff z index testbox display flex justify content center align items center height inherit padding px form width padding px border radius px background fff box shadow px banner position relative height px background size cover display flex justify content center align items center text align center banner after content background color rgba position absolute width height input textarea select margin bottom px border px solid ccc border radius px input width calc px padding px select width padding px background transparent textarea width calc px padding px item hover p item hover i question hover p question label hover input hover placeholder color item input hover item select hover item textarea hover border px solid transparent box shadow px color item position relative margin px input type date webkit inner spin button display none item i input type date webkit calendar picker indicator position absolute font size px color aaa item i right top px z index type date webkit calendar picker indicator right z index opacity cursor pointer input type time webkit inner spin button margin px px input type radio input other display none label radio position relative display inline block margin px px px cursor pointer question span margin left px label radio before content position absolute top px left width px height px border radius border px solid ccc radio checked input other display block input type radio checked label radio before border px solid background label radio after content position absolute top px left px width px height px border px solid fff border top none border right none transform rotate deg opacity input type radio checked label after opacity btn block margin top px text align center button width px padding px border none border radius px background font size px color fff cursor pointer button hover background Now We can check UI will be update in browser Process Server Side With API NotionBecause this is a small example So I will write all code in routes index js for everyone easy followWe need to make a new router for handle when Form submitrouter post async function req res next To be get parameter before Form submit and send data to server We can useconst name email phone address sex note req body Just for debugconsole table name email phone address sex note Redirect to form when before submitres redirect We can check data before submitIn webIn terminal be for click to button Send Here we have done for get data from Form submit to Server The next step we will send this data to Notion Send data to Notion by APIFirst step we can install package notionhq client npm i notionhq clientRegister to use the package Required packageconst Client require notionhq client Setup configconst notion new Client auth process env NOTION TOKEN Send data to Notion by APIawait notion pages create parent database id process env NOTION DATABASE ID properties Name title text content name Email email email PhoneNumber rich text text content phone Address rich text text content address Gender select name gender Note rich text text content note Setup file envNOTION TOKEN secret heBrPiHMUzmjnALYvJWoeLANOTION DATABASE ID ccfeaaececfeWe wrote the codeAccess to link http localhost and fill data click button Send Result Git repository 2021-09-16 14:17:42
Apple AppleInsider - Frontpage News Best Deals Sept. 16 - $212 GoPro Hero7 Bundle, 50-inch HDR television for $499, and more! https://appleinsider.com/articles/21/09/16/best-deals-sept-16---212-gopro-hero7-bundle-50-inch-hdr-television-for-499-and-more?utm_medium=rss Best Deals Sept GoPro Hero Bundle inch HDR television for and more Thursday s best deals include a GoPro Hero Bundle for Red Dead Redemption for off a Cooler Master CPU Cooler and more Deals Thursday September Shopping online for the best discounts and deals can be an annoying and challenging task So rather than sifting through miles of advertisements check out this list of sales we ve hand picked just for the AppleInsider audience Read more 2021-09-16 14:49:37
Apple AppleInsider - Frontpage News iPhone held dominant share of premium smartphone sales in Q2 2021 https://appleinsider.com/articles/21/09/16/iphone-held-dominant-share-of-premium-smartphone-sales-in-q2-2021?utm_medium=rss iPhone held dominant share of premium smartphone sales in Q Apple was able to avoid chip shortages plaguing other smartphone OEMs allowing for the iPhone to grow by in the premium segment iPhone demand gives Apple lead position in market share for premium smartphonesA redesigned iPhone coupled with G demand drove upgrades through Q As a result Apple captured of the smartphone market share and close to of the market thanks to strong demand for iPhone Pro and iPhone Pro Max Read more 2021-09-16 14:23:02
Apple AppleInsider - Frontpage News Original iPad mini versus iPad mini 6 - how far we've come https://appleinsider.com/articles/21/09/16/original-ipad-mini-versus-ipad-mini-6---how-far-weve-come?utm_medium=rss Original iPad mini versus iPad mini how far we x ve comeOver nine years Apple has released six versions of the iPad mini and taken it from a cut down iPad in both price and features to a premium device How Apple originally launched the iPad mini in The new iPad mini is faster than the latest iPad or the iPad Air It has a better camera than that iPad Air plus both the same USB C connector and the same G connectivity as the iPad Pro Read more 2021-09-16 14:19:42
海外TECH Engadget AKG's $99 Ara USB microphone is built for streamers https://www.engadget.com/akg-ara-usb-microphone-145116641.html?src=rss AKG x s Ara USB microphone is built for streamersYou ll now have a better choice of microphones if you re eager to start livestreaming or record your first podcast AKG has quietly released the Ara a USB condenser mic clearly aimed at streamers and others just upgrading from their earbuds and headsets You only have two capture patterns front only and omnidirectional versus the Lyra s four and you re limited to a kHz sample rate instead of the pricier model s kHz However those might not be major issues if you re compressing audio for streams and downloads You ll still get some common perks like mounting options and a headphone output for monitoring The mic works with any computer or mobile device that supports USB audio The Ara is available now Whether or not it s a better buy over its most obvious rival Blue s Yeti Nano is a tougher call You won t have the Yeti Nano s software effects or flashier design an important consideration as a streamer but you ll also get a higher sampling rate than Blue s kHz offering It may just be a matter of priorities A simpler way to create has arrived ️The all new AKG Ara USB microphone delivers pro quality sound to all of your creative projects Simply select from two pickup patterns plug in and create content anywhere inspiration leads you AKGArapic twitter com cBZTYnLxqsーAKG by HARMAN AKGaudio September 2021-09-16 14:51:16
海外TECH The Apache Software Foundation Blog Success at Apache: from Mentee to PMC https://blogs.apache.org/foundation/entry/success-at-apache-from-mentee Success at Apache from Mentee to PMCby Ephraim AnierobiThis post is about how I became a committer and a Project Management Committee PMC member of Apache Airflow and provides guidance to those new to programming are new to contributing to open source projects and want to become committers and PMC members in their respective Apache projects About a year and a half after changing my career from electrical engineering to software development I became a committer and a Project Management Committee member of Apache Airflow Becoming a committer and a PMC member is a reward and a kind of validation that you are on the right part of your journey On February I accepted an invitation to become a committer in Apache Airflow It came as a surprise as I was not expecting it Six months down the line I received another surprise invitation to become a PMC member in Apache Airflow These are impressive feats for me because before contributing to Apache Airflow I didn t have experience working with other programmers I was making websites and taught a few friends of mine how to make their own I didn t have a mentor and no one has ever seen my code to advise whether to continue on my journey or drop the idea of becoming a programmer While I desired to work with experienced programmers to improve my skills I feared people seeing my code would talk me down I almost gave up on my journey only to come across an Outreachy post on Twitter looking for interns for open source projects Outreachy is a tech diversity program that provides three months of paid remote internships to people underrepresented in tech I was ready to change my career and was looking for mentorship but couldn t find an internship that could help me get started in my journey In Nigeria where I m living your location affects your chances of getting an entry level job I was not close to the major cities nbsp So I applied for an internship through Outreachy nbsp There are two application processes The initial application involves explaining your background and why you should be accepted into the program You must pass the initial application before you could proceed to the next The second application process called the contribution period is where you choose an open source project that matches your skill sets and then contribute to it You must have some minimum contributions before you could be accepted That was how I found Apache Airflow You could imagine the joy I had when I was accepted into the program Here are things I did which I believe would help you in your journey to becoming an Apache committer and a PMC member Asking QuestionsAsking questions is the fastest way to learn Don t be afraid to ask questions if you do not understand something I ask questions a lot and I always get answers but I didn t start by asking questions I made commits to the repository without understanding what Airflow does It was not until I joined my new employer Astronomer that I learned what DAG is and what a data pipeline is Now I can easily reproduce issues following someone s descriptions I wish I had asked questions earlier I could have had more experience by now Start smallIf you are like me with little experience start contributing from the minor issues Find good first issues and work on them You don t have to wait to contribute a large change before contributing While working on the REST API project which I got hired by Outreachy to do I was looking at the codebase I started with Airflow providers because it was easy for me to understand There were so many requests about providers at the time and I started looking into it reading the code base and helping with the providers I didn t go into the core straight up I avoided it My first PR was on simple database migration during the Outreachy contribution period Refactor codesAirflow is complex Till now I m still learning it Just last week I learned about how the execution date works I know there are a lot of other things I have not understood very well but refactoring helped me to understand a lot When I was to work in the scheduler I found the file was so large that I went back and forth without progress I worked on separating the files and I m glad I did because after that I could contribute I recommend refactoring code but do not go into large refactoring A little at a time with the hope to understand the project Avoid the core of the project if you are just starting IssuesOne thing about issues is that most reporters would tell you how to reproduce them Most times you would find that the issue is quite easy to fix I usually jump on those and fix them Other times I had to contact my superiors before I could fix it Looking at reported issues gives an added advantage that you could learn how the software works in the real world Try to reproduce as many issues as possible It adds to your knowledge Pull RequestsHere s where you can learn a great deal I start my day by looking at the PRs Most PRs link to issues I read the issues and study PRs I must admit that some of these PRs are just too complex for me If I don t understand it sometimes I ask questions other times I go to the next PR When I jump to the next PR I record the topic that made me jump to the next and plan on reading about it some other time When you make a PR ask for reviews in the community channel of communication Airflow uses Slack and the mailing list for communications You should ask for reviews in the slack channel and not the mailing list The reviews not only give information on how to fix the problem but also teach you best practices in programming CultureThe ASF has a code of conduct that covers the Foundations activities as well as the projects Read it first Among many other things you would learn in Apache Airflow is communication How to communicate with people in a civil manner Spend time reading PR reviews you will learn a lot and especially how to ask people to make changes to their code ConclusionYou don t have to wait for an invitation to contribute to an Apache project You don t have to become an Outreachy intern to get involved with something you re interested in Don t be afraid to make a PR because nobody will penalize you if you re wrong I know the feeling that people may think you are not good enough forget it they know you are new to the field and if you are thinking that they don t know your level in the language forget it too they know you are still a junior because it says so in your code I can t count how many times I have had code reviews that showed me a better way to implement the code Be open minded make mistakes and excel Ephraim Anierobi started to work on the Apache Airflow project as an Outreachy Intern in May He became a committer in February and a member of the Apache Airflow Project Management Committee PMC in August He is a software engineer at Astronomer quot Success at Apache quot is a monthly blog series that focuses on the processes behind why the ASF quot just works quot 2021-09-16 14:32:54
海外科学 NYT > Science Exxon, Chevron, BP and Others Called to Testify on Climate Disinformation https://www.nytimes.com/2021/09/16/climate/exxon-oil-disinformation-house-probe.html Exxon Chevron BP and Others Called to Testify on Climate DisinformationExecutives from Exxon Shell BP and others are being called to testify in Congress next month after a secret recording this year exposed an Exxon official boasting of such efforts 2021-09-16 14:58:45
金融 RSS FILE - 日本証券業協会 PSJ予測統計値 https://www.jsda.or.jp/shiryoshitsu/toukei/psj/psj_toukei.html 統計 2021-09-16 16:00:00
金融 RSS FILE - 日本証券業協会 株券等貸借取引状況(週間) https://www.jsda.or.jp/shiryoshitsu/toukei/kabu-taiw/index.html 貸借 2021-09-16 15:30:00
ニュース BBC News - Home Military to be called in to help Scottish ambulance crews https://www.bbc.co.uk/news/uk-scotland-scotland-politics-58585349?at_medium=RSS&at_campaign=KARANGA service 2021-09-16 14:42:40
ニュース BBC News - Home John Lewis charters ships to ensure Christmas stock arrives https://www.bbc.co.uk/news/business-58581812?at_medium=RSS&at_campaign=KARANGA holiday 2021-09-16 14:13:32
ニュース BBC News - Home Piers Morgan to launch new show on Rupert Murdoch-owned network https://www.bbc.co.uk/news/entertainment-arts-58586493?at_medium=RSS&at_campaign=KARANGA march 2021-09-16 14:46:20
ニュース BBC News - Home Emma Raducanu reunited with her parents in Bromley https://www.bbc.co.uk/news/uk-england-london-58585022?at_medium=RSS&at_campaign=KARANGA britain 2021-09-16 14:11:33
ニュース BBC News - Home Chelsea's James has medals stolen in burglary while playing in Champions League https://www.bbc.co.uk/sport/football/58587599?at_medium=RSS&at_campaign=KARANGA Chelsea x s James has medals stolen in burglary while playing in Champions LeagueEngland defender Reece James says his house was broken into while he was playing for Chelsea against Zenit St Petersburg in the Champions League on Tuesday 2021-09-16 14:29:51

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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