Skip to content

Instantly share code, notes, and snippets.

View noritakaIzumi's full-sized avatar
😉

Noritaka IZUMI noritakaIzumi

😉
View GitHub Profile
@noritakaIzumi
noritakaIzumi / fileGetContents.php
Created November 29, 2020 23:29
ローカル環境の時だけ自己署名証明書のサイトへの file_get_contents を通す
<?php
$environment = 'local'; // prod, stg, local, etc...
function fileGetContents(String $url)
{
global $environment;
if ($environment == 'local') {
$options = array(
'ssl' => array(
@noritakaIzumi
noritakaIzumi / english.sql
Last active February 4, 2022 05:32
Translate-number SQL
select 1 as one;
select 2 as two;
select 3 as three;
select 4 as four;
select 5 as five;
select 6 as six;
select 7 as seven;
select 8 as eight;
select 9 as nine;
select 10 as ten;