- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
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
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
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
# Prepare required directories for Newrelic installation | |
RUN mkdir -p /var/log/newrelic /var/run/newrelic && \ | |
touch /var/log/newrelic/php_agent.log /var/log/newrelic/newrelic-daemon.log && \ | |
chmod -R g+ws /tmp /var/log/newrelic/ /var/run/newrelic/ && \ | |
chown -R 1001:0 /tmp /var/log/newrelic/ /var/run/newrelic/ && \ | |
# Download and install Newrelic binary | |
export NEWRELIC_VERSION=$(curl -sS https://download.newrelic.com/php_agent/release/ | sed -n 's/.*>\(.*linux-musl\).tar.gz<.*/\1/p') && \ | |
cd /tmp && curl -sS "https://download.newrelic.com/php_agent/release/${NEWRELIC_VERSION}.tar.gz" | gzip -dc | tar xf - && \ | |
cd "${NEWRELIC_VERSION}" && \ |
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
modules: | |
http_2xx: | |
prober: http | |
http_post_2xx: | |
prober: http | |
http: | |
method: POST | |
tcp_connect: | |
prober: tcp | |
pop3s_banner: |
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
{ | |
"status":"it should be success" | |
} |
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
FROM ubuntu:16.04 | |
RUN apt-get update | |
RUN wget https://nginx.org/download/nginx-1.14.0.tar.gz | |
RUN tar zxf nginx-1.14.0.tar.gz | |
RUN cd nginx-1.14.0 | |
RUN ./configure && cd ~ | |
RUN apt-get install -y nginx php7.0-fpm supervisor && \ | |
rm -rf /var/lib/apt/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
import React, { Component } from "react"; | |
import * as movies from "../services/fakeMovieService"; | |
import Pagination from "./common/pagination"; | |
import ListGroup from "./common/moviesListGroup"; | |
import _ from "underscore"; | |
import lodash from "lodash"; | |
import { getPaginatedItems } from "../utils/paginate"; | |
import { getGenres } from "../services/fakeGenreService"; | |
import MovieTable from "./movieTable"; | |
class Movie extends Component { |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<script src="vue.js"></script> | |
<title>Document</title> | |
</head> | |
<body> |
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
রেডিস এ কিছু (স্ট্রিং) জমা রাখতে চাইলেঃ SET key value | |
যেমনঃ SET name Tarek | |
রেডিস এ জমা রাখা কিছু পেতে চাইলেঃ GET key | |
যেমনঃ GET name | |
জমা আছে কিনা তার সত্যতা নিশ্চিত করতে চাইলেঃ EXISTS key |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Bootstrap Cheat Sheet</title> | |
<!-- Bootstrap --> | |
<link href="css/bootstrap.min.css" rel="stylesheet"> | |
<style> |
NewerOlder