Skip to content

Instantly share code, notes, and snippets.

View alexqhj's full-sized avatar

Alexander Hj alexqhj

View GitHub Profile
@alexqhj
alexqhj / changes.json
Created March 8, 2023 19:16
The description for this gist
{
"17-0105": {
"total_floors": {
"old": 3,
"new": 4
}
}
}
@alexqhj
alexqhj / NestedBoards.vue
Last active April 30, 2017 16:28
Vue Draggable
<template>
<draggable :list="children" v-if="children" :options="{ group: { name: parentId },
chosenClass: 'draggable--dragging',
handle: '.draggable__handle',
dataIdAttr: 'data-id',
}" @update="onUpdate" class="collapse" :id="'toggle-'+parentId">
<ul v-for="child in children" :data-id="child.id" class="draggable">
<li class="db-forum-board">
<span class="draggable__handle"><i class="fa fa-bars"></i></span>
<div class="db-forum-board__title">
@alexqhj
alexqhj / phpstorm-setup-ubuntu.md
Last active June 2, 2017 18:16
Setting up PhpStorm on Ubuntu

Installing PhpStorm

sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer
sudo apt-get install oracle-java9-set-default
cd ~/Downloads
wget https://download.jetbrains.com/webide/PhpStorm-2016.3.2.tar.gz // replace with latest version
tar -xvf PhpStorm-2016.3.2.tar.gz