Skip to content

Instantly share code, notes, and snippets.

@cernii
cernii / index.html
Created November 11, 2017 19:03 — forked from omimo/index.html
<html>
<head>
<title>
[Visualizing Movement Data with D3.js]
</title>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://omid.al/Mova-Viz/MovaViz-v0.1.2.js"></script>
<style>
* {
box-sizing: border-box
@cernii
cernii / ArabicToRomanNumbersConverter.js
Last active August 3, 2022 15:11
FreeCodeCamp JavaScript Algorithms and Data Structures
const arabic = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1];
const roman = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I'];
const lookupTable = {M̅:1000000,C̅M̅:900000,D̅:500000,C̅D̅:400000,C̅:100000,X̅C̅:90000,L̅:50000,X̅L̅:40000,X̅:10000,MX̅:9000,V̅:5000,MV̅:4000,M:1000,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1};
function convertToRoman(num) {
let result = '';
for (let i = 0; i < arabic.length; i++) {
while (arabic[i] <= num) {
result += roman[i];
num -= arabic[i];
@cernii
cernii / GSP345
Last active December 4, 2022 10:07
Automating Infrastructure on Google Cloud with Terraform: Lab - GSP345
######################################################################################
####### Automating Infrastructure on Google Cloud with Terraform: Lab - GSP345 #######
######################################################################################
gcloud auth list
gcloud config list project
====================== Task 1 : Create the configuration files =====================
Make the empty files and directories in Cloud Shell or the Cloud Shell Editor.
------------------------------------------------------------------------------------
#! /bin/bash
apt-get update
apt-get install -y apache2 php
apt-get install -y wget
cd /var/www/html
rm index.html -f
rm index.php -f
wget https://storage.googleapis.com/cloud-training/gcpnet/ilb/index.php
META_REGION_STRING=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor: Google")
@cernii
cernii / Linux.md
Last active August 14, 2023 12:40
Linux Cheat Sheet v.0.0.2
@cernii
cernii / TalentBuilds.txt
Last active December 23, 2023 13:52
DISC:\Users\USER_NAME\Documents\Heroes of the Storm\Accounts\nnnnnnnnn\TalentBuilds.txt
Kaelthas=Build1|04010101010208|04040101010208|""|86D5ADE0AD03FB
Varian=Build2|01010102010408|04040202020408|""|AA275A0AF3C560
Malfurion=Build1|01010401010201|02000000000000|""|7781E303AB0A91
Amazon=Build1|""|""|""|9060F0E64787D1
Lucio=Build2|02020202040202|02020202040202|""|F6500D17E7C2ED
Probius=Build1|02020401040101|""|""|66B18B01F8404F
Butcher=Build2|04020402020202|02020201010404|""|DF98C6D64368F0
Rexxar=Build2|01020102010402|02080401020401|""|BA923C83C84BDF
Auriel=Build1|04040102010108|01040202010202|""|A04BEEE3A385CF
Alarak=Build2|02040401020102|04020202020401|01010101010102|F985B31D7FABEB
@cernii
cernii / Secure Linux.md
Last active December 5, 2022 20:33
Normal Practice
@cernii
cernii / Tools - Ready VS Custom.md
Created July 15, 2023 17:05
Tools - Ready VS Custom.md

Tools - Ready VS Custom

tell me please pros and cons applying ready out of box testing tools or solutions vs custom created special for the client needs

ChatGPT:

Certainly! Let's discuss the pros and cons of using ready out-of-the-box testing tools or solutions versus custom-created ones tailored to the client's needs.

Ready Out-of-the-Box Testing Tools or Solutions