npm install forever -g
forever --help
forever start app.js
<?php | |
$nilai_angka = 85; | |
$mata_kuliah = 'Pemrograman Web Lanjut'; | |
if ($nilai_angka > 80) { | |
$nilai_huruf = 'A'; | |
$ket = 'Lulus'; | |
} elseif ($nilai_angka > 60) { | |
$nilai_huruf = 'B'; | |
$ket = 'Lulus'; | |
} elseif ($nilai_angka > 50) { |
# network interface settings; autogenerated | |
# Please do NOT modify this file directly, unless you know what | |
# you're doing. | |
# | |
# If you want to manage part of the network configuration manually, | |
# please utilize the 'source' or 'source-directory' directives to do | |
# so. | |
# PVE will preserve these directives, but will NOT its network | |
# configuration from sourced files, so do not attempt to move any of | |
# the PVE managed interfaces into external files! |
import socket | |
import sys | |
# Inisialisasi Create a TCP/IP socket | |
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
#Koneksi | |
server_address = ('www.detik.com', 80) | |
print >>sys.stderr, 'connecting to %s port %s' % server_address |
Dikumpulkan dengan penuh ❤︎︎ oleh Ian Mustafa.
Bisa diakses melalui Ctrl
+Shift
+P
(atau ⌘
+Shift
+P
di Mac).
{
server { | |
listen 80 default_server; | |
server_name domain.com *.domain.com; | |
root /srv/www/domain.com/public; | |
access_log /srv/www/domain.com/log/access.log; | |
error_log /srv/www/domain.com/log/error.log; | |
location / { | |
index index.php; |
<div id="root"></div> | |
# Automatically instal the latest nginx | |
wget -O - http://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
#Make a backup copy of your current sources.list file | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
#Now copy the following repositories to the end of ` /etc/apt/sources.list` | |
echo "deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list | |
echo "deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list |