Here are the steps for getting a working Linux install for React Native:
- Install Java SDK
- Install KVM
sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
sudo adduser $USER libvirtd
1. Go to IDE "Help | Edit Custom VM options..." | |
2. Add -Drecreate.x11.input.method=true to a new line | |
3. Restart IDE | |
from (Jetbains issue)[https://youtrack.jetbrains.com/issue/IDEA-23472] |
"autoload": { | |
"files": [ | |
"helpers.php" | |
] | |
}, |
{{-- Define all our servers --}} | |
@servers(['staging' => '', 'production' => '']) | |
@setup | |
{{-- The timezone your servers run in --}} | |
$timezone = 'Europe/Amsterdam'; | |
{{-- The base path where your deployments are sitting --}} | |
$path = '/var/www/site.com/htdocs'; |
Here are the steps for getting a working Linux install for React Native:
sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
sudo adduser $USER libvirtd
<?php | |
use Swagger\Annotations as SWG; | |
/** | |
* @SWG\Swagger( | |
* basePath="/v1", | |
* host="api.local", | |
* schemes={"http"}, | |
* produces={"application/json"}, |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
<?php | |
if (!function_exists('array_group_by')) { | |
/** | |
* Groups an array by a given key. | |
* | |
* Groups an array into arrays by a given key, or set of keys, shared between all array members. | |
* | |
* Based on {@author Jake Zatecky}'s {@link https://github.com/jakezatecky/array_group_by array_group_by()} function. | |
* This variant allows $key to be closures. |
<?php | |
include_once 'google-api-php-client/vendor/autoload.php'; | |
$client = new Google_Client(); | |
$application_creds = 'service-account-credentials.json'; | |
$credentials_file = file_exists($application_creds) ? $application_creds : false; | |
define("SCOPE",Google_Service_Calendar::CALENDAR); | |
define("APP_NAME","Google Calendar API PHP"); |
https://www.axllent.org/docs/view/nodejs-service-with-systemd/ |
IE6 Only | |
================== | |
_selector {...} | |
IE6 & IE7 | |
================== | |
*html or { _property: } | |
IE7 Only | |
================== |