2024-01-01ãã1å¹´éã®è¨äºä¸è¦§
ongaeshi.me èªåã®ã¦ã§ããµã¤ãã VitePress ã§ãªãã¥ã¼ã¢ã«ããã èªåããããããã¨ã¯ VitePress ã®ããã©ã«ããã¼ãã®æ©è½ã ãã§å®å ¨ã«è³ããã¨ãã§ãããä¸éãããã£ã¦ãã¦ãããèµ·åãæ©ãã®ãããã ã¬ãã¸ããªã¯GitHubã§ç®¡çããã¦ãããpush ããâ¦
https://obsidian.md/clipper æè¿ãªãªã¼ã¹ãããã°ããã®æ°æ©è½ããã©ã¦ã¶ã®æ¡å¼µæ©è½ã¨ãã¦ä½¿ãã¦ãWeb ä¸ã®è¨äºãç°¡åã« Obsidian ä¸ã«åãè¾¼ããã¨ãã§ãããWeb ä¸ã«ããããããã®ããã¥ã¡ã³ããèªãã®ã«éå®ãã¦ããã iOS ããã使ãã Safari ã®æ¡å¼µâ¦
å é¨å®è£ ãåããããã説æãã2ç« ãç¹ã«é¢ç½ãã ããããã¯ã·ã³ãã«ãª blob, tree, commit ã®çµã¿åããã§è¤éãªãã¼ã¸ã§ã³ç®¡çãå®ç¾ã§ãã¦ããã®ãåãã£ãã å®ç¨ Git 第3çä½è :Prem Kumar Ponuthorai,Jon Loeligerãªã©ã¤ãªã¼ã¸ã£ãã³Amazon blob ã¯Bâ¦
æè¿è²·ã£ã C# ç³»ã®æ¬ã®ä¸ã§ã¯ãã³ããã§ããã巨大㪠API ã©ã¤ãã©ãªãè¨è¨ããã¨ãã«æ°ãä»ãããã¨ãå ·ä½çã«æ¸ãã¦ãã£ã¦åèã«ãªãã neuecc æ°ãåæ¸ããæ¸ãã¦ã㦠2ç« ãç´ æ´ãããã¨æ¸ãã¦ãã£ããã©ãã®ã¨ãã2ç« ãç´ æ´ãããã£ããããã¾ã§ã§ãåâ¦
ãã®ããã°ã«ç´ æ©ãæ稿ããããã«ãå人ç¨ã®ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¼ã¹(CLI)ãä½ã£ãã github.com å é¨ã§ blogsync ã使ã£ã¦ããã Ruby + Thor ã§ä½æããruna 㧠blog ã¨ããååã®ã³ãã³ãã¨ãã¦ãã©ãããã§ãå®è¡ã§ããããã«ãã¦ããã æ稿: bâ¦
ä¾ãã°5åã ãä¼æ©ãããã¨ããéä¸ãã¦ä½æ¥ãããã¨ããã¿ã¤ãã¼ããããã®ã§ã¯ãªãããã£ãããªã Spotify ã§å¥½ããªé³æ¥½ããããããªãã¨ããããã ã¨ããã Spotify ã¯èªååçæ©è½ããããããæ²ãçµãã£ããããã«é¢é£ããå¥ã®æ²ãã©ãã©ãæµãã¦ããâ¦
åå ããå¼ãç¶ã blog new ã³ãã³ãã®æ¹åãç¶ãã¦ããã ç´æ¥è¨äºããã¹ããããã¨ãã¯æ¨æºå ¥åããè¨äºã®ä¸èº«ãåãåããã®ã¯ä¾¿å©ã ãã©ã èªåã®å ´å㯠VSCode ã§ããã«ç·¨éããã®ã§ã¾ã空ã®æ¨æºå ¥åã渡ãã¦ãã®å¦çããã£ã³ã»ã«ããã system("blogsâ¦
Obsidian ã®ä¸æºã¨ãã¦ãé·ãã®ã³ã¼ããããã¯ããã£ã¨èªã¿ã«ããã¨æã£ã¦ããã ãã©ã¼ã©ã ãè¦ãã¦ããããããªãã·ã§ã³ãè¦ã¤ããã forum.obsidian.md When the âReadable Line Lengthâ feature is turned on, the lines are extremely short in edit moâ¦
èªåç¨ã® blog ã³ãã³ã ãæ¹åä¸ã git ã¬ãã¸ããªã¸ã®ã³ããã㨠blogsync ãåæãããæ¹åã§å®è£ ãã¦ã¿ãã github.com blog new å¼æ°ã¯ --custom-path ã«æ¸¡ããã¨ã§ URL ãç´æ¥æå®ã§ããããã«ããã --draft 㨠--title ã¯ãªãã·ã§ã³ã class Main < â¦
blogsync ã®ç½®ãå ´æãç¢ºèª PowerShell ã® type 㯠Get-Command (ãã¤ãå¿ãã)ã > Get-Command blogsync C:\app\bin\blogsync.exe ãã¦ã³ãã¼ã https://github.com/x-motemen/blogsync/releases ããææ°ã®ãã¤ããªããã¦ã³ãã¼ãã https://github.com/xâ¦
Ruby 㨠thor ã使ã£ã¦æ¸ãããRuna ã使ã£ã¦ blog ã³ãã³ãã¨ãã¦ç»é²ãã¦ããã github.com 使ãæ¹ # æ°è¦è¨äºä½æ $ blog new ã¿ã¤ãã« # VSCode ã§éã $ blog edit # blogsync push $ blog push # blogsync pull $ blog pull # éã $ blog open # 管çâ¦
åå 㧠WSL ã« Ruby 3.3 ãå ¥ã£ãã®ã§æ¬¡ã¯ irb ã®è¨å®ããã¾ãã ææ°ã® irb ã§ã¯åè£å®ã®è¿½å ãè£å®ãã¤ã¢ãã°ã®è²å¤æ´APIããããã°ã«ä¾¿å©ãªæ©è½ããã®ä»ä¾¿å©ãªæ©è½è¿½å ãªã©ãå ¥ãã対話çãªãããã¿ã¤ãã³ã°ããããã°ãå¦ç¿ãå®é¨ã®ä½æ¥å¹çã大ããåâ¦
Windows ç°å¢ã§ Ruby 3.3 ã®è£å®ãå¼·åããã irb ã rbs-inline ãªã©ã®ææ°ã®æ©è½ã試ãããããã¨ã㯠RubyInstaller ã使ããã« WSL çµç±ã§å ¥ããæ¹ãæåãå®å®ãã¦ãã¦ããããã§ãã ã¾ã Ubuntu 㧠snap ã使ã£ã¦ Ruby ãã¤ã³ã¹ãã¼ã«ããã¨æ¨æºã©ã¤â¦
RubyKaigi 2024 ã®Writing Weird Code @tompng ã Exploring Reline @ima1zumi ã§ç´¹ä»ããã¦ããæ°ãã irb ã®è£å®æ©è½ããããããªã®ã§æå ã§ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã Ruby 3.3 ã®ã¤ã³ã¹ãã¼ã« 3.2 ã§ã gem update irb ã¨ãããã°åãããããã©ãã£ããâ¦
json_canvas 㯠JSONCanvasã¯å½¢å¼ã®ãã¡ã¤ã«ã Ruby ã§ç°¡åã«èªã¿æ¸ãã§ããã©ã¤ãã©ãªã§ãããã§ã«ããã¤ãã®è¨èªã®ã©ã¤ãã©ãªã¯ãã£ãã®ã§ãã Ruby ç¨ãç¡ãã£ãã®ã§ä½ãã¾ããã ã¤ã³ã¹ãã¼ã«æ¹æ³ json_canvas ã使ãå§ããã«ã¯ãã¾ãã¢ããªã±ã¼ã·ã§ã³ã®â¦
https://neue.cc/2024/05/01_R3_Presentation.html åããã¦ã¹ã©ã¤ããèªãã TIPS: class 㨠struct ãã¨ãã£ã¿ä¸ã§è¦è¦çã«åºå¥ãã 44 ã¡ãªã¿ã«ãç§ã¯ã¨ãã£ã¿ä¸ã§ class 㨠struct ãè¦è¦çã«åºå¥ãããã®ã§ãstruct ã¯ç·è²ã«ãã¦ãã¾ã(enumã¯é»è²)ããâ¦
C# ã«ããã if (obj?.Foo?.Bar ?? false) ã®ãã㪠null æ¡ä»¶æ¼ç®å㨠null åä½æ¼ç®åãçµã¿åãããå¼ãèªã¿ã«ããã¦è¦æã ã£ãã if (obj?.Foo?.Bar ?? false) { // obj.Foo.Bar ã®éä¸ã« null ãåå¨ããªãã // ã㤠obj.Foo.Bar == true ã®å ´åã«å®è¡â¦
éå»ã®ãã¹ã¦ã®ããã°è¨äºã git ã¬ãã¸ããªã§ç®¡çãããã¨ã«ããã è¨äºã®ç®¡çãæ稿ã«ã¯ blogsync ã¨ãã Go 製ã®ãã¼ã«ã使ã£ã¦ããã github.com blogsync ãã¤ã³ã¹ãã¼ã«ãããã以ä¸ã®ã³ãã³ããå©ãã ãã§è¨äºã®åå¾ãæ稿ãæ´æ°ãã§ããã # ã¬ãã¸â¦
github.com ã Windows ãããããããã PowerShell ã§æ¨æºå ¥åãçµäºããã«ã¯Ctrl+Z Enter ãªã®ã§ã»ã» PS> ~/Documents/blog PS> blogsync post --draft --title=blogsync ongaeshi.hatenablog.com ãã¦ããã¯ãããã... (Ctrl+Z Enter) ãã㧠OKã ã©ã³â¦
ChatGPT ã¯ããããã®ç¨®é¡ã®ããã°ã©ãã³ã°è¨èªã®ã³ã¼ããåºåã§ãã¾ãããç´æ¥å®è¡ã§ããã®ã¯ç¾ç¶ Python ã®ã¿ã¨ãªã£ã¦ãã¾ããRuby ãªã©ä»ã®è¨èªãå®è¡ãããã¨ã¯ã§ããªããã¨èãã¦ãã¾ããã 1ã¤ã®ã¢ã¤ãã¢ã¨ãã¦æãã¤ããã®ã¯ ChatGPT ã«çæããã³ã¼â¦
Obsidian ã§ã¯æ®æ®µãã¤ãªã¼ãã¼ããä¸å¿ã«ã¡ã¢ãåã£ã¦ãã¾ããããããã®æ å ±ãå ã«ãããå¯åº¦ã®é«ãæ å ±ã«ã¼ããä½ããããªããã¨ãããã¾ããä½æããã«ã¼ããå ã«ããã°ã SNS ã«è¨äºãæ稿ãã¾ãã ä»æ¥ã¯ç§ãã©ã®ããã«æ å ±ãæ´çãã¦ããããã·ã§ã¢ãâ¦