Skip to content

Instantly share code, notes, and snippets.

View wxcorpdev's full-sized avatar

wxcorpdev

  • Seoul, South Korea
View GitHub Profile
@wxcorpdev
wxcorpdev / README.md
Created July 8, 2025 00:03 — forked from AndrewAltimit/!README.md
Claude Code and Gemini CLI Integration

Gemini CLI Integration for Claude Code MCP Server

A complete setup guide for integrating Google's Gemini CLI with Claude Code through an MCP (Model Context Protocol) server. This provides automatic second opinion consultation when Claude expresses uncertainty or encounters complex technical decisions.

🚀 Quick Start

@wxcorpdev
wxcorpdev / agent loop
Created March 10, 2025 12:57 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@wxcorpdev
wxcorpdev / generateRandomId.ts
Created June 9, 2024 05:20
generates a random string
// to prevent duplication
const generatedIds = new Set<string>();
function generateRandomId(length: number): string {
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
const charactersLength = characters.length;
let result = '';
// this loop not needed when only generating
do {
@wxcorpdev
wxcorpdev / nextjs-kakao-map.tsx
Last active December 26, 2023 14:40
NextJS 페이지에서 카카오 지도 표시
'use client'
import { useCallback, useEffect, useRef, useState } from 'react'
import Script from 'next/script'
declare global {
interface Window {
kakao: {
maps: any
}
@wxcorpdev
wxcorpdev / laravel-validate-password-with-regex-pattern.php
Created May 27, 2023 12:20
Validate a password pattern using the validate() method in Laravel
use Illuminate\Http\Request;
public function yourMethod(Request $request)
{
$validatedData = $request->validate([
'password' => ['required', 'string', 'regex:/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d).{8,}$/'],
]);
// Perform other logic if validation passes
}
@wxcorpdev
wxcorpdev / center.css
Created April 10, 2020 14:57
How to center things with style in CSS.
.center-absolute {
text-align: center;
align-items: center;
align-self: center;
align-content: center;
justify-items: center;
justify-self: center;
justify-content: center;
place-items: center;
vertical-items: center;
@wxcorpdev
wxcorpdev / date-type-input.html
Created January 21, 2020 07:44
html date type input
<!-- source: https://codepen.io/hika00/pen/MWYzdBJ -->
<div>
<input type='date'/>
<button>📅</button>
</div>
<style type="text/css">
button{
position:relative;