a shortcut to run Eclipse on Ubuntu Unity and to register Eclipse with the left Launcher
This file contains hidden or 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 | |
| if (!function_exists('interface_exists')) { | |
| die('PHP version too old'); | |
| } | |
| $throwables = listThrowableClasses(); | |
| $throwablesPerParent = splitInParents($throwables); | |
| printTree($throwablesPerParent); |
{
"phpformatter.composer": true,
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"editor.multiCursorModifier": "alt",
"editor.snippetSuggestions": "top",
"editor.formatOnPaste": true,
"window.menuBarVisibility": "toggle",
"window.zoomLevel": 0,
sudo chown -R {your current user}:www-data storage
sudo chown -R {your current user}:www-data bootstrap/cache
example:
sudo chown -R ngockhuong:www-data storage
sudo chown -R ngockhuong:www-data bootstrap/cache
For NTFS partitions, use the permissions option in fstab.
First unmount the ntfs partition.
Identify your partition UUID with blkid
sudo blkid
Then edit /etc/fstab
# Graphical
gksu gedit /etc/fstab
sudo nano /etc/apache2/sites-available/laravel.conf
Then copy and paste the content below into the file and save it:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/laravel/public
ServerName example.com
$ getfacl directory
Open and edit file 'ckfinder/config.php':
require dirname(__DIR__, 3) .'/vendor/autoload.php';
$app = require dirname(__DIR__, 3) . '/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$kernel->handle($request = Illuminate\Http\Request::capture());
$config['authentication'] = function () {
if (auth()->guest()) {
Tự động thêm thẻ đóng cho HTML, cụ thể nó có những tính năng như sau:
*Tự động thêm thẻ đóng khi bạn gõ dấu > của thẻ mở.
*Sau khi chèn thẻ đóng, con trỏ chuột nằm giữa thẻ mở và thẻ đóng, thuận tiện cho việc add thêm content vào đó.
*Thiết lập danh sách các thẻ mà sẽ không được tự động đóng.
*Tự động đóng cho những thẻ self-closing.
*More...