Skip to content

Instantly share code, notes, and snippets.

View Kazunari-h's full-sized avatar
🏠
Working from home

Kazunari Hirosawa Kazunari-h

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Access Counter</title>
</head>
<body>
<?php
$data = array();
$google_xml = simplexml_load_file('https://trends.google.co.jp/trends/hottrends/atom/feed?pn=p4');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>名前を表示するよ</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
</head>
<body>
<div class="wrapper">
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>form</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<style>
#nickname, #message, #image {
display: block;
if(strpos($img,'niconico')){
//ニコニコの動画の表示
$img = str_replace("www", "embed", $img);
}else if(strpos($img,'youtube')){
// youtube動画の表示
$img = str_replace("watch?v=", "/embed/", $img);
}
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="index.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
#!/bin/bash
set -e
# update homebrew formula
echo " + Updating Homebrew..."
brew update >/dev/null
#
# Check for carthage
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>タイマー処理</title>
</head>
<body>
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>〇〇な地図</title>
</head>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>都道府県のリスト</title>
</head>
<body>
@Kazunari-h
Kazunari-h / Dockerfile
Last active July 11, 2019 09:43
XAMPやMAMPを頼らず、自分のローカル開発環境を作る。
FROM php:7.2-fpm
RUN docker-php-ext-install pdo_mysql
COPY php.ini /usr/local/etc/php/