Skip to content

Instantly share code, notes, and snippets.

@oca159
oca159 / neovim_eval_ruby.rb
Created July 21, 2025 00:08 — forked from mctaylorpants/neovim_eval_ruby.rb
EvalRuby plugin for Neovim
# EvalRuby: Run Ruby without leaving Neovim
#
# Usage:
# - While on a line of Ruby, or in Visual mode
# with multiple lines selected, type :EvalRuby.
#
# Installation:
# 1. Install neovim-ruby: https://github.com/neovim/neovim-ruby
#
# 2. Put this file in your plugins directory
@nuttxpr
nuttxpr / daily-build-test-starpro64.log
Created July 21, 2025 00:08
Daily Build and Test for StarPro64 EIC7700X SBC
CC: mqueue.c CC: nsh_init.c CC: libc_memmem.c CC: nsh_mmcmds.c CC: mutex.c CC: nsh_mntcmds.c CC: posixtimer.c CC: pthread_exit.c CC: pthread_rwlock.c CC: pthread_rwlock_cancel.c CC: nsh_parse.c CC: nsh_printf.c fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-07-21 08:03:57+08:00 [COMMAND="/home/luppy/nuttx-build-farm/build-test-starpro64.sh " <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-build-farm/blob/main/build-test-starpro64.sh
+ export STARPRO64_SERVER=thinkcentre
+ STARPRO64_SERVER=thinkcentre
+ export TFTP_SERVER=tftpserver
+ TFTP_SERVER=tftpserver
+ nuttx_hash=
+ apps_hash=
+ nuttx_url=
{
"name": "CrunchyScan WebView",
"id": "crunchyscan-webview",
"version": "1.0.0",
"lang": "fr",
"type": "webview",
"url": "https://crunchyscan.fr",
"nsfw": false
}
@choco-bot
choco-bot / FilesSnapshot.xml
Created July 21, 2025 00:05
fuelscm.portable v1.0.0 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\fuelscm.portable\fuelscm.portable.nupkg" checksum="47221F6F7119AC476F1ADDF485D6EEED" />
<file path="C:\ProgramData\chocolatey\lib\fuelscm.portable\fuelscm.portable.nuspec" checksum="BDF477EA5039AE9429427164AD59228C" />
<file path="C:\ProgramData\chocolatey\lib\fuelscm.portable\tools\chocolateyInstall.ps1" checksum="3D195D4854827A981DC065FDEAA00C1F" />
<file path="C:\ProgramData\chocolatey\lib\fuelscm.portable\tools\fossil.exe.ignore" checksum="D41D8CD98F00B204E9800998ECF8427E" />
</files>
</fileSnapshot>
@dantman
dantman / README.md
Created July 21, 2025 00:04
Reusable "definedForm" boilerplate

๐Ÿ“ React + Zod + React Hook Form Boilerplate

A reusable pattern for building type-safe, validated forms in React using:

  • react-hook-form: For ergonomic form state management.
  • zod: For schema-based validation and type inference.
  • TypeScript: For full type safety throughout your forms.

Features

  • defineForm(schema): Generates a custom hook for your form, automatically wiring up Zod validation and type inference.
@choco-bot
choco-bot / Install.txt
Created July 21, 2025 00:04
fuelscm v1.0.0 - Failed - Package Tests Results
2025-07-21 00:03:11,744 2180 [DEBUG] - XmlConfiguration is now operational
2025-07-21 00:03:11,869 2180 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,869 2180 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,869 2180 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,885 2180 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,885 2180 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,900 2180 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,900 2180 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 00:03:11,916 2180 [DEBUG] - Adding new typ
@nuttxpr
nuttxpr / daily-build-test-avaota.log
Created July 21, 2025 00:03
Daily Build and Test for Avaota-A1 A527 SBC
Script started on 2025-07-21 08:00:01+08:00 [COMMAND="/home/luppy/nuttx-build-farm/build-test-avaota.sh " <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-build-farm/blob/main/build-test-avaota.sh
+ export AVAOTA_SERVER=thinkcentre
+ AVAOTA_SERVER=thinkcentre
+ nuttx_hash=
+ apps_hash=
+ nuttx_url=
+ nuttx_ref=
+ apps_url=
+ apps_ref=
@choco-bot
choco-bot / FilesSnapshot.xml
Created July 21, 2025 00:02
emeditor v15.0.2 - Failed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\emeditor\emeditor.nupkg" checksum="73D4AE2842D0838950541FFF06C0F6B6" />
<file path="C:\ProgramData\chocolatey\lib\emeditor\emeditor.nuspec" checksum="32E82CDE13376BB36F13ED6C791C8AB1" />
<file path="C:\ProgramData\chocolatey\lib\emeditor\tools\chocolateyInstall.ps1" checksum="D7C91E306C2F02B1A4667784E57A368F" />
</files>
</fileSnapshot>

W2.์•Œ๊ณ ๋ฆฌ์ฆ˜

1. Two Sum

๋ฌธ์ œ ํ•ด์„

  • ์ •์ˆ˜ ๋ฐฐ์—ด nums์—์„œ ๋‘ ์ˆ˜๋ฅผ ๊ณจ๋ผ ํ•ฉ์ด target์ด ๋˜๋Š” ๋‘ ์ธ๋ฑ์Šค๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋ฌธ์ œ
  • ๊ฐ™์€ ์š”์†Œ๋ฅผ ๋‘ ๋ฒˆ ์“ธ ์ˆ˜ ์—†๊ณ , ์ •๋‹ต์€ ํ•˜๋‚˜๋งŒ ์กด์žฌํ•จ

ํ’€์ด ๋ฐฉ๋ฒ•

  • 2์ค‘ for๋ฌธ์„ ํ†ตํ•ด ํ•ฉ์ด target์ธ ์ธ๋ฑ์Šค๋ฅผ ๋ฐ˜ํ™˜
{
"name": "CrunchyScan WebView",
"id": "crunchyscan-webview",
"version": "1.0.0",
"lang": "fr",
"type": "webview",
"url": "https://crunchyscan.fr",
"nsfw": false
}