- XAMPP for Windows: https://www.apachefriends.org/download.html
- Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019
If the file C:\xampp\php\ext\php_xdebug.dll
already exists, you can skip the download.
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using Rhino; | |
using Rhino.Geometry; | |
using Grasshopper; | |
using Grasshopper.Kernel; | |
using Grasshopper.Kernel.Data; |
If the file C:\xampp\php\ext\php_xdebug.dll
already exists, you can skip the download.
You can use this script to bypass the bans on Telegram API by different hosts. Simply send the request to this script instead of the Telegram Bot API after deploying it as a web app and allowing anonymous access.
It accepts bot GET and POST requests with the following params
name | type | Description |
---|
<?php | |
//set up pods::find parameters to limit to 5 items | |
$param = array( | |
'limit' => 5, | |
); | |
//create pods object | |
$pods = pods('pod_name', $params ); | |
//check that total values (given limit) returned is greater than zero | |
if ( $pods->total() > 0 ) { |
if( ! app()->runningInConsole()) { | |
// Your code... | |
} |
FROM liararepo/laravel-platform:frontend | |
FROM liararepo/laravel-platform:backend | |
RUN chgrp -R www-data /var/www/html/lib/vendor | |
RUN chmod -R ug+rwx /var/www/html/lib/vendor |
FROM liararepo/node-platform | |
RUN apt-get update \ | |
# See https://crbug.com/795759 | |
&& apt-get install -yq libgconf-2-4 \ | |
# Install latest chrome dev package, which installs the necessary libs to | |
# make the bundled version of Chromium that Puppeteer installs work. | |
&& apt-get install -y wget --no-install-recommends \ | |
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | |
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ |
import { Directive } from '@angular/core'; | |
@Directive({ | |
selector: 'video' | |
}) | |
export class AutoplayVideoDirective { } |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use File; | |
class MakeViewCommand extends Command | |
{ | |
/** |
<?php | |
$url = 'http://usr:[email protected]:81/mypath/myfile.html?a=b&b[]=2&b[]=3#myfragment'; | |
if ($url === unparse_url(parse_url($url))) { | |
print "YES, they match!\n"; | |
} | |
function unparse_url($parsed_url) { | |
$scheme = isset($parsed_url['scheme']) ? $parsed_url['scheme'] . '://' : ''; | |
$host = isset($parsed_url['host']) ? $parsed_url['host'] : ''; |