Skip to content

Instantly share code, notes, and snippets.

View RobbiNespu's full-sized avatar
:octocat:
Wut?

Robbi Nespu RobbiNespu

:octocat:
Wut?
View GitHub Profile
@RobbiNespu
RobbiNespu / config.inc.php
Created November 16, 2015 22:20
sudo vim /etc/phpMyAdmin/config.inc.php
<?php
/**
* phpMyAdmin configuration file, you can use it as base for the manual
* configuration. For easier setup you can use "setup/".
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.phpmyadmin.net>.
*/
/*
@RobbiNespu
RobbiNespu / httpd.conf
Created November 16, 2015 23:05
# gedit /etc/httpd/conf/httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@RobbiNespu
RobbiNespu / Git_shared_hosting.sh
Created November 18, 2015 22:35 — forked from theodorosploumis/Git_shared_hosting.sh
Install Git on Shared hosting (Tested with Freebsd)
#!/bin/bash -e
# IMPORTANT. You must have gcc and wget installed
echo -n "Please enter the Git branch (eg 2.6.2): "
read branch
echo -n "Perl path (run 'which perl' to find the path): "
read perl_path
# Add bin in PATH
$ systemd-analyze
Startup finished in 936ms (kernel) + 3.217s (initrd) + 53.980s (userspace) = 58.135s
$ systemd-analyze blame
18.740s plymouth-quit-wait.service
13.125s systemd-udev-settle.service
10.821s systemd-journald.service
7.654s firewalld.service
7.233s NetworkManager-wait-online.service
6.958s dev-mapper-fedora\x2droot.device
@RobbiNespu
RobbiNespu / gist:babb33fca769828361c0
Created December 23, 2015 21:07
Mambang.org.my - Concky (Default)
# created by mambang for oshirix
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type overide
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no #Transparent background.
# Use double buffering (reduces flicker, may not work for everyone)
@RobbiNespu
RobbiNespu / gist:fc74ba25864b5380db98
Created January 3, 2016 07:03
Javascript +html = username and password validation
<SCRIPT Language="JavaScript">
<!--
function Form_Validator(theForm)
{
if (theForm.usernameID.value == "" )
{
alert("Please Key-In Your Username !");
theForm.usernameID.focus();
return (false);
$ sudo dnf group install kde-desktop-environment
Fedora 23 - x86_64 - Updates 159 kB/s | 20 MB 02:06
Last metadata expiration check performed 0:01:14 ago on Mon Mar 7 22:53:44 2016.
Dependencies resolved.
========================================================================================================================================================================
Group Packages
========================================================================================================================================================================
Marking installed:
Multimedia alsa-plugins-pulseaudio pulseaudio alsa-utils
21:45:05.610 [ERROR] [org.gradle.internal.concurrent.DefaultExecutorFactory] Failed to execute org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker@3a8fab70.
org.gradle.messaging.remote.internal.MessageIOException: Could not write message Failure[value=org.gradle.messaging.remote.internal.MessageIOException: Could not read message from '/127.0.0.1:5849'.] to '/127.0.0.1:5849'.
at org.gradle.messaging.remote.internal.inet.SocketConnection.dispatch(SocketConnection.java:111)
at org.gradle.launcher.daemon.server.SynchronizedDispatchConnection.dispatch(SynchronizedDispatchConnection.java:55)
at org.gradle.launcher.daemon.server.DefaultDaemonConnection.completed(DefaultDaemonConnection.java:129)
at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker.receiveCommand(DefaultIncomingConnectionHandler.java:146)
at org.gradle.launcher.daemon.server.DefaultIncomingConnectionHandler$ConnectionWorker.receiveAndHandleCommand(DefaultIncomingConnectionHandler
*.tmp
# Word temporary
~$*.doc*
# Excel temporary
~$*.xls*
# Excel Backup File
*.xlk
@RobbiNespu
RobbiNespu / S
Created May 17, 2016 17:17
Adobe Dreamweaver git ignore
# DW Dreamweaver added files
_notes
_compareTemp
configs/
dwsync.xml
dw_php_codehinting.config
*.mno