Skip to content

Instantly share code, notes, and snippets.

View kimjisub's full-sized avatar

김지섭 kimjisub

View GitHub Profile
<img src="https://img.shields.io/badge/-.ENV-ECD53F?style=flat&logo=dotenv&logoColor=white"/>
<img src="https://img.shields.io/badge/-.NET-512BD4?style=flat&logo=dotnet&logoColor=white"/>
<img src="https://img.shields.io/badge/-/e/-000000?style=flat&logo=e&logoColor=white"/>
<img src="https://img.shields.io/badge/-1001Tracklists-40AEF0?style=flat&logo=1001tracklists&logoColor=white"/>
<img src="https://img.shields.io/badge/-1Password-3B66BC?style=flat&logo=1password&logoColor=white"/>
<img src="https://img.shields.io/badge/-2K-DD0700?style=flat&logo=2k&logoColor=white"/>
<img src="https://img.shields.io/badge/-365 Data Science-000C1F?style=flat&logo=365datascience&logoColor=white"/>
<img src="https://img.shields.io/badge/-3M-FF0000?style=flat&logo=3m&logoColor=white"/>
<img src="https://img.shields.io/badge/-42-000000?style=flat&logo=42&logoColor=white"/>
<img src="https://img.shields.io/badge/-4chan-006600?style=flat&logo=4chan&logoColor=white"/>
@kimjisub
kimjisub / main.js
Last active January 30, 2024 22:47
Github Contributes Crawler
githubUsernames = ['Anas-wg', 'CHEDDA-L', 'CosmicSandBox', 'Dawon00', 'ElvaCJ', 'GNAchoux', 'HSK021843', 'HwangBBang', 'Jeonhui', 'KeyWaveTree', 'LYZAcell', 'MillionKiwi', 'ParkWonjeong', 'ParkYujin1029', 'SR-Kwon', 'SeEunJeon', 'Seoulmycat', 'ShinHyeongcheol', 'Sunhwak', 'YangEonPil', 'Yeeun411', 'anhyeryeon2', 'bewheneverwhatiwant', 'bome24', 'daehyuh', 'dori108', 'g00hyun', 'gomsang', 'hwarange', 'ijeongm', 'jaeiko', 'jiHeeFlee', 'juhui88', 'kimjisub', 'koojun99', 'leestana01', 'ohprettyhak', 'ryudonghyun123', 's00ngle', 'seojin-yoon', 'sese2204', 'soeun0127', 'sooo03', 'soyan22', 'whitetor', 'yanghyen', 'yideniyi', 'yiseoffline', 'younkyum', 'yunejae12']
async function getCommitCountHtml(username) {
try {
const profileResponse = await fetch(`https://github.com/${username}`);
const profileHtml = await profileResponse.text();
const parser = new DOMParser();
const profileDoc = parser.parseFromString(profileHtml, "text/html");
const contributionsElem = profileDoc.
@kimjisub
kimjisub / Karabiner Ctrl ` to F20.json
Created May 4, 2023 11:30
Karabiner Ctrl ` to F20
{
"title": "Karabiner Ctrl ` to F20",
"rules": [
{
"description": "Karabiner Ctrl ` to F20",
"manipulators": [
{
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
@kimjisub
kimjisub / main.js
Created September 19, 2019 12:22
Youtube parsing
const req = require('request-promise');
module.exports = async (query) => {
const html = await req.get(`https://www.youtube.com/results?search_query=${ encodeURI(query) }`);
const result = { list: [] };
const s = html.toString().split('/watch?v=')
const limit = 10;
let cnt = 0, data = {};
<html>
<head>
<meta charset="uft-8">
<title>심심해</title>
<style>
p{
display: inline;
float: left;
margin: 0;