Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Friday, July 28, 2023

Ghostscript + Mfilemon

Linux tips =  

https://github.com/vinifmor/bauh

https://github.com/AppOutlet/AppOutlet

An alternative to GNOME Gnome-software and KDE Discovery!



Windows tips =

GOOD ----->

  • Install Mfilemon
  • Install Ghostscript
  • Create a new printer. Choose manual configuration. Pick the driver from ghostscript\lib\ghostpdf.inf
  • Create a new port for the printer, select "Multi file port", name it GSPDF: or whatever
  • Configure the newly created port as follows:
    • Output path = C:\autopdf
    • Filename pattern = %Y_%m_%d\file%i.pdf
    • User command (change Ghostscript path as needed) = "C:\Program Files\gs\gs9.53.3\bin\gswin64c.exe" @"C:\Program Files\mfilemon\conf\gspdf.conf" -sOutputFile="%f" -
    • Use pipe to send data to user command = yes
    • Hide process = yes
  • Print a sample page. You should get a PDF in C:\autopdf\year_month_day\file0001.pdf
USER COMMNAD ON NEW VERSION OF GS =
"C:\Program Files\gs\gs10.01.2\bin\gswin64c.exe" @"C:\Program Files\mfilemon\conf\gspdf.conf" -sOutputFile="%f" -

https://github.com/lomo74/mfilemon

https://support.farmerswife.com/support/solutions/articles/17000092051-installing-ghostscript-pdf-printer

Prerequisites

gs921w64.exe or gs921w32.exe downloaded from https://www.ghostscript.com/download/gsdnld.html

mfilemon-setup.exe downloaded from https://sourceforge.net/projects/mfilemon/

Note: If you download a Ghostscript version later than 9.21 that's fine - but you need to know what version it is in order to be able to set up "mfilemon" properly.

++


https://sourceforge.net/projects/thinvnc/




Tiny11

https://github.com/ntdevlabs/tiny11builder



https://www.reviewgeek.com/102893/is-plex-legal


SSH TUNNEL = 

https://my.kualo.com/knowledgebase/?kbcat=0&article=890

https://sshtunnel.readthedocs.io/en/latest/

https://github.com/mattykay/pytunneling

https://github.com/tobor88/CSharp-SSH-Tunnels

Tuesday, February 14, 2023

Calculate Linux

 uname -srm


eix firefox


sudo emerge firefox


++


♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣

Do you need encouragement while typing the best code ever?

Try this:


https://github.com/nifanfa/MOOS


Antix XFCE


https://www.howtogeek.com/867350/notepad-plus-plus-on-linux/


https://jellyfin.org/


https://en.wikipedia.org/wiki/Jellyfin


http://www.rohitab.com/apimonitor


https://blog.goranrakic.com/2011/04/midlver_za_licnu_kartu_na_gnulinuxu_naokolo_brze.html


https://github.com/frankmorgner/vsmartcard


https://www.elitesecurity.org/t474616-1


https://docs.strongswan.org/docs/5.9/howtos/smartcards.html


eUPRAVA na Linuxu ?


https://docs.citrix.com/en-us/linux-virtual-delivery-agent/current-release/configure/authentication/support-for-smart-cards.html











Lazarus-ide goodies:

const
  UTF8BOM: array[0..2] of Byte = ($EF, $BB, $BF);
var
  UTF8Str: UTF8String;
  FS: TFileStream;



begin

  UTF8Str := UTF8Encode(Memo3.Text);

//teka := ...;

  FS := TFileStream.Create(teka, fmCreate);

      try
        FS.WriteBuffer(UTF8BOM[0], SizeOf(UTF8BOM));
        FS.WriteBuffer(PAnsiChar(UTF8Str)^, Length(UTF8Str));
      finally
        FS.Free;
      end;


OpenDocument(teka);

end;




Friday, November 18, 2022

GRUB customizer

https://linuxconfig.org/how-to-install-grub-customizer-on-linux-all-major-distros 

https://itsfoss.com/install-grub-customizer-ubuntu/

https://www.supergrubdisk.org/








++

About DNS:

Click Start > All Programs > Accessories.

Right-click Command Prompt and choose Run as administrator.

When asked whether to allow Command Prompt to make changes to your computer, select Yes.

Note: If you are asked for an administrative login, you will need to contact your system administrator.

Type "ipconfig /flushdns" and press Enter.

Type "ipconfig /registerdns" and press Enter.

Type "ipconfig /release" and press Enter.

Type "ipconfig /renew" and press Enter.

