Skip to content

Instantly share code, notes, and snippets.

View Mashpy's full-sized avatar

Akhlasur Rahman (Mashpy) Mashpy

View GitHub Profile
$ mkdir ~/php8.2.13
$ cd ~/php8.2.13
$ wget https://www.php.net/distributions/php-8.2.13.tar.gz
$ tar -xzvf php-8.2.13.tar.gz
$ cd php-8.2.13
$ ./configure --prefix=/usr/local/php8.2.13 \
--with-config-file-path=/usr/local/php8.2.13/etc \
--enable-mbstring \
--enable-pcntl \
--enable-ftp \
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<table>
<tr>
<td colspan="2">
<p>&nbsp;</p>
continent_lists = [
{ :id => 1, :continent_name => 'Europe', :order => 1 },
{ :id => 2, :continent_name => 'Asia', :order => 2 },
{ :id => 3, :continent_name => 'Africa', :order => 3 },
{ :id => 4, :continent_name => 'North America', :order => 4 },
{ :id => 5, :continent_name => 'South America', :order => 5 },
{ :id => 6, :continent_name => 'Australia and Oceania', :order => 6 },
]
Continent.create(continent_lists)
https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en
<?php
require_once('common.php');
// Context Menu
$context_menu = file_get_contents(COMPONENTS . "/filemanager/context_menu.json");
$context_menu = json_decode($context_menu,true);
// Right Bar
$right_bar = file_get_contents(COMPONENTS . "/right_bar.json");
{"message":"{\"result\":true,\"output\":{\"username\":\"ghori\",\"password\":\"ghori\",\"folder_path\":\"\\/home\\/ubuntu\\/ghori\",\"user_id\":1,\"updated_at\":\"2017-03-25 09:20:33\",\"created_at\":\"2017-03-25 09:20:33\",\"id\":55}}"}
897 sudo add-apt-repository ppa:ondrej/php
898 sudo apt-get update
900 sudo apt-get install php7.0-fpm
901 sudo apt-get install php7.0-mysql
902 cd /etc/nginx/
903 ls
904 cd sites-available/
905 ls
906 sudo nano default
907 sudo service nginx restart
require 'sqlite3'
begin
db = SQLite3::Database.open "test.db"
db.transaction
db.execute "DROP TABLE IF EXISTS animal"
db.execute "CREATE TABLE animal
(
sudo curl -sSL https://get.docker.com/ | sh
cd
curl -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-`uname -s`-`uname -m` > ./docker-compose
sudo mv ./docker-compose /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
cd
git clone https://github.com/Mashpy/testphp.git
docker-composer up -d
#include <stdio.h>
#include <conio.h>
#include <ctype.h>
int main()
{
int ch;
char pword[BUFSIZ];
int i = 0;