Skip to content

Instantly share code, notes, and snippets.

View mufid's full-sized avatar

Mufid mufid

View GitHub Profile
@mufid
mufid / gist:7347028
Created November 7, 2013 00:49
uji.txt
Rails 4 =======================================================================
Kasus: Baseline ===============================================================
SUBS: A-------------- 50R 10C
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3000
Document Path: /
Document Length: 14846 bytes
@mufid
mufid / default
Created October 19, 2013 09:04
nginx configuration
# http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.04-lts
server {
listen 80; ## listen for ipv4; this line is default and implied
listen [::]:80 default ipv6only=on; ## listen for ipv6
root /usr/share/nginx/www;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
#include <string>
#include <iostream>
using namespace std;
string num_to_text[] = { "", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen" };
string tens_to_text[] = { "", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety" };
string power_to_text[] = { "", "thousand", "million", "billion" };
string padIfNeeded (string ans)
{

Lesson Learned: Digimon Adventure

How To Make Heart-Touching Story

Misteri

Buat beberapa bagian dalam cerita menjadi misteri, tidak dijelaskan, tetapi sering muncul dalam cerita. Beberapa misteri yang sering muncul di Digimon Adventure tetapi tidak pernah dijelaskan mengapa:

  • Saat digivolving, ada blok garis Digivice yang menyambungkan digivice ke Sphere, yang mana sphere itu (terlihat seperti) memberikan energi ke Digimon

Hai Jakarta!

Sudah dua kali lebih saya pergi bolak balik ke Jakarta. Dua kali pula saya kecopetan.

Seriously, what happened to Jakarta?

tes
@mufid
mufid / solar.c
Last active December 16, 2015 10:19
// Solar.c
// OpenGL SuperBible, Chapter 5
// Demonstrates OpenGL nested coordinate transformations
// and perspective
// Program by Richard S. Wright Jr.
// Modified by Mufid
#include <GL/glut.h>
#include <math.h>
http://www.kaskus.co.id/thread/510f494a1a7608c85500000d/new-lounge-andromaxu-45quot-lebih-besar-lebih-cepat-amp-lebih-canggih/
C:\Users\Mufid>python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>>
>>> print(platform.uname())
('Windows', 'fidzmobile', '7', '6.1.7601', 'AMD64', 'Intel64 Family 6 Model 37 Stepping 5, GenuineIntel')
>>>
KeyboardInterrupt
>>> ^Z^X