Skip to content

Instantly share code, notes, and snippets.

View rumaniel's full-sized avatar
💀
I'm fine thank you and you?

Ruman Kim rumaniel

💀
I'm fine thank you and you?
View GitHub Profile
@rumaniel
rumaniel / upload_to_s3.sh
Created August 31, 2023 01:59
Upload to s3 with recursively
#!/bin/zsh
# usage ./upload_to_s3.sh githash path/to/local/folder
# Check if the githash argument is provided
if [ $# -ne 3 ]; then
echo "Usage: $0 <githash> <folder-path> <bucket name>"
exit 1
fi
# Set your bucket name and folder path
@rumaniel
rumaniel / replace_yaml_value.sh
Created August 31, 2023 01:57
Shell Script for Replace yaml value.
#!/bin/bash
if [ $# -ne 3 ]; then
echo "Usage: $0 <file_path> <field_name> <new_value>"
exit 1
fi
file_path="$1"
field_name="$2"
new_value="$3"
# Find the line number where the field is located
line_number=$(grep -n "$field_name:" "$file_path" | cut -d ':' -f 1)
@rumaniel
rumaniel / copyClipboard.vba
Created July 3, 2019 06:41
Read row and column and copy to clipboard. cells(row, column) eqauls range(좌표).value
Const pGene As Integer = 24 '출력 시작하는 row
Sub Input_Button_Click() 'Generate Button Click시
Dim cAttrib As Integer
Dim cName As Integer
cAttrib = 0
@rumaniel
rumaniel / EllipsisUGUIText.cs
Last active March 24, 2023 03:33
UGUI text extension for ellipsis text with '...'(unicode 8230)
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using System.Text;
public class EllipsisUGUIText : Text
{
private readonly StringBuilder updatedStringBuilder = new StringBuilder(50);
private const char ellipsis = (char)8230;
@rumaniel
rumaniel / update_appicon_and_launchimage.rb
Created May 4, 2019 08:30
fastlane action for update appicon
# Inspired by https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/update_app_identifier.rb
# coding: utf-8
module Fastlane
module Actions
class UpdateAppiconAndLaunchimageAction < Action
def self.run(params)
require 'plist'
require 'xcodeproj'
info_plist_key = 'INFOPLIST_FILE'