Sometimes some websites require https to work. This can be useful in those cases.
This has been tested with XAMPP (PHP 7.0.8) on Windows 7. Please see the Reference links at the end if in confusion about some step.
Open:
C:\xampp\php\php.ini
elogind is the part of SystemD logind that can run as standalone. So we need it to run Sway without SystemD. To do that we need to build wlroots
with elogind
option. Then we can install and use Sway as normal from the current repo. There are other ways to achieve this without elogind here. But I tried with the elogind option and I was successful.
UPDATE: I tried again on a fresh install. The elogind
option is set by default on the repo version. So you can skip the xbps-src command below and continue. wlroots
should install as a dependency of sway
if you follow the later commands.
git clone git://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
Ubuntu is based on Debian so it should apply to Ubuntu as well. I have tested this on latest Debian Testing (on SparkyLinux). I usually use WordPress and CakePHP on my localhost so I included instructions at the end to make them work perfectly.
Warning: This config is not designed with security in mind, only for convenience of desktop users. If you are setting up for server, please refer to proper manuals.
Note: This config is experimental. There might be better way to do some aspects. But it does work for my specific needs so I made it available. Please use carefully.
#!/bin/bash | |
# Simple script to handle a DIY shutdown menu. When run you should see a bunch of options (shutdown, reboot etc.) | |
# | |
# Requirements: | |
# - rofi | |
# - systemd, but you can replace the commands for OpenRC or anything else | |
# | |
# Instructions: | |
# - Save this file as power.sh or anything |
This has been tested on Arch Linux 2017 (Linux Kernel 4.12.12-1-ARCH) with KDE Plasma 5.10 installed, with libreoffice-fresh version 5.4.1.2.0 and other KDE apps.
Install the necessary pacakges:
sudo pacman -S fcitx fcitx-qt4 fcitx-qt5 m17n-db fcitx-m17n fcitx-configtool
<?php | |
function has_an_active_subscriber( $product_id = null ){ | |
// Empty array to store ALL existing Subscription PRODUCTS | |
$products_arr = array(); | |
$products_subscr = get_posts( array( | |
'numberposts' => -1, | |
'post_status' => 'publish', |
Fedora has the Linux kernel. This instruction is to install Linux Libre kernel which is a version of the Linux kernel with closed source binary blobs removed. This results in a Free-er system which respects your 4 essential freedoms. On Fedora, the linux libre kernel has the name "Freed-ora freedom".
I tried this on a Fedora 30 install.
WARNING: Although this gives you a libre kernel, it is possible that all components of your hardware does not work without binary blobs (e.g. wifi card, bluetooth). In that case those components will not work after installation. Please do not apply this on a production install before testing thoroughly and for prolonged period of time on a test install. Use these instructions at your own risk. Backing up is also recommended.
sudo -s
To install LAMP (Linux, Apache, MySQL/MariaDB, PHP) on Void Linux, follow these steps below.
NOTE: This has been prepared for ease of use in mind, not security. Please do not use these instructions to setup on a public server environment. Use other proper manuals instead.
Install the things we need:
<?php | |
// Example # 2 from | |
// https://codex.wordpress.org/Creating_Options_Pages | |
class MySettingsPage | |
{ | |
/** | |
* Holds the values to be used in the fields callbacks | |
*/ | |
private $options; |