IT |
気になる、記になる… |
Quanta Computer、「MacBook Air 15インチ」の発売に向け生産体制を強化か |
https://taisy0.com/2023/05/21/172013.html
|
apple |
2023-05-21 06:59:33 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pyaudioがインストールできないときの対処方法 |
https://qiita.com/taiki-kobayashi-git/items/b7d1107eae0cb52d7ed2
|
pyaudio |
2023-05-21 15:54:42 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python】カウントソートの実装 |
https://qiita.com/Takuya__/items/5fbfb8b8a0817c31fe91
|
numberslistgtlistintmaxn |
2023-05-21 15:10:46 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
matplotlibで図が表示されない場合 |
https://qiita.com/mitsuki91204/items/06d75290bb6f1eb27380
|
iscurrentlyusingmodulemat |
2023-05-21 15:08:09 |
golang |
Goタグが付けられた新着投稿 - Qiita |
GitHub Actionsでgo mod downloadがgo: no modules specifiedで失敗する |
https://qiita.com/Sicut_study/items/ddeecff73bff26f15dc3
|
githu |
2023-05-21 15:02:06 |
GCP |
gcpタグが付けられた新着投稿 - Qiita |
GCP deployment-managerでサービスアカウントを作成してみた |
https://qiita.com/nori-channel/items/d880570f109a83d14295
|
noritestservice |
2023-05-21 15:41:15 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
リモートリポジトリをローカル環境に作成してgitの練習をする |
https://qiita.com/tarosa0417/items/28798dfdd01f0c1830eb
|
github |
2023-05-21 15:21:03 |
海外TECH |
DEV Community |
Simplifying Text Encryption with ROT13 Algorithm in JavaScript |
https://dev.to/muhmmadawd/simplifying-text-encryption-with-rot13-algorithm-in-javascript-2am2
|
Simplifying Text Encryption with ROT Algorithm in JavaScript Introduction In the world of cryptography the ROT algorithm is a simple yet effective method for encrypting and decrypting text In this article We ll discuss the problem outline an approach present a step by step solution and provide code Understanding the Problem Given a string of text we want to apply the ROT algorithm to encrypt it The ROT algorithm replaces each letter with the letter that is positions later in the alphabet For example A becomes N B becomes O and so on The algorithm should preserve the case of the letters and leave non alphabetic characters unchanged My approach for solving this problem We use the match method with a regular expression A Z g to find all uppercase alphabetic characters in the string These characters will be used for the ROT encryption Next we split the input string into an array of individual characters using the split method We apply the map method to each character in the array For each character we convert it to its Unicode code using charCodeAt Inside the map function we check if the current character is included in the alphabeticCharacter array If it is we determine the new code based on whether the current code is less than which corresponds to the letter N in Unicode If the code is less than we add to it otherwise we subtract from it This effectively rotates the character positions in the alphabet We convert the modified code back to its corresponding character using String fromCharCode Finally we join all the characters back together into a single string using the join method and return the encrypted string My solution function rot str let alphabeticCharacter str match A Z g str str split map item gt let code item charCodeAt if alphabeticCharacter includes item code code lt item charCodeAt item charCodeAt return String fromCharCode code join return str rot SERR CVMMN If you have any questions or feedback please feel free to share them in the comments Thanks for being here About the Author Muhammad Awd is a passionate JavaScript developer with expertise in problem solving and web development He has a strong track record of delivering high quality projects and enjoys tackling challenging coding puzzles You can explore more of Muhammad s work and connect with him on his LinkedIn and GitHub Get in Touch If you have any JavaScript development opportunities project collaborations or would like to discuss any tech related topics feel free to reach out at muhmmad awd gmail com looks forward to hearing from you and exploring potential collaborations |
2023-05-21 06:21:59 |
Apple |
AppleInsider - Frontpage News |
Get an M1 Pro or M1 Max MacBook Pro at up to $1,300 off with today's blowout deals |
https://appleinsider.com/articles/23/05/21/get-an-m1-pro-or-m1-max-macbook-pro-at-up-to-1300-off-with-todays-blowout-deals?utm_medium=rss
|
Get an M Pro or M Max MacBook Pro at up to off with today x s blowout dealsLimited M Pro and M Max MacBook Pro models are still in stock with deals knocking up to off entry level and loaded configurations Save up to on MacBook Pros If you ve been dreaming of owning one of Apple s powerful M MacBook Pro or M MacBook Max models now is the perfect time to make your move B amp H and Adorama both trusted retailers renowned for their vast selection of electronics are currently offering irresistible closeout discounts on Apple s still cutting edge laptops With significant savings on both the M Pro and M Max models you can elevate your productivity and creativity without breaking the bank Read more |
2023-05-21 06:12:09 |
ニュース |
BBC News - Home |
Bakhmut: Zelensky indicates Russia has control of city |
https://www.bbc.co.uk/news/world-europe-65662563?at_medium=RSS&at_campaign=KARANGA
|
president |
2023-05-21 06:46:24 |
ニュース |
BBC News - Home |
El Salvador stadium crush leaves at least twelve dead |
https://www.bbc.co.uk/news/world-latin-america-65662194?at_medium=RSS&at_campaign=KARANGA
|
salvador |
2023-05-21 06:37:11 |
ニュース |
BBC News - Home |
Music festivals where Glastonbury meets Vicar of Dibley |
https://www.bbc.co.uk/news/uk-wales-65602036?at_medium=RSS&at_campaign=KARANGA
|
hyper |
2023-05-21 06:04:09 |
IT |
週刊アスキー |
夏はさっぱりレモン風味で牛たんを食べ放題! しゃぶ葉、牛たんしゃぶしゃぶ食べ放題コース期間限定で開催中 |
https://weekly.ascii.jp/elem/000/004/137/4137154/
|
期間限定 |
2023-05-21 15:30:00 |
コメント
コメントを投稿