This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const AWS = require('aws-sdk'); | |
const https = require('https'); | |
const CONFIG = { | |
groupId: process.env.SECURITY_GROUP_ID || '', | |
protocol: process.env.PROTOCOL || 'tcp', | |
port: process.env.PORT || 80, | |
s3bucket: process.env.S3BUCKET || '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
var escapes = { | |
'&': '&', | |
'<': '<', | |
'>': '>', | |
'"': '"', | |
"'": ''' | |
}, | |
escapeRegexp = /[&<>"']/g, | |
hasEscapeRegexp = new RegExp(escapeRegexp.source), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(k,c,d){function e(a,l){b.innerHTML=f(l)||"!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";b.style.fontFamily='"'+f(a).replace(g,'"')+'",'+d;c.body.appendChild(b);var e=1<b.offsetWidth;c.body.removeChild(b);return e}function f(a){if(null==a)return"";if("string"==typeof a)return a;if(Array.isArray(a))return a.map(f)+"";var b=a+"";return"0"==b&&1/a==-(1/0)?"-0":b}var g=/"/g;d=d.replace(g,'"');var h=c.createElement("style");c.head.appendChild(h); | |
h.sheet.insertRule("@font-face{font-family:"+d+';src:url("data:font/opentype;base64,T1RUTwAKAIAAAwAgQ0ZGIDTeCDQAACFkAAAZPERTSUcAAAABAABKqAAAAAhPUy8yAF+xmwAAARAAAABgY21hcCRDbtEAAAdcAAAZ6GhlYWQFl9tDAAAArAAAADZoaGVhB1oD7wAAAOQAAAAkaG10eAPoAHwAADqgAAAQBm1heHAIAVAAAAABCAAAAAZuYW1lIE0HkgAAAXAAAAXrcG9zdP+4ADIAACFEAAAAIAABAAAAAQuFfcPHtV8PPPUAAwPoAAAAANFMRfMAAAAA0UxF8wB8/4gDbANwAAAAAwACAAAAAAAAAAEAAANw/4gAAAPoAHwAfANsAAEAAAAAAAAAAAAAAAAAAAACAABQAAgBAAAAAwPoAZAABQAAAooCWAAAAEsCigJYAAABXgAyANwAAAAAAAAAAAAAAAD3/67/+9///w/gA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$array1 = range(50000, 200000); | |
$array2 = range(0, 100000); | |
$array3 = range(20000, 120000); | |
$array4 = range(130000, 230000); | |
$array5 = range(150000, 250000); | |
shuffle($array1); | |
shuffle($array2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$array1 = range(50000, 200000); | |
$array2 = range(0, 100000); | |
$array3 = range(150000, 250000); | |
shuffle($array1); | |
shuffle($array2); | |
shuffle($array3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$array1 = range(50000, 200000); | |
$array2 = range(0, 100000); | |
shuffle($array1); | |
shuffle($array2); | |
$timeStart = microtime(true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://unpkg.com/vue@2.0.7/dist/vue.min.js"></script> | |
<style> | |
.country-list-box { | |
position: absolute; | |
border: 1px solid #eee; | |
} | |
.country-list { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" | |
integrity="sha256-/SIrNqv8h6QGKDuNoLGA4iret+kyesCkHGzVUUV0shc=" | |
crossorigin="anonymous"></script> | |
<style> | |
.country-list-box { | |
position: absolute; | |
border: 1px solid #eee; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('X-FRAME-OPTIONS: DENY'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$from = str_replace(PHP_EOL, '', $from); | |
mb_language('ja'); | |
mb_internal_encoding('UTF-8'); | |
mb_send_mail('example@example.com', 'Title', 'Body',"From: {$from}"); |
NewerOlder