Skip to content

Instantly share code, notes, and snippets.

View ichii731's full-sized avatar
Holiday

Ichii ichii731

Holiday
View GitHub Profile
@uruly
uruly / archive-external-link.php
Last active November 11, 2022 08:23
Make WordPress custom post title an external link

title: "Create a Blog with Nuxt Content 和訳" description: 'The Content module is a git files based headless CMS that provides powerful features when it comes to write blogs, documentation sites or just adding content to any regular website. In this post we will go through most of the benefits of this module and discover how we can create a blog with it.' imgUrl: blog/creating-blog-with-nuxt-content/main.png date: 2020-07-02 authors:

@1242035
1242035 / queue-main.service
Created September 30, 2017 13:29 — forked from p34eu/queue-main.service
Laravel queue worker using systemd
# Laravel queue worker using systemd
# ----------------------------------
#
# /lib/systemd/system/queue-main.service
#
# run this command to enable service:
# systemctl enable queue-main.service
[Unit]
Description=Laravel queue worker
@TonyMooori
TonyMooori / TSP_ACO.py
Last active October 19, 2023 09:32
巡回セールスマン問題(TSP)を蟻コロニー最適化(ACO)を用いて解くプログラム
#coding:utf-8
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from scipy.spatial import distance as dis
"""
参考URL
[1] 蟻コロニー最適化 - Wikipedia https://ja.wikipedia.org/wiki/蟻コロニー最適化
[2] 任意の確率密度分布に従う乱数の生成(von Neumannの棄却法) | Pacocat's Life http://pacocat.com/?p=596