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 | |
# Last updated 2018-05-11 | |
# auther: inwdragon | |
APP_VERSION="0.8" | |
echo "# Install TH Sarabun New Font for Ubuntu terminal." | |
echo "# Version $APP_VERSION" | |
echo "" |
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
DirectoryIndex index.php | |
RewriteEngine on | |
# If it does not exist as a directory | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# And if it does not exist as a file | |
RewriteCond %{REQUEST_FILENAME} !-f | |
# Then add .php to get the actual filename | |
RewriteRule ^(.*)/? index.php?url=$1 [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
# Last updated 2016-03-21 | |
URLENGTH_VERSION="0.1" | |
SFTP_VERSION="0.7.1" | |
WP_CONTENT_DIR='ls -l | grep wp-content' | |
chmod 777 wp-content | |
cd wp-content | |
chmod 777 plugins | |
cd plugins |
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
# Last updated 2016-03-03 | |
WP_RECOMMENDED_SITE_VERSION="v1.0.1" | |
SFTP_VERSION="0.7.1" | |
WP_CONTENT_DIR='ls -l | grep wp-content' | |
chmod 777 wp-content | |
cd wp-content | |
chmod 777 plugins | |
cd plugins |
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
# Last updated 2016-02-03 | |
WORDPRESS_VERSION="4.4.2" | |
SFTP_VERSION="0.7.1" | |
git clone https://github.com/WordPress/WordPress.git | |
cd WordPress | |
git checkout tags/${WORDPRESS_VERSION} | |
cd .. | |
mv WordPress/* `pwd` | |
rm -rf WordPress/ |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |