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
(() => { | |
try { | |
// Mark all objectives as completed | |
const objectiveCount = Number(SCORM2004_CallGetValue('cmi.objectives._count')); | |
if (objectiveCount > 0) console.log(`Completing ${objectiveCount} objectives`); | |
for (var i = 0; i < objectiveCount; i++) { | |
const objectiveId = SCORM2004_CallGetValue('cmi.objectives.' + i + '.id'); | |
SCORM2004_SetObjectiveStatus(objectiveId, LESSON_STATUS_PASSED); |
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
# 1. Make sure the Microsoft App Installer is installed: | |
# https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1 | |
# 2. Edit the list of apps to install. | |
# 3. Run this script as administrator. | |
Write-Output "Installing Apps" | |
$apps = @( | |
@{name = "7zip.7zip" }, | |
@{name = "Adobe.Acrobat.Reader.64-bit" }, | |
@{name = "Microsoft.Office" }, |
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 | |
# SharkServers Management Script | |
# This script provides utilities for managing the SharkServers application environment. | |
set -e | |
set -o pipefail | |
# Function to display the help message | |
function help_message() { | |
echo -e "\033[1mUSAGE:\033[0m" |
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
alert(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
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
float pierwsza, druga, trzecia, wynik, srednia; | |
cout << "Podaj pierwsza liczbe: " << endl; | |
cin >> pierwsza; |
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 axios from "axios"; | |
import LocalStorageService from "./services/storage/localstorageservice"; | |
import router from "./router/router"; | |
// LocalstorageService | |
const localStorageService = LocalStorageService.getService(); | |
// Add a request interceptor | |
axios.interceptors.request.use( | |
config => { |
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
def main(): | |
oceny = [] | |
ile_ocen = int(input("Ile ocen: ")) | |
for i in range(0, ile_ocen): | |
ocena = int(input("Podaj ocene: ")) | |
if ocena > 6 or ocena <= 0: | |
raise Exception('Ocena nie moze byc wieksza niz 6 lub mniejsza lub rowna 0') |
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
#include <iostream> | |
using namespace std; | |
// zadanie 1.34 - b | |
long int b_34(int n) | |
{ | |
if (n == 1) return 2; | |
return 2*b_34(n-1); | |
} |