First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
| // | |
| // ViewController.swift | |
| // SwiftJSONParsingDemo | |
| // | |
| // Created by Ashish Kakkad on 12/10/16. | |
| // Copyright © 2016 Kode. All rights reserved. | |
| // | |
| import UIKit |
| public static void postNewComment(Context context,final UserAccount userAccount,final String comment,final int blogId,final int postId){ | |
| mPostCommentResponse.requestStarted(); | |
| RequestQueue queue = Volley.newRequestQueue(context); | |
| StringRequest sr = new StringRequest(Request.Method.POST,"http://api.someservice.com/post/comment", new Response.Listener<String>() { | |
| @Override | |
| public void onResponse(String response) { | |
| mPostCommentResponse.requestCompleted(); | |
| } | |
| }, new Response.ErrorListener() { | |
| @Override |
| curl -O http://downloads.ghostscript.com/public/ghostscript-9.22.tar.gz && | |
| tar -xzf ghostscript-9.22.tar.gz && | |
| cd ghostscript-9.22 && | |
| ./configure && | |
| make install && | |
| make so && | |
| cp ghostscript-9.22/sobin/libgs.so.9.22 /usr/lib && | |
| ln -s /usr/lib/libgs.so.9.22 /usr/lib/libgs.so && | |
| mkdir -p /etc/ld.so.conf.d/ && | |
| echo "/usr/lib/libgs.so" > /etc/ld.so.conf.d/libgs.conf && |
| Organization name: leexij@gmail.com | |
| Serial Key: eNrzzU/OLi0odswsqslJTa3IzHJIz03MzNFLzs+tMTQyNrcwsTQyAIEa5xpDAIFxDy8k |
| <?php | |
| class WP_HTML_Compression | |
| { | |
| // Settings | |
| protected $compress_css = true; | |
| protected $compress_js = true; | |
| protected $info_comment = true; | |
| protected $remove_comments = true; | |
| // Variables |
inotify-tools is installed (https://github.com/rvoicilas/inotify-tools)git config credential.helper store| package <Package Name>; | |
| import android.content.Context; | |
| import android.content.SharedPreferences; | |
| import android.preference.PreferenceManager; | |
| import java.util.Map; | |
| import java.util.Set; | |
| public class PreferenceHelper { |
| # === Optimized my.cnf configuration for MySQL/MariaSQL (on cPanel/WHM servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated February 2021 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
| import SwiftUI | |
| struct ScrollableView<Content: View>: UIViewControllerRepresentable, Equatable { | |
| // MARK: - Coordinator | |
| final class Coordinator: NSObject, UIScrollViewDelegate { | |
| // MARK: - Properties | |
| private let scrollView: UIScrollView | |
| var offset: Binding<CGPoint> |