sudo mkdir /private/tmp
sudo chmod 1777 /private/tmp
xcrun
xcrun simctl list devices //to list all simulators
xcrun simctl delete // to delete specific device
### Flutter Generated | |
# Miscellaneous | |
*.class | |
*.lock | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ |
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
// Following code is a modified version of that found at https://blog.cloudflare.com/dronedeploy-and-cloudflare-workers/ | |
/** | |
* Fetch and log a request | |
* @param {Request} request | |
*/ |
This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.
The system used for this tutorial was:
$ lsb_release -idrc
Distributor ID: Ubuntu
import android.annotation.SuppressLint | |
import android.os.Parcelable | |
import kotlinx.android.parcel.Parcelize | |
@SuppressLint("ParcelCreator") // IntelliJ Issue https://youtrack.jetbrains.com/issue/KT-19300 | |
@Parcelize | |
data class Movie(val title: String) : Parcelable |
This guide likely applies to other models and, potentially, even laptops from other OEMs that have NVME drives. However, I've only tested this on my Dell XPS 15 (9560) with the OEM Windows installation from the Signature Edition model.
Switching from RAID to AHCI is significantly simpler than switching from AHCI to RAID. All that's needed is a successful boot to Safe Mode.
msconfig.exe
or open an admin cmd/PowerShell window and run:using System.Runtime.CompilerServices; | |
[assembly: InternalsVisibleTo("StandardSample.Tests")] |
#!/bin/bash | |
# Copyright © 2017 Google Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
Create file /etc/systemd/system/docker-compose@.service
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
#!/usr/bin/env bash | |
service=$1 | |
if [ "`uname`" == "Darwin" ] && ! [ -x "$(command -v chrome-cli)" ]; then | |
brew install chrome-cli | |
fi | |
docker-compose kill $service | |
docker-compose rm -f $service |