UPDATE `NEXUS 5`
SET `VERSION`='5.0.1', `BUILD`='LRX22C', `RECOVERY`='CUSTOM', `ROOTED`=1
WHERE `VERSION`='5.0' && `BUILD`='LRX21O' && `RECOVERY`='CUSTOM' && `ROOTED`=1
&& `WANNA_KEEP_USERDATA`=1;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint node:true */ | |
'use strict'; | |
/* | |
What happens if there's no server listening when we do the request? | |
- win32: socket.on('timeout' fires and req.abort() fires req.on('error', e) with e.code === 'ECONNRESET' | |
- else: req.on('error', e) fires imediately with e.code === 'ECONNREFUSED' | |
*/ | |
var http = require('http'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//jshint node:true | |
'use strict'; | |
var gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var uglify = require('gulp-uglify'); | |
var gulpIf = require('gulp-if'); | |
var express = require('express'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
memsql: | |
image: 'memsql/cluster-in-a-box' | |
ports: | |
- 3306:3306 | |
- 8080:8080 | |
environment: | |
LICENSE_KEY: ${LICENSE_KEY} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A deployment ensures pod(s) are restarted on failure | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: memsql | |
spec: | |
replicas: 1 # only create one pod (container) | |
selector: | |
matchLabels: | |
app: memsql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE hellomemsql; | |
USE hellomemsql; | |
CREATE TABLE test ( | |
message text NOT NULL | |
); | |
INSERT INTO test (message) VALUES ('this is a sample message'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "generic/ubuntu1904" | |
# set the provider | |
config.vm.provider "virtualbox" | |
# configure the provider | |
config.vm.provider "virtualbox" do |v| | |
v.cpus = 4 | |
v.memory = 4096 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: myapp | |
labels: | |
app: myapp | |
spec: | |
replicas: 3 | |
template: | |
metadata: |
OlderNewer