Skip to content

Instantly share code, notes, and snippets.

{
"name": "RSS 피드 수집",
"nodes": [
{
"parameters": {
"resource": "block",
"blockId": {
"__rl": true,
"value": "your-notion-page-id",
"mode": "url"
@startuml
title RSS 피드 자동 수집&요약&포스팅
top to bottom direction
package "RSS 피드 수집" {
card "RSS 1" as rss1
card "RSS 2" as rss2
card "RSS 3" as rss3
route:
group_wait: 1s
group_interval: 5s
repeat_interval: 10m
receiver: 'default-receiver'
routes:
- match:
severity: 'warning'
receiver: 'jira-receiver'
@startuml
top to bottom direction
package "LM Studio" {
package "Models" {
card "llama-3.2 3B" as l
card "Qwen2.5 7B" as q
card "..." as etc
import os
import sys
import boto3
from botocore.exceptions import ClientError
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.application import MIMEApplication
# Replace sender@example.com with your "From" address.
# This address must be verified with Amazon SES.
@surinkim
surinkim / OpenSSL-1_1_0-stable-VS2015.md
Created June 8, 2020 02:57 — forked from terrillmoore/OpenSSL-1_1_0-stable-VS2015.md
Building OpenSSL 1.1.0 with Microsoft VS 2015

Building OpenSSL 1.1.0 with Microsoft VS 2015

MCCI needs OpenSSL for a Windows project (that will be cross-platform). A casual search didn't turn up either a good source for cross-platform libraries, which meant we have to build them ourselves. A deeper search found a detailed guide here, and yet the details don't match what I found when I checked out the code; and the post doesn't talk about doing it directly from GitHub (which I wanted to do).

Here's the procedure for building OpenSSL on 64-bit Windows 10, with Visual Studio 2015. Others (July 2019) report that this procedure works with Visual Studio 2017 as well. I've not had a chance to try with Visual Studio 2019.

As this procedure dates from late 2016, you may find that there's a CMake or other, newer, procedure that's more suitable.

  1. If you don't have it, please install git bash from git-scm.com.
@surinkim
surinkim / gitflow-breakdown.md
Created March 18, 2019 06:44 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

import tenacity
import random
import time
start_time = time.time()
def do_something():
if random.randint(0, 0) == 0:
print("Failure")
raise RuntimeError
import functools
import logging
import graypy
import json
import time
import random
from collections import defaultdict, deque
from flask import Flask, jsonify, g
app = Flask(__name__)
// schedule_read is called o start reading
void connection::connect()
{
boost::asio::ip::tcp::resolver resolver(_io);
boost::asio::ip::tcp::resolver::query query(_hostname, std::to_string(_port));
boost::asio::ip::tcp::resolver::iterator iterator = resolver.resolve(query);
boost::system::error_code ec;
boost::asio::connect(_socket, iterator, ec);
if (ec)