Skip to content

Instantly share code, notes, and snippets.

View yysofiyan's full-sized avatar
🏠
Working from home

Yanyan Sofiyan yysofiyan

🏠
Working from home
View GitHub Profile
@yysofiyan
yysofiyan / gist:420a0a7f6572c1475c509a0ce2288fd5
Created March 24, 2025 17:27
htaccess Localhost Laravel App
# File .htaccess lokal
# Digunakan untuk mengatur direktori "public" sebagai root dokumen
### Aplikasi Laravel (https://laravel-site.dev/)
#
# Konfigurasi ini mengaktifkan penulisan ulang URL untuk aplikasi Laravel
# +FollowSymLinks: Mengizinkan penggunaan symbolic links
# -MultiViews: Mencegah Apache menambahkan ekstensi secara otomatis
Options +FollowSymLinks -MultiViews
# Mengaktifkan modul mod_rewrite Apache untuk penulisan ulang URL
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php7.4.2/bin:$PATH
# export PATH="/usr/local/opt/php@7.4/bin:$PATH
# export PATH="/usr/local/opt/php@7.4/sbin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/yysofiyan/.oh-my-zsh"
export PATH="/usr/local/opt/openssl/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
This file has been truncated, but you can view the full file.
#EXTM3U
#EXTINF:-1,iptvtools_2
https://dicdnali.rctiplus.id/live/eds/gtv_fta/live_fta/gtv_fta-avc1_2000000=5-mp4a_64000=2.m3u8
#EXTINF:-1,iptvtools_3
https://dicdnali.rctiplus.id/live/eds/inews_fta/live_fta/inews_fta-avc1_2000000=1-mp4a_64000=2.m3u8
#EXTINF:-1,iptvtools_4
https://dicdnali.rctiplus.id/live/eds/rcti_fta/live_fta/rcti_fta-avc1_600000=4-begin=4-mp4a_64000=2.m3u8
#EXTINF:-1,iptvtools_4
https://dicdnali.rctiplus.id/live/eds/mnctv_fta/live_fta/mnctv_fta-avc1_2000000=1-mp4a_64000=2.m3u8
#EXTINF:-1,iptvtools_5
@yysofiyan
yysofiyan / gist:ecaabe9c0131612094baf258dd145c94
Created December 17, 2019 09:43
Enabling PHP 7 on Hostgator trough htaccess
# Habilitar o PHP 7.0
AddHandler application/x-httpd-php70 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php70/lib
</IfModule>
@yysofiyan
yysofiyan / gist:de5a10597584a69366b3f48ae54baa87
Created September 4, 2019 04:35
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@yysofiyan
yysofiyan / block.tpl
Created December 12, 2018 16:27
if you’re using the Manuscript child theme, you can get a block element to use that style by formatting the block like this:
<div class="pkp_block">
<div class="content">
<div class="title">My title</div>
</div>
</div>
@yysofiyan
yysofiyan / gist:68a7975ba3bbaec28d9711bd680612b6
Created May 20, 2018 19:21 β€” forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@yysofiyan
yysofiyan / bash_profile
Created May 11, 2018 18:10
settings path
source ~/.profile
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=${JAVA_HOME}/bin:$PATH
# Maven
export MAVEN_HOME=/volumes/HDD/BuildTool/apache-maven-3.5.3
# Apache Ant
export ANT_HOME=/volumes/HDD/BuildTool/apache-ant-1.9.11
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/macbookpromd313/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
POWERLEVEL9K_MODE='awesome-fontconfig'
@yysofiyan
yysofiyan / rupa-rupa
Last active May 11, 2018 17:39
Font: Knack Nerd (pt. 12) Skema warna: [TangoDark] Terminal.app (zsh)
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/macbookpromd313/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
POWERLEVEL9K_MODE='awesome-fontconfig'