Skip to content

Instantly share code, notes, and snippets.

View carvil's full-sized avatar
💻
Hiring Engineers

Carlos Vilhena carvil

💻
Hiring Engineers
View GitHub Profile
We can't make this file beautiful and searchable because it's too large.
["/government/organisations/education-funding-agency/about/complaints-procedure", "/government/organisations/department-for-education/about/complaints-procedure", "/government/organisations/department-for-education", "/government/groups/teacher-reference-group", "/government/collections/statistics-school-workforce", "/government/organisations/education-funding-agency", "/government/organisations/ofsted/about/statistics", "/government/organisations/ofsted/about", "/government/organisations/department-for-education/about/equality-and-diversity", "/government/groups/headteacher-reference-group", "/government/organisations/department-for-education/about", "/government/case-studies/honours-recipients-of-awards-who-have-improved-young-lives", "/government/publications/efa-annual-report-and-accounts-for-the-year-ended-31-march-2015", "/government/publications/educational-excellence-everywhere", "/government/publications/educational-excellence-everywhere-impact-assessment", "/government/publications/dfe-strategy-2015
@carvil
carvil / data.csv
Created June 1, 2017 12:16
Output of taxonomy:analysis:taxons_tagged_to_content[c58fdadd-7743-46d6-9629-90bb3ccc4ef0]
We can't make this file beautiful and searchable because it's too large.
organisations,content_id,base_path,number_of_taxons
"Closed organisation: Department for Business, Innovation & Skills; Student Loans Company",e57daef4-5eb5-431c-b0ad-14119ab0355f,/student-finance-register-login,2,64aa6eec-48b5-481d-9131-9c8b6326eea1,5c9372ef-8cac-4c41-b95b-6117ea052b78
"Closed organisation: Department for Business, Innovation & Skills",45ad868a-2e79-4029-991b-c29559d7eb29,/apply-apprenticeship,1,ff0e8e1f-4dea-42ff-b1d5-f1ae37807af2
"Closed organisation: Department for Business, Innovation & Skills; Student Loans Company",d38bafd3-2c46-4be2-b50b-50c2ba7d30ed,/student-finance,2,64aa6eec-48b5-481d-9131-9c8b6326eea1,5c9372ef-8cac-4c41-b95b-6117ea052b78
"Closed organisation: Department for Business, Innovation & Skills; Student Loans Company",83155b50-418e-437c-9389-cf0e1302900f,/apply-online-for-student-finance,2,64aa6eec-48b5-481d-9131-9c8b6326eea1,5c9372ef-8cac-4c41-b95b-6117ea052b78
"Closed organisation: Department for Business, Innovation & Skills; Student Loans Company",d490be5f-1998-4f20-a
@carvil
carvil / index.html
Last active December 20, 2016 16:49
Visualise the taxonomy using D3.js (tree view)
<!DOCTYPE html>
<meta charset="utf-8">
<style type="text/css">
.node {
cursor: pointer;
}
.overlay{
background-color:#EEE;
@carvil
carvil / script.rb
Last active December 19, 2016 12:21
hierarchy = {}
content_id = 'c58fdadd-7743-46d6-9629-90bb3ccc4ef0'
def guidance_document_types
[
'statutory_guidance',
'answer',
'guidance',
'detailed_guidance',
'detailed_guide',

Keybase proof

I hereby claim:

  • I am carvil on github.
  • I am carvil (https://keybase.io/carvil) on keybase.
  • I have a public key ASCtkVPaHq5MgBOCwZJh5JyUZP4e1fpPp8xfh54_Pwj80wo

To claim this, I am signing this object:

#logos.tab-pane
%h2 Logos
.row-fluid.logos-pane
.span4
%img{:alt => "", :src => "https://s3-eu-west-1.amazonaws.com/appearhere/assets/about/logo-dark.png"}
.span4
%ul
%li
= link_to 'Download .JPG', "https://s3-eu-west-1.amazonaws.com/appearhere/assets/about/logo-dark.jpg"
%li
@carvil
carvil / messages.txt
Created December 9, 2012 21:19
Retrieving messages from coke
~/sandbox/coke(branch:master*) » http http://localhost:3000/tweets.json carvil@macbookair - 1.9.3-p327
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: Keep-Alive
Content-Length: 2702
Content-Type: application/json; charset=utf-8
Date: Sun, 09 Dec 2012 21:18:17 GMT
Etag: "783430049a812f2c9f0462688051be0b"
Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10)
X-Request-Id: 0bea7890818d6352ef5cd26c08e8a48a
@carvil
carvil / Gemfile
Created October 14, 2012 20:42
Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.8'
gem 'sqlite3'
gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git'
gem 'turbo-sprockets-rails3'
gem 'ripple', git: "git://github.com/basho/ripple.git"
gem "riak-client", "~> 1.0.5"
gem "jquery-rails", "1.0.19"
gem 'omniauth-twitter'
@carvil
carvil / risk-chef-cookbook-error.txt
Created October 6, 2012 15:31
chef-client output with unchanged recipe
[2012-10-06T16:22:22+01:00] DEBUG: Streaming download from http://s3.amazonaws.com/downloads.basho.com/riak/1.2/1.2.0/riak_1.2.0.tar.gz to tempfile /tmp/chef-rest20121006-12984-1x0mmzj
================================================================================
Error executing action `create` on resource 'remote_file[/var/chef/cache/riak_1.2.0.tar.gz]'
================================================================================
Net::HTTPServerException
------------------------
403 "Forbidden"
@carvil
carvil / bla.rb
Created August 2, 2012 14:23
Initialise only once
class Bla
attr_accessor :my_time
def my_time
@my_time ||= Time.now.to_i + 100
end
end