Type "netsh winsock reset" and press Enter.

Restart the computer.

------

Try using the following commands:

ipconfig /flushdns

ipconfig /release

ipconfig /renew

net stop dnscache

net start dnscache

netsh int ip reset resetlog.txt

netsh winsock reset catalog

Otherwise, pingback with more details to help troubleshoot!

-------------

 ipconfig /displaydns

If you're referring to the ipconfig /flushdns command on a Windows machine, it clears everything* out of that machine's DNS resolver cache. In effect, the machine “forgets” what it's learned from recent DNS queries and will need to query a DNS server to resolve just about anything.

This is a very useful command when you're troubleshooting a DNS issue or making changes to records on a DNS server.

*In fact, this command doesn't necessarily clear everything out. Anything in the machine's local hosts file (located at C:\Windows\System32\drivers\etc\hosts) will remain in the resolver cache. You can confirm this by adding an entry to the hosts file, then running ipconfig /flushdns and ipconfig /displaydns back to back. The latter command lists everything in the resolver cache. As long as no other process slipped in a DNS query between those two commands, the output should include only what's in the file.

++


https://sladinikolacici.blog/2022/05/18/mrvicasta-pita-sa-malinama/


https://rayshobby.net/wordpress/learning-electronics-2-crystal-radio-and-extensions/




Monday, November 7, 2022

Python nasušni

 https://sourceforge.net/projects/pyscripter/




Do you need encouragement while typing the best code ever?

Try this:



PDF literatura samo za Vas:

Learning DevOps ~560 strana
~Terraform, Azure DevOps, Kubernetes and Jenkins

Cloud Security Handbook ~456 strana
~AWS, Azure, GCP

{ kontaktiraj me odmah ! }

++






Regata OS is a Brazilian Linux distribution based on openSUSE, focusing on desktop and gaming needs. Its main characteristics include a Regata OS store for installing applications and games, out-of-the-box integration with Google Drive, support for a gaming mode via the Vulkan graphics API, an extensive library of games in the Regata OS Game Access portal, support for configuration of hybrid graphics in notebooks, and easy transfer of files between a computer and a smartphone. The distribution's user interface is KDE Plasma.



C# niche =


JavaScript niche =




Tuesday, November 1, 2022

Spiral linux

 https://spirallinux.github.io/






Do you need encouragement while typing the best code ever?

Try this:



PDF literatura samo za Vas:

Learning DevOps ~560 strana
~Terraform, Azure DevOps, Kubernetes and Jenkins

Cloud Security Handbook ~456 strana
~AWS, Azure, GCP

{ kontaktiraj me odmah ! }

++


This portable FM Transmitter is easy to build. I have used a pair of BC548 transistors in this circuit. Although not strictly RF transistors, they still give good range. Transmitter is powered by 9V battery. The coil L1 consists of 7 turns on a quarter inch plastic former with a tuning slug. The tuning slug is adjusted to tune the transmitter. Actual range on my prototype tuned from 70MHz to around 120MHz. The aerial is a few inches of wire. Lengths of antenna wire should be 1 - 2 feet. The circuit is basically a radio frequency (RF) oscillator that operates around 70-120 MHz. Audio from audio jack is fed into the audio amplifier stage built around the first transistor. Output from the collector is fed into the base of the second transistor where it modulates the resonant frequency of the tank circuit by varying the junction capacitance of the transistor. Junction capacitance is a function of the potential difference applied to the base of the transistor. The tank circuit is connected in a Colpitts oscillator circuit.
One final point, don't hold the circuit in your hand and try to speak. Body capacitance is equivalent to a 200pF capacitor shunted to earth, damping all oscillations.


Kreiraj svoj oblak
Create your own cloud:



Friday, July 1, 2022

Archbang i3

 Archbang i3 stuff:


sudo pacman -Syyu

sudo pacman -S htop

sudo pacman -S nano

If you have problems with keyrings - just try link:

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

For download mirrors select some close and big country, small countries can be bloated or corrupted.

https://archbang.org/guide/

https://www.cyberciti.biz/faq/how-to-install-htop-on-arch-linux/

https://wiki.archlinux.org/title/pacman

https://opensource.com/article/18/8/getting-started-i3-window-manager#:~:text=Finally%2C%20to%20end%20your%20session,exit%20or%20X%20to%20cancel.

https://wiki.archlinux.org/title/xrandr

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

Super key is windows key in i3:

https://help.ubuntu.com/stable/ubuntu-help/keyboard-key-super.html.en

