Skip to content

Instantly share code, notes, and snippets.

View fobos531's full-sized avatar

Jakov Glavina fobos531

View GitHub Profile
023-09-29 16:44:23.921 15656-15656 CameraView com.uxdotapp.pureshop.dev I Configuring Camera Device...
2023-09-29 16:44:23.922 15656-15656 CameraSession com.uxdotapp.pureshop.dev I Setting Format (fps: null | videoStabilization: null | hdr: null | lowLightBoost: null)...
2023-09-29 16:44:23.922 15656-15656 CameraSession com.uxdotapp.pureshop.dev I Setting isActive: false (isRunning: false)
2023-09-29 16:44:23.931 15656-15656 CameraSession com.uxdotapp.pureshop.dev I Setting isActive: true (isRunning: false)
2023-09-29 16:44:23.932 15656-15656 PreviewView com.uxdotapp.pureshop.dev D onMeasure(1080, 2116)
2023-09-29 16:44:23.932 15656-15656 PreviewView com.uxdotapp.pureshop.dev D coverSize :: 1920x1080 (0.5625), 1080x2116 (0.5103969754253308)
2023-09-29 16:44:23.932 15656-15656 PreviewView com.uxdotapp.pureshop.dev D Fitted dimensions set: 1190x2116
2
VisionCamera detected 2 devices:
2023-09-29 16:28:45.499 12064-12303 ReactNativeJS com.uxdotapp.pureshop.dev I [
{
"formats": [],
"sensorOrientation": "landscape-right",
"hardwareLevel": "full",
"maxZoom": 8,
"minZoom": 1,
"supportsLowLightBoost": false,
2023-09-29 14:28:20.633 2703-2740 pp.pureshop.de com.uxdotapp.pureshop.dev I Background concurrent copying GC freed 510474(20MB) AllocSpace objects, 62(3024KB) LOS objects, 41% free, 33MB/57MB, paused 132us total 304.155ms
2023-09-29 14:28:21.584 2703-3059 ReactNativeJS com.uxdotapp.pureshop.dev I Record
2023-09-29 14:28:21.609 2703-2703 ForceDarkHelper com.uxdotapp.pureshop.dev D updateByCheckExcludeList: pkg: com.uxdotapp.pureshop.dev activity: com.uxdotapp.pureshop.dev.MainActivity@15841b0
2023-09-29 14:28:21.610 2703-2703 ForceDarkHelper com.uxdotapp.pureshop.dev D updateByCheckExcludeList: pkg: com.uxdotapp.pureshop.dev activity: com.uxdotapp.pureshop.dev.MainActivity@15841b0
2023-09-29 14:28:21.642 2703-3337 SurfaceUtils com.uxdotapp.pureshop.dev D connecting to surface 0x79fba4b010, reason connectToSurface
2023-09-29 14:28:21.642 2703-3337 MediaCodec com.uxdotapp.pureshop.d
import React, { useRef, useState, useEffect } from 'react';
import { View, Text, TouchableOpacity, StyleSheet, Pressable } from 'react-native';
import { RNCamera } from 'react-native-camera';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import { StackNavigationProp } from '@react-navigation/stack';
import { useIsFocused } from '@react-navigation/native';
import LinearGradient from 'react-native-linear-gradient';
import { useReactiveVar } from '@apollo/client';
import ModalContainer from '@components/create-story/CreateModal';
{
"Description": "Template used to transcode story videos and generate corresponding thumbnails",
"Queue": "arn:aws:mediaconvert:us-east-1:767697632458:queues/Default",
"Name": "StoryVideoTemplate",
"Settings": {
"TimecodeConfig": {
"Source": "ZEROBASED"
},
"OutputGroups": [
{
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.foi.nwtis.jglavina.modul_4_2.zrna;
import jakarta.enterprise.context.SessionScoped;
import jakarta.faces.context.FacesContext;
import jakarta.inject.Inject;
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>
#include <iostream>
#define V 5 // pet verteksa
using namespace std;
int roditelj[V];
int pronadji(int i) { //najdi krajnjeg roditelja cvora
while(roditelj[i] != i) {
i = roditelj[i];
}
# 2a) U SAGE-u nacrtajte graf funkcije h na [0, 4] × [0, 4].
def h(x,y):
return float((2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2)))
P = plot3d(h,(0,4),(0,4), plot_points=40)
P.show()
#2b Pomocu colormaps funkcije nacrtajte graf funkcije h u crnobijelim bojama
def h(x,y):
return float((2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2)))
cm=colormaps.gray
def h(x,y):
return (2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2))
cm=colormaps.autumn
P = plot3d(h,(0,4),(0,4), color=(h,cm))
P.show()