Skip to content

Instantly share code, notes, and snippets.

Curtis J Schofield gogocurtis

Block or report user

Report or block gogocurtis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cute_pattern_match.ex
# this is a cute pattern match
# get forms like
# $34.33
# 55
# €123
# €211
# 34 AUD
# 33 EUR
# etc
View keybase.md

Keybase proof

I hereby claim:

  • I am gogocurtis on github.
  • I am gogocurtis (https://keybase.io/gogocurtis) on keybase.
  • I have a public key ASBEyBz-YnEMxSF-uOW8GyclWKcaTL72d7p9gJxFFV3P4Qo

To claim this, I am signing this object:

View dev-ops-coding-challenge
High Level Reference:
https://en.wikipedia.org/wiki/Ident_protocol
For Lols:
http://www.clock.org/~fair/opinion/identd.html ( about how useless this protocol is)
Ident-D is an old protocol that runs on TCP port 113 traditionally - It’s hilariously easy to spoof.
This assignment creates a IDENTD (TCP) Plaintext Server for the IDENTD protocol that implements a spoof on the protocol.
View elm-rename-module
#!/usr/bin/env ruby
require 'fileutils'
class RenameModule
attr_reader :current_module_name, :new_module_name, :dir
def initialize(current_module_name:,
new_module_name:,
dir:
)
@current_module_name = current_module_name
@new_module_name = new_module_name
@gogocurtis
gogocurtis / min.md
Last active Jun 9, 2017 — forked from polinagogo/min.md
Making sure we have minification safe angular code
View min.md

For regular Javascript name your default function

ie:

Instead of doing this:

export default function (campaignService) {
  return {
    scope: {},
View html5_elements.rb
def html5elements
html5 = %%
<!--...--> Defines a comment
<!DOCTYPE> Defines the document type
<a> Defines a hyperlink
<abbr> Defines an abbreviation or an acronym
<acronym> Not supported in HTML5. Use <abbr> instead.
Defines an acronym
<address> Defines contact information for the author/owner of a document
<applet> Not supported in HTML5. Use <embed> or <object> instead.
You can’t perform that action at this time.