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 | |
global $wpdb; | |
$current_user = wp_get_current_user(); | |
$user_id = $current_user -> ID; | |
$auth0_id = get_user_meta($user_id, $wpdb -> prefix . 'auth0_id', true); | |
$serialized_profile = get_user_meta($user_id, $wpdb -> prefix . 'auth0_obj', 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
Date.prototype.getJpDay = function() { return ["日", "月", "火", "水", "木", "金", "土"][this.getDay()]; } |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UniRx; | |
using UnityEngine; | |
using UnityEngine.UI; | |
[RequireComponent (typeof(Text))] | |
public class Console : MonoBehaviour { |
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
server { | |
listen 80 default_server; | |
server_name localhost; | |
root /usr/share/nginx/html; | |
index index.html index.htm; | |
location ~* \.(?:manifest|appcache|html?|xml|json)$ { | |
expires -1; | |
# access_log logs/static.log; # I don't usually include a static log |
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
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
public class SetIncidenceSample : MonoBehaviour { | |
[SerializeField] | |
int monster1Incidence; |
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 equalizeAllElementsHight (elements) { | |
var allElementsHeights = []; | |
elements.forEach(function (e) { | |
allElementsHeights.push(e.offsetHeight); | |
}); | |
var maxHeight = Math.max.apply(null, allElementsHeights); | |
elements.forEach(function (e) { |