This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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/trunk/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/trunk/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Illuminate\Support; | |
class ClassLoader { | |
/** | |
* The registered directories. | |
* | |
* @var array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Ubuntu 16.04 Dev Server | |
# Run like - bash install_lamp.sh | |
# Script should auto terminate on errors | |
echo -e "\e[96m Adding PPA \e[39m" | |
sudo add-apt-repository -y ppa:ondrej/apache2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$query = "INSERT INTO timeline ('".$website."', '".$deskripsi."', '".$gambarbaru."')"; | |
$sql = $MySQLiconn->query($query); // Iki asale seko file config/koneksi.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//http://www.webhostingtalk.com/showthread.php?t=218863 | |
$start_dir = 'whatever'; // Starting directory no trailing slashes. | |
$perms['file'] = 0644; // chmod value for files don't enclose value in quotes. | |
$perms['folder'] = 0755; // chmod value for folders don't enclose value in quotes. | |
function chmod_file_folder($dir) { | |
global $perms; | |
$dh=@opendir($dir); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.3/animate.min.css);@import url(https://fonts.googleapis.com/css?family=Raleway);@-webkit-keyframes blink{0%,to{opacity:1}50%{opacity:0}}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}a{text-decoration:none!important}.my-10{padding-top:6.5em;padding-bottom:6.5em}@media screen and (device-width:360px) and (device-height:640px) and (-webkit-device-pixel-ratio:3){.navbar{border-radius:0;background-color:#222!important}.navbar .nav-link,.navbar .navbar-brand{color:#fff!important}.carousel{background:#222}.carousel .carousel-item{height:100vh!important}.carousel .carousel-item:nth-child(1){background:#222 url(../img/slides/mobile-slide1.png) no-repeat center center!important;background-size:cover!important}.carousel .carousel-item:nth-child(2){background:#222 url(../img/slides/mobile-slide2.png) no-repeat center center!important;background-size:cover!important}.carousel .carousel-item:nth-child(3){background:#222 url(../img/slides/mobile-slide3.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* [getMediaByUsername description] | |
* | |
* Author : Imam Ali Mustofa - Betta Dev Indonesia | |
* Website : www.bettadevindonesia.com | |
* | |
* This function will scrap data from instagram without API | |
* Define username you need and define how many media will you get! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;[program:theprogramname] | |
;command=/bin/cat ; the program (relative uses PATH, can take args) | |
;process_name=%(program_name)s ; process_name expr (default %(program_name)s) | |
;numprocs=1 ; number of processes copies to start (def 1) | |
;directory=/tmp ; directory to cwd to before exec (def no cwd) | |
;umask=022 ; umask for process (default None) | |
;priority=999 ; the relative start priority (default 999) | |
;autostart=true ; start at supervisord start (default: true) | |
;autorestart=true ; retstart at unexpected quit (default: true) | |
;startsecs=10 ; number of secs prog must stay running (def. 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu Sources List Generator | |
>>> NEWS: Now available on SSL | |
>>> Replace your /etc/apt/sources.list with the following one. For adding GPG keys of new repos, see instruction (if available) in the sources.list below itself. | |
## curl https://repogen.simplylinux.ch/txt/yakkety/sources_dccbf34a40895c1d9b7a7e7d24ee21dbbbccc385.txt | sudo tee /etc/apt/sources.list | |
#------------------------------------------------------------------------------# | |
# OFFICIAL UBUNTU REPOS # |
OlderNewer