The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources:
The discord.js interactions PR has been merged, and d.js master (v13 dev) now has proper support for slash commands!
Official resources:
<?php | |
// Create a new subscription | |
$user = User::find(1); | |
$user->newSubscription('main', 'monthly') | |
->trialDays(10) | |
->withCoupon('MADRID2019') | |
->create(); |
Shader "Standard-DoubleSided" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1,1,1,1) | |
_MainTex("Albedo", 2D) = "white" {} | |
_Cutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5 | |
_Glossiness("Smoothness", Range(0.0, 1.0)) = 0.5 |
const colours = { | |
normal: '#A8A77A', | |
fire: '#EE8130', | |
water: '#6390F0', | |
electric: '#F7D02C', | |
grass: '#7AC74C', | |
ice: '#96D9D6', | |
fighting: '#C22E28', | |
poison: '#A33EA1', | |
ground: '#E2BF65', |
/* | |
OTA update over HTTPS | |
As an example, we download and install ESP8266Basic firmware from github. | |
Requires latest git version of the core (November 17, 2015) | |
Created by Ivan Grokhotkov, 2015. | |
This example is in public domain. | |
*/ |
function JSON_to_URLEncoded(element,key,list){ | |
var list = list || []; | |
if(typeof(element)=='object'){ | |
for (var idx in element) | |
JSON_to_URLEncoded(element[idx],key?key+'['+idx+']':idx,list); | |
} else { | |
list.push(key+'='+encodeURIComponent(element)); | |
} | |
return list.join('&'); | |
} |