type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| /* | |
| * Copyright 2015-2016 Blue Lotus Software, LLC. | |
| * | |
| * 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 |
| import com.sun.jersey.api.client.Client; | |
| import com.sun.jersey.api.client.ClientResponse; | |
| import com.sun.jersey.api.client.WebResource; | |
| import com.sun.jersey.api.client.config.ClientConfig; | |
| import com.sun.jersey.api.client.config.DefaultClientConfig; | |
| import com.sun.jersey.core.header.FormDataContentDisposition; | |
| import com.sun.jersey.multipart.FormDataMultiPart; | |
| import com.sun.jersey.multipart.MultiPart; | |
| import com.sun.jersey.multipart.file.FileDataBodyPart; | |
| import org.json.JSONObject; |
| /* | |
| Copyright (c) 2015-2025 Alessandro Diaferia | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| #!/usr/bin/env bash | |
| # This script requires: | |
| # - that the directory $HOME/.mpv exist | |
| # - that the program socat be installed | |
| # - that you start mpv with the unix socket feature pointing at that directory | |
| # I recommend an alias in your .bashrc or equivalent file: | |
| # alias mpv="mpv --input-unix-socket=$HOME/.mpv/socket" | |
| socket="$HOME/.mpv/socket" |
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swedish keymap |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| brew remove mysql | |
| brew cleanup | |
| launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist | |
| rm ~/Library/LaunchAgents/com.mysql.mysqld.plist | |
| sudo rm -rf /usr/local/var/mysql |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |