a.k.a. what to do when your ISP starts blocking sites :(
Set the SOCKS proxy to local SSH tunnel
networksetup -setsocksfirewallproxy "Ethernet" localhost 8080
To clear the domain and port
def GD(f,Df,x0,alpha, epsilon, max_iter,): | |
xn = x0 | |
for n in range(0,max_iter): | |
fxn = f(xn) | |
Dfxn = Df(xn) | |
if Dfxn == 0: | |
print('Turunan Nol. Stop.') | |
return None | |
xn = xn - alpha*Dfxn |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
%%%% PETUNJUK HARI 1 %%%% | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\thispagestyle{empty} | |
\section*{PETUNJUK UMUM} | |
\begin{enumerate} | |
\item Sebelum mengerjakan soal, telitilah banyak dan nomor halaman yang terdapat pada Naskah soal. Naskah terdiri atas \pageref{LastPage} halaman. | |
\item Tulislah nama dan asal Madrasah Anda pada lembar jawaban di tempat yang disediakan, sesuai petunjuk yang diberikan petugas. | |
\item Waktu yang diberikan untuk mengerjakan soal teori adalah 120 menit. |
file iterasi |
\documentclass[11pt,a4paper]{article} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\usepackage[margin=2cm,top=1cm]{geometry} | |
\usepackage{amsmath,amssymb,amsfonts} | |
\usepackage[bahasa]{babel} | |
\pagestyle{empty} | |
\input{tcilatex} | |
\begin{document} |