Skip to content

Instantly share code, notes, and snippets.

View seungwoonlee's full-sized avatar
🎯
Focusing

winCloud seungwoonlee

🎯
Focusing
View GitHub Profile
@seungwoonlee
seungwoonlee / rename_file.py
Last active January 16, 2019 10:28
python file rename example
import os
def rename_movie_file(path, check_str):
for filename in os.listdir(path):
file_name, file_ext = os.path.splitext(filename)
file_ext = file_ext.lower()
if file_ext == '.md':
if check_str in filename:
file_name = file_name.replace(check_str, "")
rename_filename = file_name + file_ext
@lesstif
lesstif / choco-install-package.bat
Last active April 20, 2018 02:18
chocolatey 로 패키지 설치
@ECHO ON
REM install choco
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
REM utility
choco install chocolatey-core.extension -y
choco install 7zip -y
choco install sysinternals -y
choco install procexp -y
@lesstif
lesstif / change-ubuntu-mirror.sh
Last active March 20, 2024 07:03
우분투(ubuntu)의 apt 기본 미러(mirror)를 다음 카카오(kakao), 카이스트(kaist), 부경대(harukasan) 으로 변경
#!/usr/bin/env bash
SL=/etc/apt/sources.list
PARAM="r:hm:dnak"
KAKAO=mirror.kakao.com
KAIST=ftp.kaist.ac.kr
HARU=ftp.harukasan.org
@serithemage
serithemage / AWSCertifiedDeveloperUnofficialStudyGuide.md
Last active June 3, 2024 08:28
AWS 공인 개발자 - 어소시에이트 수험 가이드
@kenu
kenu / gist:bfcee2cc672805672b92
Last active October 18, 2022 19:27
easy git
# 쉬운 버전관리 Git
Part 1 기본
1. Git 이란?
파일의 변경 이력을 관리할 수 있는 버전관리시스템
CVS, SVN과 달리 네트워크가 끊긴 상황에서도 버전 기록(commit) 가능
리누스 토발즈가 개발
GitHub.com 서비스를 통해서 확산
프로젝트별로 관리 가능
GitHub, GitLab, BitBucket, NForge 무료 비밀 저장소 지원
@ihoneymon
ihoneymon / how-to-write-by-markdown.md
Last active June 16, 2024 07:48
마크다운(Markdown) 사용법

[공통] 마크다운 markdown 작성법

영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^

아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.

1. 마크다운에 관하여

@amogram
amogram / chocolatey-env-setup.ps1
Last active August 17, 2021 14:19
A Chocolatey script for PowerShell I use to set up my Windows development environment. I use this when setting up my own Dev VMs. Use at your own risk.See http://bit.ly/1a301JK and http://chocolatey.org/ for more information.
# Simple environment setup script
# Install Applications
choco install fiddler4
choco install notepadplusplus
choco install visualstudiocode
choco install greenshot
choco install GoogleChrome
choco install putty
choco install ccleaner
@seungwoonlee
seungwoonlee / SimpleLockScreen.java
Last active October 16, 2021 03:08
Simple Android LockScreen
package com.example.lockscreen;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.Toast;