https://sourceforge.net/projects/bridgelinux/



+

+

HTML to PDF

https://www.phplift.net/how-to-create-pdfs-from-html-with-php-and-dompdf

Windows 10 and 11 disable Superfetch - SysMain:

https://www.howtogeek.com/811043/disable-superfetch/

Credit:

https://www.howtogeek.com/763825/how-to-get-live-wallpapers-on-windows-11/





https://www.howtogeek.com/742187/how-to-remove-section-and-page-breaks-in-microsoft-word/


https://www.howtogeek.com/811619/how-to-make-system-image-backups-on-windows-11/


https://www.howtogeek.com/816919/microsoft-office-delays-blocking-dangerous-downloaded-macros/


https://www.howtogeek.com/809793/how-to-create-your-own-bibliography-template-in-microsoft-word/


https://www.howtogeek.com/743633/how-to-delete-temporary-files-on-windows-10/


Arch Linux Serbia

By: joel

Thursday, June 30, 2022

LUA to EXE

 https://github.com/ers35/luastatic


https://github.com/rjpcomputing/luaforwindows


https://github.com/rjpcomputing/luaforwindows/releases


https://github.com/neomutt/lua-samples


https://github.com/tshwanedje/lua-samples


https://www.lua.org/pil/1.html


http://www.inf.puc-rio.br/~roberto/book/code.html


https://rspamd.com/doc/lua/examples.html


https://foldit.fandom.com/wiki/Lua_Scripting_Tutorial_(Advanced)


SKIA for Delphi

https://github.com/skia4delphi/skia4delphi/releases/tag/v3.4.0


SVG Editors:

https://www.justinmind.com/blog/best-free-paid-svg-editors-download-online/



BSPWM installing:

https://www.instructables.com/Bspwm-Installation-and-Configuration/

https://www.maketecheasier.com/install-configure-bspwm/

https://wiki.archlinux.org/title/bspwm


Python on Linux:

https://linuxhint.com/run-python-scripts-linux/

https://introcs.cs.princeton.edu/python/linux3/



Archbang i3 stuff:


sudo pacman -Syyu

sudo pacman -S htop

sudo pacman -S nano

If you have problems with keyrings try nex link:

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

For download mirrors select some close and big country, small countries can be bloated or corrupted.

https://archbang.org/guide/

https://www.cyberciti.biz/faq/how-to-install-htop-on-arch-linux/

https://wiki.archlinux.org/title/pacman

https://opensource.com/article/18/8/getting-started-i3-window-manager#:~:text=Finally%2C%20to%20end%20your%20session,exit%20or%20X%20to%20cancel.

https://wiki.archlinux.org/title/xrandr

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

Super key is windows key in i3:

https://help.ubuntu.com/stable/ubuntu-help/keyboard-key-super.html.en

https://sourceforge.net/projects/bridgelinux/


Arch Linux Serbia

Monday, June 27, 2022

Alpine Linux is the best for now

Please do not experiment with Alpine, there is a wrong way to install Alpine, and the right way like this =

BIOS TIPS for beginners=

The Alpine Linux installation ISO uses root as the default user and an empty password. In order to login, just enter the username root and press return.


[Initial password for root not exists, just press enter. There is no root password for the first time in Alpine Linux.]

[You can setup root and user passwords later during the setup process.]

[type = root]
[login as root for the first time] 

[You can use su command to gain root access]

su

setup-alpine


us
us
localhost
eth0
UTC
none
none
1
none
busybox
sda
sys
y


reboot

[remove installation DVD or Flash device]

[type = root]

[login as root for the first time]


setup-desktop


[ select XFCE and enjoy! ]

[ or you can try manual method without script... ]

apk add nano doas 




nano /etc/apk/repositories

