Skip to content

Instantly share code, notes, and snippets.


robert ikoner

  • Slovakia
View GitHub Profile
ikoner / SEVERE: SEC5054: Certificate has expired
Last active Aug 29, 2015
eclipse, java, glassfish, oracle
View SEVERE: SEC5054: Certificate has expired
you can use keytool to delete expired certificates in Glassfish 3.1.2.
keytool -delete -alias gtecybertrust5ca -keystore d:\glassfish3\glassfish\domains\domain1\config\cacerts.jks -storepass changeit
keytool -delete -alias gtecybertrust5ca -keystore d:\glassfish3\glassfish\lib\templates\cacerts.jks -storepass changeit
ikoner / apache config
Last active Nov 6, 2015
linux lampp config
View apache config
sudo gedit /etc/hosts
sudo gedit /opt/lampp/etc/httpd.conf
sudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf
View menu
// register wp_nav_menu
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus( array(
'topMenu' => __( 'topMenu', 'smsApp' )
ikoner / grub2 repair
Last active Aug 29, 2015
Repair, Restore, or Reinstall Grub 2 with a Mint Live CD or USB
View grub2 repair
if you have 64bit linux mint, you need 64bit live cd
sudo mount /dev/sdXY /mnt
sudo mount --bind /dev /mnt/dev &&
sudo mount --bind /dev/pts /mnt/dev/pts &&
sudo mount --bind /proc /mnt/proc &&
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
ikoner / tkariera
Last active Aug 29, 2015
zoznam uprav pre tkarieru
View tkariera
pridanie c:\inetpub\wwwroot\tk\manager\style.css a zadefinovanie CSS stylov:
.bgColor, .bunkah { background-color: #0080FF; }
.bgColorGray80 { background-color: #CCC; }
.bgColorWhite { background-color: #FFF; }
.colorWhite { color: #FFF; }
.colorYellow { color: #FFFF00; }
ikoner / XAMPP launcher
Last active Nov 6, 2015
ubuntu 14.04 - create XAMPP launcher on desktop
View XAMPP launcher
gnome-desktop-item-edit --create-new ~/Desktop
gedit XAMPP.desktop
[Desktop Entry]
Comment=Manage XAMPP
Exec=gksudo /opt/lampp/
ikoner / tooltip
Last active Nov 7, 2015
Eclipse settings
View tooltip
sudo apt-get install gnome-color-chooser
Specific -> Tooltips
ikoner / virtualbox
Created Feb 18, 2016
resize storage
View virtualbox
vboxmanage modifyhd "/home/user/VirtualBox VMs/Win7/Win7.vdi" --resize 50000
ikoner / HDD mount
Created Apr 23, 2017
automatic HDD mount
View HDD mount
Create the mount point. You’ll probably need to use sudo
sudo mkdir /mnt/disk2
sudo chown <user name> /mnt/disk2
Menu -> Accessories -> Disk
Click on the HDD, click on the partition, click on the two cogs, select “Mount Options”
Change the Mount Point to /mnt/disk2
Reboot to check