python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでスクレイピングを行うための準備 |
https://qiita.com/remi_ts/items/ce4cb5a6b15c34e47b57
|
Pythonでスクレイピングを行うための準備色々試行錯誤したので備忘録として残すやる事リストpyenvのインストールvenvで環境を汚さないようにする。 |
2022-02-27 02:38:10 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
ISO 8601とJavaScriptのDate |
https://qiita.com/flu_bit/items/34a64dcf3a1ec5d9cd06
|
ISOとJavaScriptのDate備忘録的にメモISO時刻を表すフォーマットはたくさんありますが、よく使用されるISO。 |
2022-02-27 02:26:28 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Mac(M1)+Lima+docker compose |
https://qiita.com/tenpa_ozisan/items/c9e1b9bac42a4e536a8c
|
archarmbrewinstalllimadockerLimaとdockerを同時にインストールしないと、あとでリンクをはる作業が発生するかもしれません。 |
2022-02-27 02:18:04 |
golang |
Goタグが付けられた新着投稿 - Qiita |
一年目Rubyエンジニアが一から学ぶGo言語 ポインタ編 |
https://qiita.com/345dvl/items/b1a44b6576b034b90f91
|
まとめポインタはその変数の先頭のメモリアドレスを表すポインタは型名にを付けることで定義可能例int値の先頭に参照演算子ampを付けることで、その値のメモリアドレスを取得可能ポインタは関数内で引数やレシーバの値を更新する時に使用する、パフォーマンスが考慮材料となることも次回はインターフェースについて整理できたらいいなと思ってます。 |
2022-02-27 02:27:14 |
技術ブログ |
Developers.IO |
AMIの「ごみ箱」を使うときはEBSスナップショットの「ごみ箱」も有効にしておこうという話 |
https://dev.classmethod.jp/articles/enable-ami-and-ebs-snapshot-recycle-bin/
|
amazon |
2022-02-26 17:27:20 |
海外TECH |
MakeUseOf |
What Is Officevibe? How to Use It for Team Management |
https://www.makeuseof.com/what-is-officevibe-how-to-use/
|
management |
2022-02-26 17:30:13 |
海外TECH |
MakeUseOf |
How to Configure Windows 11’s Desktop Wallpaper to Change at Specific Times |
https://www.makeuseof.com/windows-11-change-wallpaper-specific-times/
|
How to Configure Windows s Desktop Wallpaper to Change at Specific TimesFancy a fresh new desktop over the course of a day Setting up a rotating wallpaper is both easy and a great way to breathe new life into your PC |
2022-02-26 17:15:13 |
海外TECH |
DEV Community |
Bit Manipulation |
https://dev.to/shivam164/bit-manipulation-kdl
|
Bit ManipulationBit Manipulation Bit manipulation is the process of applying logical operations on a sequence of bits to achieve a required result Like in decimal format we do addition subtraction multiplication and division Similarly we can apply some operation to manipulate bits of numbers In Binary notation we use s and s to represent numbers For ex gt gt One way of saying that some bit at some position is or we say bit is set or on when it is and not set or off when it is Those operators are known as bitwise operators There are six types of bitwise operators amp AND OR XOR lt lt LEFT SHIFT gt gt RIGHT SHIFT NOT We will be covering the first five of these in this blog these are the ones that are mostly used AND amp Bitwise AND amp bit a bit b a amp b a AND b We can use amp operation to calculate the number of set bits in some number To understand that we first need to go through an observation Let s take a number For ex if we subtract from it will become that is One thing that we can notice in this is that all the bits that are after the first set bit from right in turned to and that itself turned to Similarly in all numbers once we decrement it by all the bits that are after the first set bit from left will turn into and that itself will turn into For ex gt gt gt gt To calculate number of bits in log n time int count while n gt count n n amp n In the above written code every time n is going inside the loop it is losing one set bit and incrementing the count by And that will be the total numbers of set bit in n BITWISE OR bit a bit b a b a OR b Bitwise OR is also a binary operator that operates on two equal length bit patterns similar to bitwise AND If both bits in the compared position of the bit patterns are the bit in the resulting bit pattern is otherwise XOR Bitwise XOR also takes two equal length bit patterns If both bits in the compared position of the bit patterns are or the bit in the resulting bit pattern is otherwise Some properties of xor A A A AA B C A B CA B B AOne of the important things is that if we are taking xor of many numbers We can say that the result will have at some position if the count of numbers with at that position is odd otherwise it will be zero Using the above observation We can say that if we calculate xor of first n natural numbers then it will depend upon remainder that we get on n If it is Then answer n If it is Then answer If it is Then answer n If it is Then answer Left Shift lt lt If we apply left shift to a number with x units lt lt x this means that we are shifting bits of number to the left by x units and all the empty positions on the right will be filled with Mathematically on applying left shift to a number by x units it gets multiplied by x For ex lt lt X lt lt X lt lt X Right Shift gt gt This is just opposite of the left shift on applying it to a number with x units it shifts bits to right by x units Mathematically on applying the right shift to a number by x units it gets divided by x For ex gt gt gt gt ¾ Some nice way to use these bitwise operations First of all we can use these to solve real life problems but obviously it will depend upon how we can apply bitmask Short tricks that we can use daily in our code are as follows To calculate some power of we can directly write it as lt lt x which will be equal to x We can use amp and lt lt together to check whether a bit at some position is on or off bool on int n int position int PowerOf lt lt position return n amp PowerOf false true Suggestions are welcomed to make this blog better |
2022-02-26 17:52:29 |
海外TECH |
DEV Community |
Setting up your First React Native Application |
https://dev.to/harithmetic1/setting-up-your-first-react-native-application-54bj
|
Setting up your First React Native ApplicationReact Native is a Javascript framework which uses the full power of react and Javascript to make amazing Native applications React Native compiles Javascript code to Native code so components like Text Button View e t c which are used in React Native will be compiled to the Native code of each platform Android or IOS There are two ways of building React Native applications The easy way using Expo or the React Native CLI way This article will concentrate on building React Native applications using Expo Expo is a framework or platform which assists us to build deploy and view our application on android IOS or Web from the same Javascript Typescript codebase it works for universal React applications Alright enough chit chat let s get started with setting our React Native Application You ll need the following Prerequisites to start Node Js Installed install it via here Code Editor Preferably VS code Internet connection A can do attitudeAfter checking each of these off let s get started Step Open your project directory on VS Code and install the Expo CLI by typing in your terminal npm install global expo cli Step Create a new expo project let s call it first rnexpo init first rn Step install Expo on your phone via the play store app store Step Once the expo project has been created type in the following to launch the application Change directorycd first rn Start the application npm start Step After installing the expo app on your phone and after the expo app has launched you ll see a barcode scan the barcode with your phone camera Note On IOS you ll have to use the barcode scanner that comes with the expo app You should see something like this on your phone if you ve followed each step successfully Congratulations You are done you ve successfully set up your React Native application Now go on ahead and make the next big thing I can t wait to see what you build |
2022-02-26 17:23:22 |
Apple |
AppleInsider - Frontpage News |
iStorage DatAshur SD review: secure, expandable storage designed to keep your data safe anywhere |
https://appleinsider.com/articles/22/02/26/istorage-datashur-sd-review-secure-expandable-storage-designed-to-keep-your-data-safe-anywhere?utm_medium=rss
|
iStorage DatAshur SD review secure expandable storage designed to keep your data safe anywhereIdeal for those who need to store lots of data securely the adaptable DatAshur keeps SD cards locked behind military grade encryption without any fussy companion software While we love flash drives there s no doubt that there are times when we ve wished they ve been a bit more secure That s why iStorage has come up with DatAshur an ultra rugged expandable flash drive that features onboard encryption Design Read more |
2022-02-26 17:23:12 |
海外TECH |
Engadget |
Russia restricts Twitter access amid Ukraine invasion |
https://www.engadget.com/russia-restricts-domestic-twitter-access-172821677.html?src=rss
|
Russia restricts Twitter access amid Ukraine invasionRussia has moved to restrict access to Twitter as its invasion of Ukraine continues Starting early Saturday morning internet monitor NetBlocks saw a nearly complete blackout of the platform across all major domestic telecom providers including Rostelecom and MTS For the time being Russian residents and those visiting the country can still access Twitter using VPN services but reaching the website directly is nearly impossible We re aware that Twitter is being restricted for some people in Russia and are working to keep our service safe and accessible ーTwitter Support TwitterSupport February Twitter confirmed the reports at AM ET “We re aware that Twitter is being restricted for some people in Russia and are working to keep our service safe and accessible the company said At the moment Russians can reportedly still access Facebook and Instagram but that may change On Friday the country s telecom regulator Roskomnadzor began partially restricting access to Facebook after Meta refused to stop fact checking and labeling content from state owned news organizations At the time Roskomnadzor accused Facebook of violating “the rights and freedoms of Russian citizens ️Confirmed Live metrics show that Twitter has been restricted on multiple providers in Russia as of a m UTC the incident comes as the government clashes with social media platforms over policy in relation to the Ukraine conflict Report pic twitter com nGrcHzjIXdーNetBlocks netblocks February It s unclear why Russia has moved to block Twitter but all the videos of the conflict you see on the platform may have played a part in the decision For instance Russia claims its airstrikes haven t targeted civilian infrastructure but several widely circulated videos appear to show otherwise Those clips and others would appear to paint a picture of the invasion that is quite different from the one Russian state media has pushed nbsp quot Russia s restriction of Twitter will significantly limit the free flow of information at a time of crisis when the public most needs to stay informed quot NetBlocks director Alp Toker told the BBC |
2022-02-26 17:28:21 |
海外TECH |
Engadget |
Twitter gives all users access to one-time content warnings |
https://www.engadget.com/twitter-gives-all-users-access-one-time-content-warnings-033347169.html?src=rss
|
Twitter gives all users access to one time content warningsYou can now attach one time content warnings to the images and videos you tweet if you didn t have access to the feature in the past Twitter started testing a feature that gives you a way to add warnings for nudity violence and other types of sensitive content to each individual post last year Now Twitter Support has announced that the feature is available to everyone using its Android and iOS apps as well as its web interface The option to add one time sensitive content warnings to photos and videos you Tweet is now available for everyone across Android iOS and web To add a content warning tap the flag icon when editing the photo video after you ve attached it to your Tweet ーTwitter Support TwitterSupport February When you apply a warning to an individual tweet the media you attach to it will look obscured to people viewing it until they opt to view what s behind it The feature gives you a way to share content that may be upsetting or not appropriate for everyone without having to mark all your tweets as sensitive nbsp To add a warning to a single tweet simply click on the flag icon that shows up while you re editing the photo or video you attached and then choose between the nudity violence and sensitive options As The Verge notes you can tag multiple warnings for each attachment and Twitter will place a single warning over multiple media in a single post nbsp You can watch Twitter Safety s video on how to access the feature below People use Twitter to discuss what s happening in the world which sometimes means sharing unsettling or sensitive content We re testing an option for some of you to add one time warnings to photos and videos you Tweet out to help those who might want the warning pic twitter com LCUAQCoOVーTwitter Safety TwitterSafety December |
2022-02-26 17:05:47 |
ニュース |
BBC News - Home |
Ukraine: France seizes Russian ship over sanctions |
https://www.bbc.co.uk/news/world-europe-60539119?at_medium=RSS&at_campaign=KARANGA
|
ukraine |
2022-02-26 17:13:36 |
ニュース |
BBC News - Home |
Ukraine conflict: Protests held around UK in support of Ukraine |
https://www.bbc.co.uk/news/uk-60536064?at_medium=RSS&at_campaign=KARANGA
|
cambridge |
2022-02-26 17:29:05 |
ニュース |
BBC News - Home |
British Airways short-haul flights from Heathrow cancelled |
https://www.bbc.co.uk/news/business-60533275?at_medium=RSS&at_campaign=KARANGA
|
heathrow |
2022-02-26 17:09:53 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
脳がポジティブに認識してくれる簡単な方法 - 1分間瞬読ドリル |
https://diamond.jp/articles/-/297357
|
|
2022-02-27 03:00:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
朝型勉強法の罠、「無理やり早起き」が招く悲劇とは? - 大量に覚えて絶対忘れない「紙1枚」勉強法 |
https://diamond.jp/articles/-/296888
|
無理やり |
2022-02-27 02:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「飲み会に使う時間は無駄」という言葉の意味が変わってきた - 私の居場所が見つからない |
https://diamond.jp/articles/-/297392
|
|
2022-02-27 02:50:00 |
コメント
コメントを投稿