[   Please remove # before all mirorr paths, and save the file  (ctrl+O, ctrl+X)   ]

/etc/apk/repositories must look like this (or you can add these lines to the existing ones) = 

http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing




apk update

adduser joe

adduser joe wheel

nano /etc/doas.d/doas.conf

Add the following line and save the file  (ctrl+O, ctrl+X):

permit persist :wheel


apk update

setup-xorg-base

apk add elogind polkit-elogind

adduser root video
adduser root input
adduser root games

adduser joe video
adduser joe input
adduser joe games


apk add xfce4 xfce4-terminal xfce4-screensaver lightdm-gtk-greeter dbus

rc-service dbus start

rc-update add dbus

rc-update add udev

rc-update add lightdm

rc-service lightdm start


[for the next command you must be simple user, for that type exit command to exit from root]

exit

[if you have previously created user  ClintEastwood, than type user ClintEastwood, and password for that user]

[now you can see $ sign]


$ echo "exec startxfce4" >> ~/.xinitrc


[that  echo command must be deployed for every user]

su

reboot


startx

[instead of sudo you can use doas command to start commands as root while you are login as simple user]

Congratulations, you have successfully installed Alpine Linux.
Now it remains to take care of the sound.


Alpine Linux Sound working if you try this:


apk add pulseaudio htop neofetch xdg-utils

apk add xfce4-pulseaudio-plugin

apk add pavucontrol

apk add xfce4-xkb-plugin

reboot

------------

https://wiki.alpinelinux.org/wiki/Printer_Setup


------------

Warningjust type su command for root access. Or you can use doas command before any other command. Doas is similar to sudo.

------------

nano /etc/lighdm/lightdm.conf

Do not add the following line and save the file (ctrl+O, ctrl+X):

default-user ClintEastwood

-------

A child from kindergarten can install Alpine linux independently.





Usage of Flatpak on Alpine Linux (in GUI Wizard manner):

FLATPAK AppStore with GUI ON ALPINE:

apk upgrade
apk update 
apk add gnome-software

apk add gnome-software-plugin-flatpak
apk add gnome-apps-extra
apk add gnome-games-collection
apk add pipewire wireplumber gst-plugin-pipewire
rc-update add apk-polkit-server default && rc-service apk-polkit-server start

setup-desktop gnome

reboot

apk add flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

reboot



Gaming on Alpine =


STEAM WORKING ON ALPINE LIKE A CHARM IF YOU DO THIS =





GNOME on top XFCE is the winning solution for GUI AppStore for Flatpak

HTOP RAM USAGE = 728MB

If you want lighter solution, just use XFCE and Flatpak in terminal only.








https://wiki.alpinelinux.org/wiki/Steam

https://wiki.alpinelinux.org/wiki/Gaming_on_Alpine

https://www.linuxshelltips.com/install-openbox-alpine-linux/

htop

IDLE RAM USAGE with Geany, Firefox, Xfce installed = 241MB

That is total record in the Linux world:



Absolutely insane low resource for multimedia heavy usage @ Alpine Linux XFCE only:

htop = 241 MB

htop firefox = 458 MB

htop firefox + youtube = 800 MB 

Alpine Linux has lower resource usage than all linux distros and FreeBSD, Wow !



Windows 10 Sound Keyboard Application



++

https://springwell.rs/proizvodi/nature-essential-garsinija-kambodza

https://www.howtogeek.com/807862/handy-excel-features/


https://www.ubackup.com/


https://www.ubackup.com/clone/ssd-cloning-freeware-4348.html



Alpine openbox settings:

apk add feh 

apk add pcmanfm

apk add firefox

apk add htop

apk add neofetch

apk add geany


nano .config/openbox/autostart

xrandr -s 1360x768 &

feh --bg-fill /home/vlada/s.jpg


apk add feh 

apk add pcmanfm

apk add firefox

apk add htop

apk add neofetch

apk add geany



Alpine with twm:

$ echo "exec twm" >> ~/.xinitrc


startx






Create AI resources = 



WORK FROM HOME = 



MORE = 







Usage of Flatpak on Alpine Linux (in terminal manner) for terminal geeks:

You must be root #:

apk add flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

First download io.freetubeapp.FreeTube.flatpakref from FreeTube website:

flatpak install flathub /home/vlada/Downloads/io.freetubeapp.FreeTube.flatpakref

flatpak run io.freetubeapp.FreeTube



Or install from flathub:

flatpak search xonotic

flatpak install flathub org.xonotic.Xonotic

flatpak run org.xonotic.Xonotic

flatpak uninstall org.xonotic.Xonotic


flatpak install flathub com.vscodium.codium






s


You must follow instructions about installing Steam on Alpine=

https://wiki.alpinelinux.org/wiki/Steam

If you install flatpak first, and after that Steam, there are no problems at all.

As long as you use flatpak and don't compile, applications run perfectly on Alpine.

Musl has no effect on the operation of applications installed via Flatpak.

In order for Steam to work properly, you need to install the graphics drivers first =

https://wiki.alpinelinux.org/wiki/NVIDIA




https://github.com/git-sgmoore/AlpineLinux-DailyDriverDesktop


https://github.com/ibuetler/alpine-linux-setup


https://git.sr.ht/~bt/alpine-linux-setup