Skip to content

Instantly share code, notes, and snippets.

View analisboeta's full-sized avatar
😃
Angular FTW

Ana Lourenço analisboeta

😃
Angular FTW
  • Lisbon, Portugal
View GitHub Profile
@analisboeta
analisboeta / ts
Created March 10, 2021 18:24 — forked from diegohordi/ts
Detect screen size Angular
import {BreakpointObserver} from '@angular/cdk/layout';
...
breakpointObserver.observe(['(max-width: 1024px)']).subscribe(result => {
if (result.matches) {
this.responsiveVersion = true;
} else {
this.responsiveVersion = false;
}
});
@analisboeta
analisboeta / codePoetrySOADChopSuey.java
Last active December 7, 2016 11:34
Code Poetry - System of A Down: Chop Suey
/**
* Created by <BOOLEgans_Code Cadet> Ana Lourenço on 01/11/16.
*/
public class ChopSuey {
public static void main(String[] args) {
singFirstVerse();