Skip to content

Instantly share code, notes, and snippets.

Avatar

robert ikoner

  • Slovakia
View GitHub Profile
@ikoner
ikoner / tooltip
Last active Nov 7, 2015
Eclipse settings
View tooltip
sudo apt-get install gnome-color-chooser
Specific -> Tooltips
@ikoner
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]
Name=XAMPP
Comment=Manage XAMPP
Exec=gksudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Type=Application
Terminal=false
@ikoner
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:
/*background-colors*/
.bgColor, .bunkah { background-color: #0080FF; }
.bgColorGray80 { background-color: #CCC; }
.bgColorWhite { background-color: #FFF; }
/*colors*/
.colorWhite { color: #FFF; }
.colorYellow { color: #FFFF00; }
@ikoner
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
View menu
functions.php
// register wp_nav_menu
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus( array(
'topMenu' => __( 'topMenu', 'smsApp' )
)
);
}
@ikoner
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
@ikoner
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.
glassfish3\jdk\bin>keytool
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