Skip to content

Instantly share code, notes, and snippets.

@b3kt
b3kt / setting-up-vscode-java.md
Last active September 21, 2020 00:48
Setting Up VSCode for Java Development

Setting Up VSCode for Java Development

Download

  1. Download VSCode 1.49 installer from VSCode download page .
  2. Open the installer file then follow the installation steps.

Required Extension

Go to tab extension explorer by press ctrl + shif + x. then search and install following extensions:

@b3kt
b3kt / static.php
Created April 25, 2020 02:25 — forked from ezimuel/static.php
Swoole HTTP static file server example
<?php
// Simple HTTP static file server using Swoole
$host = $argv[1] ?? '127.0.0.1';
$port = $argv[2] ?? 9501;
$http = new swoole_http_server($host, $port);
// The usage of enable_static_handler seems to produce errors
// $http->set([