Skip to content

Instantly share code, notes, and snippets.

View pcchou's full-sized avatar

Ping-yu Chou pcchou

View GitHub Profile
-- This exercise covers the first 6 chapters of "Learn You a Haskell for Great Good!"
-- Chapter 1 - http://learnyouahaskell.com/introduction
-- Chapter 2 - http://learnyouahaskell.com/starting-out
-- Chapter 3 - http://learnyouahaskell.com/types-and-typeclasses
-- Chapter 4 - http://learnyouahaskell.com/syntax-in-functions
-- Chapter 5 - http://learnyouahaskell.com/recursion
-- Chapter 6 - http://learnyouahaskell.com/higher-order-functions
-- Download this file and then type ":l Chapter-1-6.hs" in GHCi to load this exercise

Bigger is Better (500)

Problem

The larger the primes, the stronger the RSA cryptosystem is, right?

Data.

Hint

@pcchou
pcchou / index.js
Last active August 29, 2015 14:10 — forked from edokeh/index.js
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@pcchou
pcchou / mc status
Created November 11, 2013 11:29 — forked from mmis1000/mc status
<?php
/**
* Minecraft server status fallback class
* Read the simple server info wich are actually for minecraft clients
* @author Patrick K. - http://www.silexboard.org/ - https://github.com/NoxNebula
* @license GNU Public Licence - Version 3
* @copyright c 2011-2013 Patrick K.
*/
/**