GithubHelp home page GithubHelp logo

zhexiao / posts-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11.42 MB

There is a easy way to delete your social network posts

Home Page: http://pm.zhexiao.space/

License: Apache License 2.0

PHP 76.09% JavaScript 8.26% CSS 9.58% HTML 5.41% Batchfile 0.66%
yii2 mongodb php angularjs sass facebook-sdk twitter-sdk bootstrap

posts-manager's Introduction

Social Network Posts Delete Manager

If you hate delete facebook or twitter posts one by one. Try the delete manager. It's so easy to delete multiple social network posts by one click.

DIRECTORY STRUCTURE

  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

Server Configuration Suggestion

Nginx

server {
	listen *:80;
	#listen [::]:80 ipv6only=on;

	root /var/www/html/posts-manager/web;
	index index.php;

	# Make site accessible from http://localhost/
	server_name pm.zhexiao.space;

	access_log /var/log/nginx/pm.access.log;
	error_log /var/log/nginx/pm.error.log;

	location / {
		# First attempt to serve request as file, then
		# as directory, then fall back to displaying a 404.
		# try_files $uri $uri/ =404;
		try_files $uri $uri/ /index.php?$args;
		# Uncomment to enable naxsi on this location
		# include /etc/nginx/naxsi.rules
	}	

	error_page 404 /404.html;
	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /var/www/html;
	}

	location ~ \.php$ {
		try_files $uri =404;
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass unix:/var/run/php5-fpm.sock;
		fastcgi_index index.php;
		include fastcgi_params;
	}

	location ~ /\.(ht|svn|git){
		deny all;
	}

}

Apache

<VirtualHost *:80>
    DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/posts-manager/web"

    <Directory "/Applications/XAMPP/xamppfiles/htdocs/posts-manager/web">
        # use mod_rewrite for pretty URL support
        RewriteEngine on
        # If a directory or a file exists, use the request directly
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        # Otherwise forward the request to index.php
        RewriteRule . index.php
    </Directory>

    ServerName local.pm.com
    ErrorLog "logs/pm.example.com-error_log"
    CustomLog "logs/pm.example.com-access_log" common
</VirtualHost>

Technical

  • Yii The Fast, Secure and Professional PHP Framework.

  • Mongodb MongoDB is an open-source, document database designed for ease of development and scaling.

  • Angularjs HTML enhanced for web apps.

  • Bootstrap Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

  • Sass Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.

  • Twitter SDK Codebird - A Twitter library in PHP.

  • Facebook SDK Facebook Official SDK - "facebook/php-sdk-v4" : "4.0.*"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.