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
$ 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 \ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<td colspan="2"> | |
<p> </p> |
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
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) |
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
https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en |
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
<?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"); |
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
{"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}}"} |
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
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 |
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
require 'sqlite3' | |
begin | |
db = SQLite3::Database.open "test.db" | |
db.transaction | |
db.execute "DROP TABLE IF EXISTS animal" | |
db.execute "CREATE TABLE animal | |
( |
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
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 |
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
#include <stdio.h> | |
#include <conio.h> | |
#include <ctype.h> | |
int main() | |
{ | |
int ch; | |
char pword[BUFSIZ]; | |
int i = 0; | |
NewerOlder