Skip to content

Instantly share code, notes, and snippets.

Ferran Maylinch fmaylinch

Block or report user

Report or block fmaylinch

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
import java.util.*;
public class Example {
// TODO: Exercise:
// Write a function that given a list of words and a number n, returns list of the words longer than n.
public static void main(String[] args) {
List<String> words;
package tech.bts.javaexamples;
* Basic exercises to practice variable declarations and assignments.
public class BasicsExercises {
public static void main(String[] args) {
package sample;
import java.util.*; // Allow us to use classes from java.util package (List, Map, etc.) without their full name
* Summary of the building blocks of a programming language.
* (Note: this is a class comment)
public class ProgrammingBuildingBlocks {
View google-maps-example.html
<!DOCTYPE html>
#map {
height: 400px;
width: 100%;
#searchTextField {
View jess_intro.yaml
title: "Intro to Jess and JavaScript"
author: "Ferran Maylinch"
lessonVersion: "1.0"
minAppVersion: "1.4"
- title: "Intro to Jess"
import java.util.*;
public class Example {
public static void main(String[] args) {
System.out.println("I'm an example");
View jess_lesson.yaml
title: Sample Lesson
author: Ferran Maylinch
# Minimum app version needed for this lesson
minAppVersion: "1.0"
- title: Sample Exercise
import static com.mongodb.QueryOperators.*;
public List<Coupon> findBuyersByMktc(String mktc, Date start, Date end)
final DBCursor cursor = coupons.find(obj()
.append(FIELD_MKTC, mktc)
.append(FIELD_PURCHASED_ON, obj(GTE, start).append(LT, end)));
fmaylinch / Code cheat
Last active Nov 16, 2019
Common lines of code in different languages for quick reference and comparison
View Code cheat
You can’t perform that action at this time.