Skip to content

Instantly share code, notes, and snippets.

Avatar

Zae makhrus desawarna

View GitHub Profile
@desawarna
desawarna / Copas-Code-Set-Pasword-Anggota-Secara-Berjamaah.sql
Created Sep 21, 2020
Copas Code Set Pasword Anggota Secara Berjamaah
View Copas-Code-Set-Pasword-Anggota-Secara-Berjamaah.sql
UPDATE `member` SET `mpasswd` = MD5('bejo');
@desawarna
desawarna / gist:eceb0e86302bc1c6223d5d8ff4f44cd4
Created Sep 16, 2020
Copasan blowfish_secret config phpmyadmin
View gist:eceb0e86302bc1c6223d5d8ff4f44cd4
/**
* This is needed for cookie based authentication to encrypt password in
* cookie. Needs to be 32 chars long.
*/
$cfg['blowfish_secret'] = 'qtdRoGmbc9{8IZr323xYcSN]0s)r$9b_JUnb{~Xz'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
@desawarna
desawarna / gist:bdd2c0ea742ff3b568d3b2a7e281d0c3
Last active Sep 18, 2020
Copasan Menu Login Template Default SLiMDS 9
View gist:bdd2c0ea742ff3b568d3b2a7e281d0c3
$main_menus = [
'home' => [
'text' => __('Home'),
'url' => 'index.php'
],
'login' => [
'text' => __('Login Admin'),
'url' => 'index.php?p=login'
],
View gist:90232eda0eea95074218e78fbd53dc1d
'visitor' => [
'text' => __('Visitor Counter'),
'url' => 'index.php?p=visitor'
],
View catalina.out
<6>Server version name: Apache Tomcat/9.0.24 (Ubuntu)
<6>Server built: Aug 22 2019 11:55:14 UTC
<6>Server version number: 9.0.24.0
<6>OS Name: Linux
<6>OS Version: 5.0.0-13-generic
<6>Architecture: amd64
<6>Java Home: /usr/lib/jvm/java-8-openjdk-amd64/jre
<6>JVM Version: 1.8.0_252-8u252-b09-1~19.10-b09
<6>JVM Vendor: Private Build
<6>CATALINA_BASE: /home/dhis/tomcat-dhis
@desawarna
desawarna / visitor.inc.php
Created Mar 27, 2020
Loss IP Visitor Counter Slims 8 dengan Suara juga
View visitor.inc.php
<?php
/**
*
* Visitor Counter
* Copyright (C) 2010 Arie Nugraha (dicarve@yahoo.com)
* Modified By Eddy Subratha (eddy.subratha@gmail.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
View panduan-sql-phpmyadmin.txt
sudo mysql -u root
CREATE USER 'server'@'localhost' IDENTIFIED BY 'server';
GRANT ALL PRIVILEGES ON *.* TO 'server'@'localhost' WITH GRANT OPTION;
EXIT;
@desawarna
desawarna / artikel.php
Created Aug 8, 2019
Code PHP Pada CMSKu /cmsku/admin/content/
View artikel.php
<script type="text/javascript" src="../plugin/tinymce/tinymce.min.js"></script>
<script type="text/javascript" src="js/tinymce_config.js"></script>
<?php
if(!defined("INDEX")) header('location: ../index.php');
$show = isset($_GET['show']) ? $_GET['show'] : "";
$link = "?content=artikel";
switch($show){
@desawarna
desawarna / main.php
Created May 20, 2019
Copas Code ini di /arteri-1.2.1/application/views/
View main.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<nav class="navbar navbar-inverse navbar-submenu">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#module-submenu" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
@desawarna
desawarna / custom.css
Created May 18, 2019
desain css untuk arteri 1.2.1 warna kuning , hover biru tua
View custom.css
/* latin */
@font-face {
font-family: 'Actor';
font-style: normal;
font-weight: 400;
src: local('Actor-Regular'), local('Actor-Regular'), url(./fonts/Actor-Regular.ttf) format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
body
{
You can’t perform that action at this time.