Categories
Mastering Development

Trying to build vue component library using rollup and vueJs 3

I am trying to create a vue component library using rollup and vuejs. It worked with vue2 but was unable to parse css with vue3. I have upgraded the dependency in package.json package.json { "name": "vue2tslibrary", "version": "0.1.59", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "build:js": "rimraf dist && rollup -c […]

Categories
User Help

Testing write disk write speeds, understanding dd

So I have a Linux OS that I built with Petalinux for a Microzed board. The board is booting from a MicroSD card. The C application I have written is collecting data at a high rate. I’m collecting that data and writing it to file, for now. The data is a simple array, each array […]

Categories
Linux Mastering Development

Tar exclude parameter in bash script not working

I got a tar command line that works great straight in the shell. tar –exclude=out/pictures/\*.{jpg,gif,png,jpeg} –exclude=tmp/\*.{txt,php} –exclude=log/\*.{log,sql} -cvf /backups/mydomain.tar -C /var/www/vhosts/mydomain.com/httpdocs content As soon as I put this command in a bash script and execute, it ignores the excludes parameters. I tried some various syntax like: tar –exclude="out/pictures/\*.{jpg,gif,png,jpeg}" -cvf /backups/mydomain.tar -C /var/www/vhosts/mydomain.com/httpdocs content tar –exclude=’out/pictures/\*.{jpg,gif,png,jpeg}’ […]

Categories
User Help

Program/Website that converts multiple images into 1 .ICO file [closed]

Is there a program/website that allows you to generate a .ico file by importing images for all of the specific sizes in an .ico file (16×16 , 32×32 , … 512×512, 1024×1024, etc..) instead of importing one image and having it convert a single image? This app must be able to convert SVG, PNG, JPG, […]

Categories
Mastering Development

Capitalise part of a string in javascript [closed]

I am trying to split a string and make part of the string capitalised. however the first letter of the first word must stay lowercase. Ideally a regex that would split the string and know to capitalise the rest of that word, before splitting the string for the next word. for example: let a = […]

Categories
Apple User Help

Mac File Upload Dialog Disables Allowed Files

So a few of my mac users are having an issue where when using Mac Safari or Chrome (latest versions) when they try to use our upload features then in some cases allowed files such as pdf, xls, png, etc display as gray and are disabled not allowing them to upload. When I try to […]

Categories
Mastering Development

Uploading Files Using php and show as a webpage with help of msql and htaccess

I have 3 simple files index.php, upload.php, test123.php and I want to upload the JPG, JPEG, PNG, GIF, & PDF to this directory test123.php/$file-id with the help of my sql and htaccess. But i have no idea about syntax. For better understanding see the video Here is my code index.php <!DOCTYPE html> <html> <head> <title>Upload […]

Categories
User Help

Windows 10 I can’t right click on some documents (.txt , .html, .docx, .png…) [closed]

When I right click on some documents like ".txt, .html, .docx, .png", first of all the mouse pointer turns into spinning blue circle for a few seconds. Then, if I am on the dekstop, at first, despktop apps disappear for a second and after they becomes visible on desktop, same things happen to the apps […]

Categories
Mastering Development

SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘_token’ in ‘field list’ (SQL: insert into `products`

This Code I got from the internet. I copy and paste it Run. when I try to insert product, this error comes. How to fix it………………………………………………………………………………………. In Chrome, SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘_token’ in ‘field list’ (SQL: insert into `products` (`_token`, `title`, `product_code`, `description`, `image`) values (c7cye8TIyVIIQytZrY5fKjPmGzytoMsKPHNMY6US, efdfs, 243423, sdfsadfsd, C:\xampp\tmp\phpA0FA.tmp)) In […]

Categories
Linux Mastering Development Ubuntu

Bulk Quality Conversion of Images (ie Compression)

├── ~/ │ ├── content/ │ │ ├── image01.jpg │ │ ├── image02.png │ │ ├── image03.bmp │ │ ├── text-file.txt │ │ ├── video.mp4 │ └── … └── … Let’s say I want to compress all images in my content/ directory utilizing ImageMagick’s standard -quality argument, with defualt settings. To overwrite and replace the […]