Better HN
topnewbestaskshowjobs
Log inSign up

Narzerus

46 karma · joined Sep 16, 2012 (14y ago) · 24 submissions

Chilean aspiring entrepreneur, love to create things of value.
Submissions

1.

Ask HN: Where do you deploy to in 2018 and how?

77 points · by Narzerus · 8y ago · 83 comments

comment 9y ago · link · parent

O.o god help us

3.

Ask HN: What is your CSS setup in 2017?

13 points · by Narzerus · 9y ago · 15 comments

4.

Ask HN: Building an MVP without a designer in 2017?

19 points · by Narzerus · 9y ago · 8 comments

comment 11y ago · link · parent

Environment variables should STILL be used in a production environment. This article helps manage development environments.

6.

Node.js: You are managing your environment variables wrong(medium.com ↗)

1 points · by Narzerus · 11y ago · 2 comments

7.

Ask HN: How can I monetize the chrome extension I made?

2 points · by Narzerus · 11y ago · 3 comments

8.

Facebook Real GIF posting and a neat extension(wired.com ↗)

1 points · by Narzerus · 11y ago · discuss

9.

Show HN: An extension to post GIFs on Facebook(chrome.google.com ↗)

2 points · by Narzerus · 11y ago · 2 comments

comment 11y ago · link · parent

Thanks, looking forward to your feedback, Yakuza is still a baby but I think it can grow into a very useful tool if the right people come and boost it up <3

11.

Show HN: Yakuza – Scraping framework for Node.js(github.com ↗)

3 points · by Narzerus · 11y ago · 2 comments

comment 11y ago · link · parent

Love this community, Merry Xmass <3

13.

Show HN: Chrome extension using Imgur's API for epic tab fun(chrome.google.com ↗)

1 points · by Narzerus · 12y ago · discuss

14.

Data visualization of couples sending long-distance messages(map.couple.me ↗)

1 points · by Narzerus · 12y ago · discuss

15.

Show HN: Turn Your New Tabs into Emma Watson with Image Tab(chrome.google.com ↗)

1 points · by Narzerus · 12y ago · discuss

16.

Show HN: Avoid the “read at” message on Facebook(medium.com ↗)

3 points · by Narzerus · 12y ago · discuss

comment 12y ago · link · parent

Author here:

Basically in angular-permission you define different validations the current session can pass or not. We are for now calling these 'roles' but im sure that's not the correct word to describe them.

To give you a better example, let's say we have a Session service which handles wether we are logged in or not, also stores information about the user currently logged in. We can define the following 'roles':

'anonymous' -> Session.currentUser is undefined 'admin' -> Session.currentUser.isAdmin is true 'user' -> Session.currentUser is defined

A common use-case would be not allowing the user to enter the signup and login view if we are already logged in. So to do that we would add in the login state a data.permissions object something like this:

permissions: { except: ['anonymous'] redirectTo: 'home' }

This is a fairly common use case of to what a library like this can be useful. Keep in mind it's still in early stage but we're currently using it in a fairly big project and it's saved us tons of lines of code.

comment 12y ago · link · parent

Author here: Awesome, let me know how it works for you and what would you improve.

19.

Show HN: Angular-permission simple access control for your routes in AngularJS(github.com ↗)

6 points · by Narzerus · 12y ago · 4 comments

20.

Show HN: Angular-permission is dead simple access control for your routes(github.com ↗)

1 points · by Narzerus · 12y ago · discuss

comment 12y ago · link · parent

I think a custom tailored extension should offer a more consistent experience

comment 12y ago · link · parent

Author here: I could make this open source if anyone wants to collaborate (would need to tidy up code first, I made this in my noob years and its messy as hell)

23.

Show HN: Extension to read messages without your friends knowing(rafaelvidaurre.tumblr.com ↗)

19 points · by Narzerus · 12y ago · 8 comments