Install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
{ | |
"name": "blog-service", | |
"version": "1.0.0", | |
"main": "server.js", | |
"scripts": { | |
"test": "jest", | |
"dev": "nodemon --watch \"src/\" --exec \"ts-node src/server.ts\" -e ts", | |
"build": "rm -r -f ./dist && tsc && cp package.json ./dist/package.json && cp .env ./dist/.env" | |
}, | |
"dependencies": { |
2020-02-11 21:33:37.361 26006-26036/com.cdnbye.cdnbye_example I/flutter: [Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories', Instance of 'StreamCategories'] | |
2020-02-11 21:33:48.394 26006-26036/com.cdnbye.cdnbye_example I/flutter: Original URL: http://tv.minhalista.me/live/rubenstest5000/rubenstest5001/3709 |
import sqlite3 | |
conn = sqlite3.connect('estudantes.db') | |
cursor = conn.cursor() | |
cursor.execute(''' | |
CREATE TABLE IF NOT EXISTS students( | |
UserID VARCHAR(20) NOT NULL, | |
username VARCHAR(60) NOT NULL, | |
firstname VARCHAR(60) NOT NULL, | |
email VARCHAR(60) NOT NULL, |
#!/bin/bash | |
#Backup_Directory_Locations | |
BACKUPROOT="/var/www/backups_diarios" | |
TSTAMP=$(date +"%d-%b-%Y-%H:%M") | |
S3BUCKET="approvedemailplatformsso-${domain}" | |
TSTAMP=$(date +"%d-%b-%Y-%H:%M") | |
zip -r /var/www/backups_diarios/$TSTAMP.html.zip /var/www/html/ | |
# Move file from server to your S3 bucket |
var TCP = process.binding("tcp_wrap").TCP; | |
var Buffer = process.binding("buffer").SlowBuffer; | |
var HTTPParser = process.binding("http_parser").HTTPParser; | |
function setupSocket(peer) { | |
function shutdownHandler(status, handle, req) { | |
// TODO: ensure we only shutdown once | |
if(status != 0) { | |
if(peer.onerror) { | |
var err = new Error("shutdown"); |
const axios = require('axios') | |
const qs = require('querystring') | |
... | |
const requestBody = { | |
name: 'Akexorcist', | |
age: '28', | |
position: 'Android Developer', | |
description: 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/', |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install
will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
public async getKeycloakUserByEmail(email: String): Promise<any> { | |
const config = { | |
headers: { | |
Authorization: 'Bearer '+ await this.getApplicationServiceToken(), | |
} | |
}; | |
return axios.get(`${this.BASE_URL}/auth/admin/realms/shallwe/users?email=${email}`, config) | |
} |