Skip to content

Instantly share code, notes, and snippets.


Al Ramadhan al-ramadhan

View GitHub Profile
iamtmrobinson / custom-props.tsx
Created Jan 8, 2018
Using custom props with a Redux form in Typescript
View custom-props.tsx
import * as React from 'react';
import {
Field as FormField,
} from 'redux-form';
interface CustomProps {
customText: string;
View piwik_nginx.conf
server {
listen 80;
access_log /var/log/nginx/piwik_access.log;
error_log /var/log/nginx/piwik_error.log;
root /opt/www/piwik;
# Static
location / {
index index.php;

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?

forairan /
Last active Dec 4, 2020
This snippet of code is syntactically valid in both PHP and Java, and produces the same output in both.
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
class PhpJava {
static function main() {
"Hello World!");
DarrylDias / default
Last active Aug 7, 2019
NGINX configuration for Grav CMS.
View default
server {
listen 80;
server_name localhost; # Change this with your domain name
root /var/www/grav; # The place were you have setup your Grav install;
index index.php;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;

Git Cheat Sheet

Visit my blog.


Getting Started

git init


jonathantneal /
Last active May 22, 2020
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\"
TSiege / The Technical Interview Cheat
Last active Dec 5, 2020
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat


I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!


plentz / nginx.conf
Last active Dec 5, 2020
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
nikcub /
Created Oct 4, 2012
Facebook PHP Source Code from August 2007
You can’t perform that action at this time.