Categories
Mastering Development

How to get files from created directory in ionic? using get() method and show it on screen

I want to display the files in created directory. The files may be any format like audio, video, image etc. This is How I able to create a directory and remove directory. Home.ts createDirectory(){ this.file.createDir(this.file.externalRootDirectory, “DirectoryFile”, false ) .then((directoryEntry) =>{ alert(“directory created”+ directoryEntry.fullPath); } ).catch((error)=>{ alert(JSON.stringify(error)); }) } removeDirectory(){ this.file.removeDir(this.file.externalRootDirectory, “DirectoryFile”) .then((resultData) =>{ if(resultData.success){ alert(“directory […]

Categories
Linux Mastering Development Ubuntu

Annoying brightness thing on Dell Laptop

Ok, so I’m probably being picky here… But this is driving me crazy. I have a Dell Inspiron 3442 laptop, it comes with both an Intel video card and a Nvidia 3D card. 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) … 08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / […]

Categories
Linux Mastering Development Ubuntu

Annoying brightness thing on Dell Laptop

Ok, so I’m probably being picky here… But this is driving me crazy. I have a Dell Inspiron 3442 laptop, it comes with both an Intel video card and a Nvidia 3D card. 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) … 08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / […]

Categories
Apple User Help

Can smart folders use relative paths?

I’m a video editor. I’ve found that it’s often useful to keep a smart folder at the root level of external drives which searches the drive for media added within the last day. It’s a convenient way to quickly locate something that I probably just downloaded; a font, video, photo, vector graphic, or whatever. Today, […]

Categories
Ask English Speaking

that with verb after it

Why do we use the Verb without ‘s’ after ‘that’ in this case? I’ve met this one in discord’s description. Discord is the easiest way to communicate over voice, video, and text, whether you’re part of a school club, a nightly gaming group, a worldwide art community, or just a handful of friends that want […]

Categories
CMS Mastering Development Wordpress

Invalid Menu Items – The most interesting question

The question needs it so I captured the error.It is necessary so please watch it. https://youtu.be/lME3lY-kNbA if it doesnt open, please try this: https://www.youtube.com/watch?v=lME3lY-kNbA&feature=youtu.be I told the question on youtube video so I share only the code like what I said on video. I hear that video,video,video are you youtuber? no, it needed this […]

Categories
Mastering Development

Django uploading image in custom template

forms.py from django import forms from .models import VideoPost class PostForm(forms.ModelForm): class Meta: model = VideoPost fields = (‘category’, ‘title’, ‘slug’, ‘content’, ‘video’, ‘image’,) models.py class VideoPost(models.Model): category = models.ForeignKey(‘Category’, on_delete=models.CASCADE) title = models.CharField(max_length=100) slug = models.SlugField(max_length=100, unique = True) author = models.ForeignKey(User, on_delete=models.CASCADE) video = models.CharField(max_length=100, blank=True) content = RichTextUploadingField() image = models.ImageField(upload_to=’images’, null=True, […]

Categories
Linux Mastering Development Ubuntu

Skype alternative

My son is to follow his school lessons from the computor through a chat client. He is advised to use Skype for this. His teacher will be using Skype on Windows. What is the best option which would give all the features of Skype (audio, video, file transfer etc..)? My OS: Ubuntu 18.04.4

Categories
CMS Development Wordpress

WordPress night mode does not work for video

I am using this js for night mode. Everything works fine but uploaded video is inverted too. How can I fix it and uploaded video does not inverted into night mode or certain div? jQuery(document).ready(function($){ var sheet = window.document.styleSheets[0]; var begin_enabled = false; if(night_mode.auto_set == true) { var start_hour = parseInt(night_mode.start_time.substring(0,2)); var start_minute = parseInt(night_mode.start_time.substring(3,5)); […]

Categories
Development

Choosing a random line based of a “Good” or “Bad” input

So I wanted to make a small program that asks a simple question like Did you go to class today? and the user would enter in “No” or “Yes” (eventually I will be adding in synonyms for those words) Is there a way I can make a list of actions (such as opening a video […]