Skip to content

Instantly share code, notes, and snippets.

@uknj
uknj / GICS Mappings - March 2023 Update.csv
Last active June 17, 2025 13:31
Mapping of all GICS codes from Sub-Industry through to sector. Using the latest GICS update effective March 17 2023. All commentary removed.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 4.
Sub-Industry Code,Sub-Industry,Definition,Industry Code,Industry,Industry Group Code,Industry Group,Sector Code,Sector
10101010,Oil & Gas Drilling,Drilling contractors or owners of drilling rigs that contract their services for drilling wells.,101010,Energy Equipment & Services,1010,Energy,10,Energy
10101020,Oil & Gas Equipment & Services,"Manufacturers of equipment, including drilling rigs and equipment, and providers of supplies such as fractured silica and services to companies involved in the drilling, evaluation and completion of oil and gas wells.
This Sub-Industry includes companies that provide information and data services such as seismic data collection primarily to the oil & gas industry and distributors of oil & gas equipment products.
This Sub-Industry excludes oil spill services companies classified in the Environmental & Facilities Services Sub-Industry.",101010,Energy Equipment & Services,1010,Energy,10,Energy
10102010,Integrated Oil & Gas,"Integrated oil companies engaged in the exploration
@uknj
uknj / UltrasoundAlgorithm
Last active August 29, 2015 14:21
An ultrasound algorithm for the HC-SR04 ultrasonic sensor and the conversion to pwm in order to allow the HC-SR04 to be compatible with the ArduPilot.
#include <Ultrasonic.h> // This library is licensed under Creative Commons Share alike and Attribution by J.Rodrigo. See: https://github.com/JRodrigoTech/Ultrasonic-HC-SR04
Ultrasonic ultraleft(11,3, 25000); // (Trig PIN, Echo PIN, Time Out in milliseconds- A lower value will limit the maximum distance reading.)
Ultrasonic ultraright(6,5, 25000); // (Trig PIN, Echo PIN, Time Out in milliseconds- A lower value will limit the maximum distance reading.)
int pwmleft;
int pwmright;
void setup(){
pinMode(2, OUTPUT); // GND pin
@uknj
uknj / UltrasoundAlgorithm
Created February 10, 2015 15:29
A basic ultrasound algorithm for Arduino. To work with the HC-SR04 ultrasonic sensor and a servo motor.
#include <Servo.h>
#define trig 6
#define echo 5
#define motor 3
int distance;
Servo servoMain; // Define our Servo
int ultrasound(){
int i, temp, distance = 0;
for(i=0; i<20; ++i) {

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
/**
* Fetch data from the web and save it into a Google Sheet document
*
* Requirements:
1. NodeJS
2. npm install request
3. npm install cheerio
4. npm install edit-google-spreadsheet
* Author: Ido Green | plus.google.com/+Greenido