並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 40件

新着順 人気順

powershell if not in arrayの検索結果1 - 40 件 / 40件

  • UUIDv7 in 33 languages

    UUIDv7 is a 128-bit unique identifier like it's older siblings, such as the widely used UUIDv4. But unlike v4, UUIDv7 is time-sortable with 1 ms precision. By combining the timestamp and the random parts, UUIDv7 becomes an excellent choice for record identifiers in databases, including distributed ones. Let's briefly explore the UUIDv7 structure and move on to the zero-dependency implementations i

      UUIDv7 in 33 languages
    • とほほのPowerShell入門 - とほほのWWW入門

      ブレークポイントを設定してスクリプトをデバッグすることもできます。デバッガを使用するにはスクリプトをファイルとして保存し、下記の様にポリシー変更する必要があります。 Set-ExecutionPolicy -Scope CurrentUser ExecutionPolicy: RemoteSigned キーワード 言語としては下記のキーワードが定義されています。 変数 変数($xxx) 変数は $変数名 で表します。 $Name = "Yamada" Write-Output "My name is $Name." 変数の値を削除するには Clear-Variable を使用するか、値 $null を設定します。変数を削除するには Remove-Variable または Remove-Item を使用します。 Clear-Variable -Name a # 値をクリア $a = $nul

      • GitHub - modelcontextprotocol/servers: Model Context Protocol Servers

        Official integrations are maintained by companies building production ready MCP servers for their platforms. 21st.dev Magic - Create crafted UI components inspired by the best 21st.dev design engineers. ActionKit by Paragon - Connect to 130+ SaaS integrations (e.g. Slack, Salesforce, Gmail) with Paragon’s ActionKit API. Adfin - The only platform you need to get paid - all payments in one place, in

          GitHub - modelcontextprotocol/servers: Model Context Protocol Servers
        • ChatGPTのセキュリティへの影響 | Cloud Security Alliance Japan

          © Copyright 2023, Cloud Security Alliance.All rights reserved. 1 Acknowledgements Authors: Kurt Seifried Sean Heide Bogdan Filip Vishwa Manral Lars Ruddigkeit Walter Dula Eric E. Cohen Billy Toney Supro Ghose Marina Bregkou Additional Staff: Stephen Lumpe (Cover illustration, with assistance from Midjourney) This is a Release Candidate version and is subject to change. © 2023 Cloud Security Allian

          • Announcing .NET 10 - .NET Blog

            Today, we are excited to announce the launch of .NET 10, the most productive, modern, secure, intelligent, and performant release of .NET yet. It’s the result of another year of effort from thousands of developers around the world. This release includes thousands of performance, security, and functional improvements across the entire .NET stack-from languages and developer tools to workloads-enabl

              Announcing .NET 10 - .NET Blog
            • 【実践】PythonとOpenStreetMapで学ぶ経路システム開発入門 - uepon日々の備忘録

              前回はGoogle Map APIを使用して開発を行いましたが、今回はOpenStreetMapを使用した似たようなことにチャレンジしてみようと思います。Pythonを使ってOpenStreetMapの経路検索URLを生成する方法ことを目的とします。 参考 uepon.hatenadiary.com オープンストリートマップ(OpenStreetMap)とは? オープンストリートマップ(英語: OpenStreetMap、OSM)は、自由に利用でき、なおかつ編集機能のある世界地図を作るオープンコラボレーションプロジェクトである。GPS機能を持った携帯機器、空中写真、衛星画像、他の地理情報システムからのデータをもとに作られていくのが基本だが、編集ツール上で道1本から手入力での追加も可能である。与えられた画像とベクトルデータセットはオープンデータベースライセンス(ODbL)1.0のもと再利用可

                【実践】PythonとOpenStreetMapで学ぶ経路システム開発入門 - uepon日々の備忘録
              • March 2025 (version 1.99)

                Update 1.99.1: The update addresses these security issues. Update 1.99.2: The update addresses these issues. Update 1.99.3: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the March 2025 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highligh

                  March 2025 (version 1.99)
                • June 2023 (version 1.80)

                  Update 1.80.1: The update addresses these issues. Update 1.80.2: The update addresses this security issue. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the June 2023 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Accessibility improvements - Accessible V

                    June 2023 (version 1.80)
                  • February 2021 (version 1.54)

                    Join a VS Code Dev Days event near you to learn about AI-assisted development in VS Code. Update 1.54.1: The update addresses an issue with an extension dependency. Update 1.54.2: The update addresses these issues. Update 1.54.3: The update addresses this issue. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the February 2021 release of Vi

                      February 2021 (version 1.54)
                    • July 2022 (version 1.70)

                      Join a VS Code Dev Days event near you to learn about AI-assisted development in VS Code. Update 1.70.1: The update addresses these issues. Update 1.70.2: The update addresses these issues. Update 1.70.3: This update is only available for Windows 7 users and is the last release supporting Windows 7. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welc

                        July 2022 (version 1.70)
                      • Performance Improvements in .NET 6 - .NET Blog

                        Great. But now let’s make a small tweak: [Benchmark] public int GetLength() { ITuple t = (5, 6, 7); Ignore(t); return t.Length; } [MethodImpl(MethodImplOptions.NoInlining)] private static void Ignore(object o) { } Here I’ve forced the boxing by needing the object to exist in order to call the Ignore method, and previously that was enough to disable the ability to devirtualize the t.Length call. Bu

                          Performance Improvements in .NET 6 - .NET Blog
                        • Performance Improvements in .NET 7 - .NET Blog

                          No trial. No credit card required. Just your GitHub account. A year ago, I published Performance Improvements in .NET 6, following on the heels of similar posts for .NET 5, .NET Core 3.0, .NET Core 2.1, and .NET Core 2.0. I enjoy writing these posts and love reading developers’ responses to them. One comment in particular last year resonated with me. The commenter cited the Die Hard movie quote, “

                            Performance Improvements in .NET 7 - .NET Blog
                          • python_modules.pdf

                            Python3 OpenCV / Pillow / pygame / Eel / PyDub / NumPy / matplotlib / SciPy / SymPy / gmpy2 / hashlib, passlib / Cython / Numba / ctypes / PyInstaller / curses / tqdm / JupyterLab / json / psutil / urllib / zenhan / jaconv Copyright © 2017-2025, Katsunori Nakamura 2025 8 19 Python ‘ .py’ Python Python Windows PSF Python py .py Enter macOS Linux PSF Python python3 .py Enter Anaconda Prompt Python p

                            • GitHub Notification Emails Hijacked to Send Malware

                              As an open source developer I frequently get emails from GitHub, most of these emails are notifications sent on behalf of GitHub users to let me know that somebody has interacted with something and requires my attention. Perhaps somebody has created a new issue on one of my repos, or replied to a comment I left, or opened a pull request, or perhaps the user is trying to impersonate GitHub security

                                GitHub Notification Emails Hijacked to Send Malware
                              • Defending new vectors: Threat actors attempt SQL Server to cloud lateral movement | Microsoft Security Blog

                                Microsoft security researchers recently identified a campaign where attackers attempted to move laterally to a cloud environment through a SQL Server instance. This attack technique demonstrates an approach we’ve seen in other cloud services such as VMs and Kubernetes cluster, but not in SQL Server. The attackers initially exploited a SQL injection vulnerability in an application within the target

                                  Defending new vectors: Threat actors attempt SQL Server to cloud lateral movement | Microsoft Security Blog
                                • PowerShell 7.5がリリースされました | DevelopersIO

                                  .NET 9は非LTSバージョンのためPowerShell 7.5も非LTSとなります。 サポート終了日も現在のLTSバージョンである7.4より短いのでご留意ください。 なお、PowerShell 7.4以前のバージョンは全てサポート終了済みなので古いバージョンをお使いの方は適宜バージョンアップをしてください。 PowerShell 7.5の入手方法、更新方法 PowerShell 7.5の入手方法やアップデート方法はPowerShell 7 ~ 7.4の時と基本的に同じです。 GitHubリポジトリおよび各種パッケージマネージャからインストール可能です。 詳細な手順はGitHubにある手順をご覧ください。 Get PowerShell ちなみにですが、PowerShell 7.5からarm版Windows環境向けのMSIインストーラー(win-arm64.msi)が提供されています。 (

                                    PowerShell 7.5がリリースされました | DevelopersIO
                                  • とうとうRyzen + RADEONのAMD環境にもWindowsで動くStable

                                    やっと来たAMD最初の一歩。DirectMLでAMD GPUを動かす 定期的にAMDxSD x Winのことを調べていますが、今回この記事に行き当たりました。Running Stable Diffusion on Windows with an AMD GPU Unfortunately, in its current state, it relies on Nvidia’s CUDA framework, which means that it only works out of the box if you’ve got an Nvidia GPU. Fear not, however. Because Stable Diffusion is both a) open source and b) good, it has seen an absolute flurry of activ

                                      とうとうRyzen + RADEONのAMD環境にもWindowsで動くStable
                                    • PowerShell: the object-oriented shell you didn’t know you needed

                                      PowerShell is an interactive shell and scripting language from Microsoft. It’s object-oriented — and that’s not just a buzzword, that’s a big difference to how the standard Unix shells work. And it is actually usable as an interactive shell. Getting Started PowerShell is so nice, Microsoft made it twice. Specifically, there concurrently exist two products named PowerShell: Windows PowerShell (5.1)

                                      • Node.js

                                        To restore application state from snapshot.blob, with index.js as the entry point script for the deserialized application: Contributed by Joyee Cheung in #38905 Other notable changes crypto: (SEMVER-MINOR) allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #44201 (SEMVER-MINOR) allow zero-length secret KeyObject (Filip Skokan) #44201 deps: upgrade npm to 8.18.0 (npm team) #44263

                                          Node.js
                                        • Cisco Talos shares insights related to recent cyber attack on Cisco

                                          Cisco Talos shares insights related to recent cyber attack on Cisco Executive summaryOn May 24, 2022, Cisco became aware of a potential compromise. Since that point, Cisco Security Incident Response (CSIRT) and Cisco Talos have been working to remediate.During the investigation, it was determined that a Cisco employee’s credentials were compromised after an attacker gained control of a personal Go

                                            Cisco Talos shares insights related to recent cyber attack on Cisco
                                          • Deno 1.6 Release Notes | Deno

                                            Today we are releasing Deno 1.6.0. This release contains some major features, and many bug fixes. Here are some highlights: Build self contained, standalone binaries: deno compile can build your Deno projects into completely standalone executables Built-in Deno Language Server: fully integrated LSP for code editors Experimental support for Mac Arm64: release binaries that run natively on Apple’s n

                                              Deno 1.6 Release Notes | Deno
                                            • Windows Terminal Preview 1.6 Release

                                              Welcome to our first Windows Terminal release of 2021! This release brings new features to Windows Terminal Preview version 1.6 as well as moves Windows Terminal to version 1.5, which includes the features from this previous blog post. You can download both versions from the Microsoft Store or from the GitHub releases page. Below are some of the highlights in this release, however we recommend che

                                                Windows Terminal Preview 1.6 Release
                                              • Windows RE に更新プログラムを追加する

                                                Windows RE イメージに更新プログラム (LCU または安全な OS 動的更新プログラム (DU)) を適用できます。 Windows RE イメージを更新する手順は、オフライン イメージを更新するか、実行中のシステムのイメージを更新するかによって異なります。 LCU を追加する場合: 更新プログラムを追加する前だけでなく、更新プログラムを追加した後も、WinRE のバージョン番号を調べて、更新プログラムが正しく適用されたことを確認します。 DU パッケージを追加する場合: パッケージを追加した後、イメージ内のパッケージの一覧を調べて、パッケージがイメージに正常に追加されたことを確認します。 オフライン イメージを更新する 次の手順では、更新されたパッケージをオフラインの Windows RE イメージに追加する方法について説明します。 Windows イメージをマウントする Wi

                                                  Windows RE に更新プログラムを追加する
                                                • https://docs.microsoft.com/ja-jp/powershell/scripting/learn/deep-dives/everything-about-arrays

                                                  配列とは まず、配列とは何か、そしてほとんどのプログラミング言語で使用される方法についての基本的な技術的な説明から始めます。その後、PowerShell がそれらを使用する他の方法に移行します。 配列は、複数の項目のコレクションとして機能するデータ構造です。 配列を反復処理したり、インデックスを使用して個々の項目にアクセスしたりできます。 配列は、各値がもう一方の隣に格納されるメモリの順次チャンクとして作成されます。 私たちは行くにつれて、これらの詳細のそれぞれについて触れます。 基本的な使用方法 配列は PowerShell の基本的な機能であるため、PowerShell で操作するための簡単な構文があります。 配列を作成する 空の配列は、次を使用して作成できます。 @() PS> $data = @() PS> $data.Count 0 配列を作成し、 @() かっこ内に配置するだけ

                                                    https://docs.microsoft.com/ja-jp/powershell/scripting/learn/deep-dives/everything-about-arrays
                                                  • February 2025 (version 1.98)

                                                    The feature is still under refinement, yet ready to use. Feedback is welcome. View the preview features (@tag:preview). Copilot Edits Agent mode improvements (Experimental) Last month, we introduced agent mode for Copilot Edits in VS Code Insiders. In agent mode, Copilot can automatically search your workspace for relevant context, edit files, check them for errors, and run terminal commands (with

                                                      February 2025 (version 1.98)
                                                    • Julia 1.6: what has changed since Julia 1.0?

                                                      Julia 1.0 came out well over 2 years ago. Since then a lot has changed and a lot hasn’t. Julia 1.0 was a commitment to no breaking changes, but that is not to say no new features have been added to the language. Julia 1.6 is a huge release and it is coming out relatively soon. RC-1 was released recently. I suspect we have at least a few more weeks before the final release. The Julia Core team take

                                                      • April 2021 (version 1.56)

                                                        Join a VS Code Dev Days event near you to learn about AI-assisted development in VS Code. Update 1.56.1: The update addresses these security issues. Update 1.56.2: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the April 2021 release of Visual Studio Code. The VS Code team has been busy this month working

                                                          April 2021 (version 1.56)
                                                        • cuneicode, and the Future of Text in C

                                                          Following up from the last post, there is a lot more we need to cover. This was intended to be the post where we talk exclusively about benchmarks and numbers. But, I have unfortunately been perfectly taunted and status-locked, like a monster whose “aggro” was pulled by a tank. The reason, of course, is due to a few folks taking issue with my outright dismissal of the C and C++ APIs (and not showi

                                                            cuneicode, and the Future of Text in C
                                                          • PowerShell スクリプトのパフォーマンスに関する考慮事項 - PowerShell

                                                            出力の抑制 パイプラインへのオブジェクトの書き込みを回避するには、さまざまな方法があります。 $null への割り当てまたはファイル リダイレクト [void] へのキャスティング Out-Null にパイプ $null への割り当て。[void] へのキャスティング、$null へのファイル リダイレクトの速度はほぼ同じです。 ただし、大きなループで Out-Null を呼び出す場合は、PowerShell 5.1 でも大幅に遅くなる場合があります。 $tests = @{ 'Assign to $null' = { $arrayList = [System.Collections.ArrayList]::new() foreach ($i in 0..$args[0]) { $null = $arraylist.Add($i) } } 'Cast to [void]' = { $arr

                                                              PowerShell スクリプトのパフォーマンスに関する考慮事項 - PowerShell
                                                            • Managing domain membership of dynamic fleet of EC2 instances | Amazon Web Services

                                                              AWS Compute Blog Managing domain membership of dynamic fleet of EC2 instances This post is written by Alex Zarenin, Senior AWS Solution Architect, Microsoft Tech. Updated: February 10, 2021 1.   Introduction For most companies, a move of Microsoft workloads to AWS starts with “lift and shift” where existing workloads are moved from the on-premises data centers to the cloud. These workloads may inc

                                                                Managing domain membership of dynamic fleet of EC2 instances | Amazon Web Services
                                                              • May 2024 (version 1.90)

                                                                Update 1.90.2: The update addresses these issues. Update 1.90.1: The update addresses these issues. Downloads: Windows: x64 Arm64 | Mac: Universal Intel silicon | Linux: deb rpm tarball Arm snap Welcome to the May 2024 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include: Editor tabs multi-select - Select and perform act

                                                                  May 2024 (version 1.90)
                                                                • How A Large-Scale Russian Botnet Operation Stays Under the Radar

                                                                  Author: David Brunsdon Not too long ago Infoblox Threat Intel discovered a botnet delivering malware via spam campaigns using spoofed sender domains. This is different from the email spoofing that we recently reported on Muddling Malspam: The Use of Spoofed Domains in Malicious Spam, in that these take advantage of misconfigured DNS records to pass email protection techniques. Botnets, which are b

                                                                    How A Large-Scale Russian Botnet Operation Stays Under the Radar
                                                                  • Executing shell commands from Node.js

                                                                    Warning: This blog post is outdated. Instead, read chapter “Running shell commands in child processes” in “Shell scripting with Node.js”. In this blog post, we’ll explore how we can execute shell commands from Node.js, via module 'node:child_process'. Overview of this blog post  # Module 'node:child_process' has a function for executing shell commands (in spawned child processes) that comes in two

                                                                    • Fakenet-NG 単体で証明書エラー無くHTTPS通信の復号をやらせるまで - 切られたしっぽ

                                                                      TL;DR Fakenet-NG を改造して、証明書のエラーなく任意の通信先に対して HTTPS の通信を行わせるための備忘録です 実質 MitM をさせる Proxy を作るための話になります TL;DR はじめに 環境構築 0. 事前準備 1. 通信先情報の取得 ドメイン(ホスト名) IPアドレス 2. 自己署名証明書の作成 3. Proxy Listener への組み込み 4. テスト おわりに はじめに マルウェア解析の動的解析環境(Sandbox 環境)を構築する際、TLS/SSL を用いた HTTPS 通信をどのようにして取得して分析可能とするかというのは一つの至上命題です。マルウェアがC2サーバと通信する際に TLS/SSL を使う場合はもちろんそのやりとりの中身を記録したいですし、解析環境検知のためにメジャーなWebサービスに対して HTTPS でダミー通信を発する場合もあ

                                                                        Fakenet-NG 単体で証明書エラー無くHTTPS通信の復号をやらせるまで - 切られたしっぽ
                                                                      • Over a Dozen Malicious NPM Packages Caught Hijacking Discord Servers

                                                                        At least 17 malware-laced packages have been discovered on the NPM package Registry, adding to a recent barrage of malicious software hosted and delivered through open-source software repositories such as PyPi and RubyGems. DevOps firm JFrog said the libraries, now taken down, were designed to grab Discord access tokens and environment variables from users' computers as well as gain full control o

                                                                          Over a Dozen Malicious NPM Packages Caught Hijacking Discord Servers
                                                                        • Hunting M365 Invaders: Blue Team's Guide to Initial Access Vectors | Splunk

                                                                          Microsoft 365 (formerly Office 365) is Microsoft's cloud-based suite of productivity tools, which includes email, collaboration platforms, and office applications. All are integrated with Entra ID (referred to as Azure AD in this post) for identity and access management. M365’s centralized storage of organizational data, combined with its ubiquity and widespread adoption, make it a common target o

                                                                            Hunting M365 Invaders: Blue Team's Guide to Initial Access Vectors | Splunk
                                                                          • about_Preference_Variables - PowerShell

                                                                            Working with preference variables This document describes each of the preference variables. To display the current value of a specific preference variable, type the variable's name. For example, the following command displays the $ConfirmPreference variable's value. $ConfirmPreference High To change a variable's value, use an assignment statement. For example, the following statement changes the $

                                                                              about_Preference_Variables - PowerShell
                                                                            • ハッシュテーブルについて知りたかったことのすべて - PowerShell

                                                                              ここでは、一歩下がって、ハッシュテーブルについて説明します。 私は現在は常に使用しています。 昨晩ユーザー グループミーティングの後、これに関してあるユーザーに説明していたとき、私にも同じ混乱が生じていたことに気付きました。 ハッシュテーブルは PowerShell で非常に重要であるため、十分に理解しておくことをお勧めします。 もののコレクションとしてのハッシュテーブル まず、ハッシュテーブルの従来の定義どおり、ハッシュテーブルをコレクションとして見てください。 この定義により、後でより高度なことに使用する場合の動作に関する基本的な理解が得られます。 この理解をスキップすることは、多くの場合、混乱の原因になります。 配列とは ハッシュテーブルとは何かを説明する前に、まず配列について説明する必要があります。 このディスカッションでは、配列は値またはオブジェクトのリストまたはコレクションです

                                                                                ハッシュテーブルについて知りたかったことのすべて - PowerShell
                                                                              • Getting Started with Windows Terminal - Windows Command Line

                                                                                Installation Windows Terminal is available in two different builds: Windows Terminal and Windows Terminal Preview. Both builds are available for download from the Microsoft Store and from the GitHub releases page. Requirements In order to run either Windows Terminal build, your machine must be on Windows 10 1903 or later. Windows Terminal Preview Windows Terminal Preview is the build where new fea

                                                                                  Getting Started with Windows Terminal - Windows Command Line
                                                                                • MCP サーバをコンテナ環境で構築して Claude デスクトップで動かす。ローカルファイルへの読み書き編|Hi-Noguchi | 株式会社きみより代表

                                                                                  ローカル環境の特定フォルダをコンテナへマウントし、そこをサンドボックスとしてファイルの読み書きをおこなわせるようにする 前回記事で実践した Slack への接続と、今回のファイル読み書きを組み合わせて複数 MCP サーバの協働を見届ける 前提ひとまず Windows 環境向けに書いているけれど、Mac でも大丈夫でしょう 今回はサンプルコードの Slack 接続を流用します ディレクトリ用意ここでは D ドライブに `container` を作成 `container` の中にさらに `mcp-filesystem-server` と `shared` を作成 ファイル用意.dockerignore node_modules dist .env *.log .git .gitignore .DS_Storedocker-compose.yml services: filesystem-mc

                                                                                    MCP サーバをコンテナ環境で構築して Claude デスクトップで動かす。ローカルファイルへの読み書き編|Hi-Noguchi | 株式会社きみより代表
                                                                                  1