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
#!/bin/bash | |
SUPERSET_DIR=~/superset | |
sudo apt-get update -y # update package | |
sudo apt-get install build-essential libssl-dev libffi-dev python-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev -y # install package | |
sudo apt-get install python3-pip python3.10-venv -y # install package | |
[ ! -d $SUPERSET_DIR ] && mkdir $SUPERSET_DIR |
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: | |
nodered: | |
image: nodered/node-red-docker:0.17.5 | |
restart: always | |
environment: | |
- TZ=America/Montreal | |
logging: | |
driver: syslog | |
options: |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"time" | |
"golang.org/x/net/context" | |
) |
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
package ciphers | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/sha512" | |
"crypto/x509" | |
"encoding/pem" | |
"log" | |
) |
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
import { InjectQueue } from '@nestjs/bull'; | |
import { Injectable } from '@nestjs/common'; | |
@Injectable() | |
export class ExampleService { | |
constructor( | |
@InjectQueue('simpool') private readonly exampleQueue: Queue | |
) {} |
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
if (Score > 80) { | |
VirtualMoneyPrice = 1000; | |
} else if (Score > 40) { | |
VirtualMoneyPrice = 400; | |
} else if (Score > 30) { | |
VirtualMoneyPrice = 100; | |
} |
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
if (Score > 80) { | |
VirtualMoneyPrice = 1000; | |
} | |
if (Score > 40) { | |
VirtualMoneyPrice = 400; | |
} | |
if (Score > 30) { | |
VirtualMoneyPrice = 100; | |
} |
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
double Length, Width, Height; |
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
double l, w, h; |
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
// Author: Achmad Irianto Eka Putra | |
// Since : 22/01/18 | |
// or use JavaDoc | |
/** | |
* A class to get information of application | |
* @author Achmad Irianto Eka Putra (ryanbekhen@gmail.com) | |
* @version 1.0 | |
* @since 22/01/18 |
NewerOlder