This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "permissions": { | |
| "allow": [ | |
| "Bash(*)", | |
| "Read(*)", | |
| "Write(*)", | |
| "Edit(*)", | |
| "MultiEdit(*)", | |
| "LS(*)", | |
| "Glob(*)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def xiaolongbao_fizzbuzz(start: int, end: int) -> None: | |
| """ | |
| start から end までの数字をループし、 | |
| 3の倍数は '小籠'、5の倍数は '包'、 | |
| 両方の倍数は '小籠包' を出力します。 | |
| """ | |
| for current_number in range(start, end + 1): | |
| if current_number % 15 == 0: | |
| print("小籠包") | |
| elif current_number % 3 == 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .cursorrules | |
| # Development Steps for CLI Application in Go | |
| ## 1. Overall Design | |
| - Define the purpose and scope of the CLI application. | |
| - Identify the target audience and their needs. | |
| - Outline the main features and functionalities. | |
| - Create a high-level architecture diagram. | |
| - **Improve Specifications/Features:** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function tssh | |
| ssh (tailscale status --active | awk '/^# / {next} /^[ \t]*$/ {next} /^\-/ {next} {print $2}' | peco | tr "\n" "\0") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bin/gn gen out/release \ | |
| --args="is_official_build=true \ | |
| skia_use_libjpeg_turbo_decode=false \ | |
| skia_use_libjpeg_turbo_encode=false \ | |
| extra_cflags_cc=[\"-frtti\"] \ | |
| skia_use_system_libwebp = false \ | |
| skia_use_system_harfbuzz = false \ | |
| skia_use_system_libpng = false \ | |
| is_component_build = false \ | |
| " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| magick compare -fuzz 5% image1.png image2.png -compose src result.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class WavAnalyzer | |
| { | |
| public string riffId; | |
| public uint fileSize; | |
| public string wavId; | |
| public string formatId; | |
| // フォーマットのチャンク数 | |
| public uint formatChunkSize; | |
| public ushort format; | |
| // チャネル数 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| # 3 layer neural network | |
| class ThreeLayerNetwork: | |
| def sigmoid(self,x): | |
| return 1.0 / (1.0 + np.exp(-np.clip(x, -self.sigmoid_range, self.sigmoid_range))) | |
| def derivative_sigmoid(self,o): | |
| return o * (1.0 - o) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| さは |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ややや |
NewerOlder