Skip to content

Instantly share code, notes, and snippets.

@akiko-pusu
akiko-pusu / confluence_page_post.py
Last active June 2, 2022 19:43
Confluenceのページをコピーして新しくページを作るサンプル
import requests
import json
import os
import textwrap
from datetime import datetime
from datetime import timedelta
import re
class ConfluencePagePost:
'''Class to post page/blog content to Confluence via REST API.'''
@AArnott
AArnott / StaticFuncWithArgExaminer.cs
Created August 21, 2014 21:21
Creating a static method that accepts a first argument supplied by the delegate.
namespace ILExaminer
{
using System;
static class Program
{
internal static Func<T> AsFunc<T>(this T value)
where T : class
{
return new Func<T>(value.Return);