DROP PROCEDURE IF EXISTS sp_delete_users_till_date;
DELIMITER //
CREATE PROCEDURE sp_delete_users_till_date(location_id INT, till_date DATE)
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
/** | |
* Respond to the request | |
* adapted from https://github.com/xiaoyang-liu-cs/workers-proxy | |
* @param {Request} request | |
*/ | |
async function handleRequest(request) { |
// app-style.js | |
// adding <style></style> directly inside template will result in error or empty element which | |
// this component is trying to address | |
// this will allow you to dynamically insert css inside Vue template without the use of vue loader | |
// or if you do not want to use .vue extension at all | |
// however it doesnt really apply scope css (for now). | |
export default { | |
name: 'app-style', | |
data: function(){ | |
return { |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
notice: Wii U linux is not production ready! Proceed at your own risk. Written on 2/3/18
Quarktheawesome and rw-r-r_0644 have released an early version of Linux for Wii U!
The PowerPC side of the Wii U requires a custom linux kernel, which can be found here. The ARM side of the Wii U requires a custom fw.img file to load that kernel, which can be found here.
Once the kernel is up and running, the first repo is configured to automatically try to load programs from /dev/sda1
in an inserted usb. The first partition of an ext4 USB stick should contain a root filesystem for a linux distribution. See here for more information on a prebuilt PowerPC image
/** | |
* You may use this function with both 2 or 3 interval colors for your gradient. | |
* For example, you want to have a gradient between Bootstrap's danger-warning-success colors. | |
*/ | |
function colorGradient(fadeFraction, rgbColor1, rgbColor2, rgbColor3) { | |
var color1 = rgbColor1; | |
var color2 = rgbColor2; | |
var fade = fadeFraction; | |
// Do we have 3 colors for the gradient? Need to adjust the params. |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Cryptography; | |
namespace Rest.Authentication | |
{ | |
public class AwsAuthenticator : RestSharp.Authenticators.IAuthenticator | |
{ | |
public string AccessKeyId { get; } |
$ sudo perl -i -pe 's/disable_root: 1/disable_root: 0/' /etc/cloud/cloud.cfg | |
$ sudo perl -i -pe 's/#PermitRootLogin .*/PermitRootLogin without-password/' /etc/ssh/sshd_config | |
$ sudo perl -i -pe 's/.*(ssh-rsa .*)/\1/' /root/.ssh/authorized_keys | |
$ sudo /etc/init.d/sshd reload # optional command |
{ | |
"name": "my_vendor_name/my_package", | |
"description": "My Package Description", | |
"license": "GPL-3.0", | |
"autoload": { | |
"classmap": [ // search these directories for classes | |
"lib/" | |
] | |
}, | |
"repositories": { |
This process worked for me. I take no responsibility for any damage or loss incurred as a result of following or not following these steps or, for that matter, anything else you might do or not do.
- SVN is hosted at
svn.domain.com.au
. - SVN is accessible via
http
(other protocols should work). - GitLab is hosted at
git.domain.com.au
and: