Skip to content

Instantly share code, notes, and snippets.

Thomas Cioppettini tomciopp

  • Greenville, SC
Block or report user

Report or block tomciopp

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
tomciopp / README.txt
Created Nov 25, 2018
Pure Elixir/Erlang CRC32C implementations
View README.txt
I have tested the elixir version and it works, but have not tested the erlang version of this code.
tomciopp / colors.scss
Created Jan 15, 2018
Using a color palette
View colors.scss
$palettes: (
black: (
lightest: hsl(0, 0%, 40%),
lighter: hsl(0, 0%, 35%),
light: hsl(0, 0%, 30%),
base: hsl(0, 0%, 25%),
dark: hsl(0, 0%, 20%),
darker: hsl(0, 0%, 15%),
darkest: hsl(0, 0%, 10%)
View debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/8.1.0_1/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install' ]
2 info using npm@5.0.3
3 info using node@v8.1.0
4 verbose npm-session 6ff218f68cdf657a
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall assets
7 info lifecycle @~preinstall: @
View debug.log
This file has been truncated, but you can view the full file.
12006 silly decomposeActions build core-util-is@
12007 silly decomposeActions install core-util-is@
12008 silly decomposeActions postinstall core-util-is@
12009 silly decomposeActions finalize core-util-is@
12010 silly decomposeActions refresh-package-json core-util-is@
12011 silly decomposeActions fetch create-ecdh@
12012 silly decomposeActions extract create-ecdh@
12013 silly decomposeActions preinstall create-ecdh@
View phoenix logging
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
;require.register("web/static/js/logging.js", function(exports, require, module) {
"use strict";
console.log("Logs to the console");
tomciopp / application.rb
Created Aug 31, 2012
Setting up Postgis with Postgresql
View application.rb
require 'rails/all'
require 'squeel'
require 'active_record/connection_adapters/postgis_adapter/railtie'
tomciopp / appointment.rb
Created Jun 21, 2012
Modeling a reservation system
View appointment.rb
belongs_to :reservation
belongs_to :user
attr_accessible :reservation_id, :user_id
View development.rb
WantFreight::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
View gist:2928062
gem 'rails', '~> 3.2.6'
gem "pg", "~> 0.11.0"
gem 'devise', '~> 1.4.3'
gem 'devise-async'
gem 'geocoder'
gem 'bourbon'
gem "simple_form", "~> 2.0.1"
gem 'will_paginate', '> 3.0'
gem 'kaminari'
gem 'thinking-sphinx'
tomciopp / My_Problem.txt
Created Jun 1, 2012
Devise with Wicked, after user signs up:
View My_Problem.txt
When a user signs up they are directed to a page that asks them to enter in their profile info
if they are a shipper or a carrier. I am unsure what to put in the new and create actions of the user_steps controller since I am creating two separate objects for the same controller. The actions for creating both of these objects should be exactly the same.
You can’t perform that action at this time.