Mashpy Rahman Mashpy
-
UniPrep Corporation
- Bangladesh
- Sign in to view email
- http://www.Mashpy.me
View Table
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<table> | |
<tr> | |
<td colspan="2"> | |
<p> </p> |
View country list
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) |
View check it
https://play.google.com/store/apps/details?id=com.ijinshan.kbatterydoctor_en |
View find difference codiad
<?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"); |
View json testing
{"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}}"} |
View install laravel with php 7
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 |
View sqlite demo ruby
require 'sqlite3' | |
begin | |
db = SQLite3::Database.open "test.db" | |
db.transaction | |
db.execute "DROP TABLE IF EXISTS animal" | |
db.execute "CREATE TABLE animal | |
( |
View install docker and run project in vps
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 |
View password c
#include <stdio.h> | |
#include <conio.h> | |
#include <ctype.h> | |
int main() | |
{ | |
int ch; | |
char pword[BUFSIZ]; | |
int i = 0; | |
View nstuinfo javascript check
<head> | |
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.2.min.js"></script> | |
</head> | |
<script> | |
$( document ).ready(function() { | |
$('.telephone').each(function(index){ | |
var tel = $(this).attr('href'); | |
var text_val = 'tel:'+ $(this).text().replace('-', ''); |
NewerOlder