Skip to content

Instantly share code, notes, and snippets.

View gilapo's full-sized avatar
😵‍💫
(Emoji's described it)

Agil Sulapohan Suaga gilapo

😵‍💫
(Emoji's described it)
  • Sydney, Australia
View GitHub Profile

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2
#include <iostream>
#include <math.h>
#include <stdlib.h>
using namespace std;
class perskuadrat{
friend ostream& operator<<(ostream&, perskuadrat&);
friend istream& operator>>(istream&, perskuadrat&);
private:
function loadContent() {
var url = "https://jsonplaceholder.typicode.com/posts/";
fetch(url)
.then((response) => response.json())
.then(function (data) {
var template = data.map((post) => {
return `
<h3>${post.title}</h3>
<p>${post.body}</p>
<hr>
@gilapo
gilapo / mac-homebrew-lamp.md
Created January 16, 2023 16:58 — forked from kitloong/mac-homebrew-lamp.md
Mac - Install Apache, PHP, MySQL + phpMyAdmin with Homebrew

!!! This guide was created with Macbook Pro M1. Path may vary for different or even same machine.

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install PHP