I hereby claim:
- I am mopeneko on github.
- I am mopeneko (https://keybase.io/mopeneko) on keybase.
- I have a public key ASBJQgO3TMe2L-JwkhikT8HZwdb_sgZf6wf5GltpVhFGdQo
To claim this, I am signing this object:
<?php | |
// h2の上に広告コードを挿入する | |
function insert_adcode($the_content) { | |
// 固定ページではそのまま表示 | |
if (!is_single()) { | |
return $the_content; | |
} | |
$has_h2 = preg_match_all('/^<h2.*?>.+?<\/h2>$/im', $the_content, $h2_list, PREG_SET_ORDER); | |
<?php | |
// h2 のn番目以降に広告コードを挿入する | |
// m個飛ばし | |
function insert_adcode($the_content) { | |
$n = 2; | |
$m = 1; | |
// 固定ページではそのまま表示 | |
if (!is_single()) { | |
return $the_content; |
import ipaddress | |
import itertools | |
import requests | |
AUTHORIZATION_HEADER = "Bearer xxxxxx" | |
APP = "example.com" | |
def get_ips(url): | |
resp = requests.get(url).json() |
<IfModule mod_rewrite.c> | |
RedirectMatch permanent (\?|\?(.+)&)p=(\d+)(&.+) https://mope-blog.com/archives/$3$1$4 | |
</IfModule> |
<?php | |
// h2 のn番目に広告コードを挿入する | |
function insert_adcode($the_content) { | |
$n = 2; | |
// 固定ページではそのまま表示 | |
if (!is_single()) { | |
return $the_content; | |
} | |
package main | |
import ( | |
"io" | |
"log" | |
"net/http" | |
"text/template" | |
) | |
const ( |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Hello Bulma!</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css"> | |
<style> | |
.error-message { | |
visibility: hidden |
call plug#begin('~/.vim/plugged') | |
" Appearance | |
Plug 'vim-airline/vim-airline' | |
Plug 'arcticicestudio/nord-vim' | |
" Util | |
Plug 'preservim/nerdtree' | |
Plug 'tpope/vim-fugitive' | |
Plug 'jiangmiao/auto-pairs' |
version: "3.8" | |
services: | |
app: | |
image: requarks/wiki:2 | |
restart: always | |
depends_on: | |
- db | |
environment: | |
DB_TYPE: postgres |