Skip to content

Instantly share code, notes, and snippets.

View georgiee's full-sized avatar
👻
Ghosting github.com since a while

Georgios Kaleadis georgiee

👻
Ghosting github.com since a while
View GitHub Profile
@georgiee
georgiee / parts.md
Last active August 1, 2018 06:00
Make: Eletronics Shopping

Resistors

  • 10x 47Ω
  • 10x 100Ω
  • 10x 150Ω
  • 10x 330Ω
  • 10x 680Ω
  • 10x 1KΩ
  • 10x 2.2KΩ
  • 10x 4.7KΩ
@georgiee
georgiee / README.md
Last active July 27, 2018 09:24
Angular Custom Webpack Config (angular.json, architect target)

Ever wondered how to build a custom webpack config for Angular? I did and I jsut stumbled upon this file in the repository https://github.com/manfredsteyer/ngx-build-plus which aims to help building multiple standalone Angular Elements.

I quickly spotted this part in the angular.json which will replace the default browser build.

"architect": {
    "build": {
      "builder": "ngx-build-plus:build",
    }
@georgiee
georgiee / GDPR.md
Last active May 18, 2020 07:59
About GDPR (German DSGVO), Linklist, UX/UI, Cookies, Google Analytics

GDPR

My bucket list for stuff around GDPR.

General

Really good and structured overview is given by ICO

  • Privayc by design (see smashingmagazine article)
  • GDPR is all about consent (see Recital 32), giving choices to the user
  • Controller vs Processor
  • Personally Identifiable Information (PII)
@georgiee
georgiee / _rc5.md
Last active April 24, 2018 08:42
Angular Upgrade Log v6
npm install -g @angular/cli@next
npm install @angular/cli@next
ng update @angular/cli --from=1 --migrate-only
ng update @angular/core@next --force
ng update @angular/cdk@next

Now with rc5:

@georgiee
georgiee / ng-packagr-errors.md
Last active March 29, 2018 11:14
ng-packagr

Checklist for some errors I had in ng-packagr.

  • You need Typescript 2.6 to use submodules otherwise you get module not found errors ng-packagr/ng-packagr#677

  • Always use ng serve --follow-symlinks when linked locally otherwise you get injection errors

  • Never rely on barrel files link directly or at least link directly to a barrel. Otherwise you will receive ERROR in : Unexpected value 'undefined' imported by the module [...] during the AOT building phase

@georgiee
georgiee / basics.md
Last active March 28, 2018 07:36
Junior's web development cookbook

Some nice things you can start learning from day one.

Frameworks

Angular, React & Vue. That's your set of skill which makes you versatile. Angular is very famous in Germany. React in the rest of the world and you can benefit from React twice when you dive into ReactNative.

The official Tutorials for all three frameworks are great. Goal: Try them for all of them so you can talk about those frameworks.

@georgiee
georgiee / gist:0c028493710e80ba25597fcc9cbde009
Created May 10, 2017 16:13
ngx-translate load from object map, key/value
import { Observable } from 'rxjs/Observable';
const translations: any = {
'stage_headline' : 'hello'
};
class MappedDataLoader implements TranslateLoader {
getTranslation(lang: string): Observable<any> {
return Observable.of(translations);
}
@georgiee
georgiee / __README_main-spotify-files-js-nov-2016.md
Last active November 2, 2016 17:10
Main Spotify JS sourcefiles [education, Nov 2016]

All files listed here were publicly accessible and are only formatted with the prettyify button in Google Developer Console.

@georgiee
georgiee / description.md
Created May 12, 2016 12:09
Timber vs. WP Meta SEO. No output. Conflicting ob_start buffers?
Scope:
How to create a local project which should be use in another local project- as a library
.
+ Make it a local linked package, install it in your other project, enable the library option in webpack, builed it manually or with the watch option.
1. Use npm link to symlink your local module A into module B. So all your changes in module A are reflected immediately in module B
See here: https://docs.npmjs.com/cli/link
2. Make sure that your source module (A) is wrapped correctly by webpack so you can require it like any other library.
Use this: https://github.com/webpack/webpack/tree/master/examples/multi-part-library