Skip to content

Instantly share code, notes, and snippets.

Avatar
🎮
making

Érico Vieira Porto ericoporto

🎮
making
View GitHub Profile
View tesouro_direto.go
package main
import (
"encoding/json"
"flag"
"io/ioutil"
"launchpad.net/xmlpath"
"log"
"net/http"
"strconv"
@daniellevass
daniellevass / article.md
Last active Nov 13, 2015
project tigr books
View article.md

#Project Tigr Books

Imgur

Getting more young people interested in technology is vital for the sustainability of the tech industry in Bath and Bristol. We've written here before about what we're doing teaching in the Bath area, and why other people should start helping us too.

We're now on kickstarter with a project to turn some of our online materials into physical books to make it easier for more people to teach their own friends and family to code. Our materials are not a railroad of instructions, unlike most typical code websites where everyone makes exactly the same thing; however they inspire creativity and everyone makes something different. For example, one book will teach creating your own interactive emoji. Our materials are also accessible

@SamDarbonne
SamDarbonne / week1-learning-objectives.md
Last active Sep 15, 2016
Week 1 Learning Objectives
View week1-learning-objectives.md

Week 1 Learning Objectives

###Git & Github

  • Explain the uses of Git and GitHub for tracking their changes and collaborating on projects.
  • Draw a model of local, remote, and working copies of their repositories.
  • Write some code, commit the changes, and write a strong commit message.
  • Deploy first live website using gh-pages.

###HTML & CSS

@daniellevass
daniellevass / littlebits.md
Last active Oct 23, 2016
littlebits hack day @ bristol
View littlebits.md

##1 starting

Firstly, using terminal install YQL and request if you don't have it already:

npm install request
npm install yql

Create a new .js file - make sure you can navigate to it with the terminal prompt to run.

View README.md

Overview

Our app relies entirely on the current_user helper method (found in our ApplicationController) to retrieve the User object associated with the currently logged-in user (if any). You guys are using the devise gem for authentication, but you still have a current_user helper method which is made available to ApplicationController (and all subclasses).

Normally, the current_user method looks something like this:

def current_user
  # do some magic to get the user id from the (encrypted) session cookie…
  user_id = get_user_id_from_session
@acturcato
acturcato / ACT_WEATHER.ino
Last active Jul 1, 2017
Web Client to consume Weather Underground web service (RESTful and JSON formats). This sketch connects to a website (http://api.wunderground.com) using an Arduino + Ethernet shield and get data from site. Circuit: * Arduino MEGA 2560 R3 Board. * Ethernet shield attached to pins 10, 11, 12, 13. Created 07 Jan 2014 by Afonso C. Turcato. Arduino ID…
View ACT_WEATHER.ino
/*
Web Client to consume Weather Underground web service
This sketch connects to a website (http://api.wunderground.com)
using an Arduino Ethernet shield and get data from site.
Circuit:
* Arduino MEGA 2560 R3 Board
* Ethernet shield attached to pins 10, 11, 12, 13
View WhereAmINot.ino
/*
* Arduino Anti-GPS Silliness
* by Connor Nishijima 2016
*
* By reading the frequency of AC cycles in your house using an open analog pin,
* I can tell you for sure what countries you AREN'T in. Pretty god damn useless,
* but fun, nonetheless.
*
* You'll need an Arduino Mega to fit the array of Strings below, Uno doesn't cut it
* even with use of PROGMEM. The Sketch is also written to use the Seeed Studio TFT
@harold-b
harold-b / dear imgui, selectable popup example
Created Aug 6, 2016
A functional selectable pseudo-popup window example using dear imgui, for use with autocomplete or input history.
View dear imgui, selectable popup example
const int ENTRY_COUNT = 10;
const char* ENTRIES[ENTRY_COUNT] =
{
"Entry 0",
"Entry 1",
"Entry 2",
"Entry 3",
"Entry 4",
"Entry 5",
@dougbinks
dougbinks / ImGuiUtils.h
Created Nov 18, 2017
ImGuiUtils.h with TextURL
View ImGuiUtils.h
#pragma once
#include "RuntimeImGui.h"
#include "RuntimeInclude.h"
RUNTIME_MODIFIABLE_INCLUDE;
#include "IconsFontAwesome.h" // from https://github.com/juliettef/IconFontCppHeaders
#include "PlatformUtils.h"
namespace ImGui
@bdsl
bdsl / matt-Hancock-mp-We must all do everything in our power to protect lives.md
Last active Mar 17, 2020
We must all do everything in our power to protect lives - Matt Hancock MP Secretary of State for Health and Social Care - The Telegraph 14 Mach 2020
View matt-Hancock-mp-We must all do everything in our power to protect lives.md
You can’t perform that action at this time.