🏳️🌈
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'coderay' | |
codeToHighlight = `pbpaste` | |
highlightedCode = CodeRay.scan(codeToHighlight, :ruby).div | |
IO.popen("pbcopy", mode='w') do |io| | |
io.write highlightedCode | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Test Page</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<p>Pretend the domain is http://binarymuse.net/.</p> | |
<p><a href="http://google.com/">Go to Google</a></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.fresno.gwt.vehiclereservation.shared; | |
import java.io.Serializable; | |
import java.util.Arrays; | |
import java.util.Date; | |
import java.util.List; | |
/** | |
* <dl> | |
* <dt><b>Title: </b><dd>SimpleDateFormat</dd> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'mongo' | |
require 'faker' | |
require 'pp' | |
require 'benchmark' | |
include Mongo | |
class Exception |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(do not use) 09/GFA-MBA-710-OLA1 | |
-MTH-726-FRC1 | |
2010 Stacy Hammons Dev | |
ADM-742-Construction | |
AIMS Circles | |
App Tools | |
Art & Lit ECE | |
ART 300 D | |
BIB 720 Church and God's Mission - Geddert | |
BIB 752 Biblical Theology II - Geddert |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* FPU EDIT (bkt) 1/2010 | |
* These functions are used for course sorting and for course grouping. | |
* Used in the function below (print_my_courses()). | |
*/ | |
/** | |
* This function is used to sort an array of course objects | |
* by chronological order based on the FPU naming scheme. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.fresno.samples.gwt.informerrmi.server; | |
import java.util.List; | |
import com.entrinsik.informer.core.client.data.LoadOptions; | |
import com.entrinsik.informer.core.client.data.Page; | |
import com.entrinsik.informer.core.domain.DataGroup; | |
import com.entrinsik.informer.core.domain.Order; | |
import com.entrinsik.informer.core.domain.report.Report; | |
import com.entrinsik.informer.core.domain.report.ReportExecutionRequest; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ActiveModel | |
class Errors | |
def full_message_per_field | |
messages_per_field = [] | |
handled_attributes = [] | |
each do |attribute, messages| | |
next if handled_attributes.include? attribute | |
messages = Array.wrap(messages) | |
next if messages.empty? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## Find The Longest Palindrome In A String | |
## October 15, 2010 | |
## | |
## http://programmingpraxis.com/2010/10/15/find-the-longest-palindrome-in-a-string/ | |
## | |
## Greplin issued a programming challenge recently that required programmers | |
## to solve three problems; when completed, Greplin issued an invitation to | |
## send them a resume. The first problem required the programmer to find the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## Find The Longest Palindrome In A String | |
## October 15, 2010 | |
## | |
## http://programmingpraxis.com/2010/10/15/find-the-longest-palindrome-in-a-string/ | |
## | |
## Greplin issued a programming challenge recently that required programmers | |
## to solve three problems; when completed, Greplin issued an invitation to | |
## send them a resume. The first problem required the programmer to find the |