๐Ÿš€ OharaLumina

All Posts

Thumbnail for Posts

Wildcards in a Windows hosts file

๐Ÿ“‚ Categories: Programming

I want to setup my local development machine so that any requests for local are redirected to localhost The idea is that as I develop multiple sites I can just

Thumbnail for Posts

Xcode What is a target and scheme in plain language

๐Ÿ“‚ Categories: Programming

Yeah the title says it What do they mean in plain English language I really dont understand the explanation on Apples website and I need to rename my target

Thumbnail for Posts

add createdat and updatedat fields to mongoose schemas

๐Ÿ“‚ Categories: Node.js
๐Ÿท๏ธ Tags: Mongodb Express Mongoose

Is there a way to add createdat and updatedat fields to a mongoose schema without having to pass them in everytime new MyModel is called The createdat field

Thumbnail for Posts

Append an object to a list in R in amortized constant time O1

๐Ÿ“‚ Categories: Programming

If I have some R list mylist you can append an item obj to it like so mylistlengthmylist1 lt obj But surely there is some more compact way When I was new at R

Thumbnail for Posts

Are braces necessary in one-line statements in JavaScript

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Javascript

I once heard that leaving the curly braces in oneline statements could be harmful in JavaScript I dont remember the reasoning anymore and a Google search did

Thumbnail for Posts

Attempt to set a non-property-list object as an NSUserDefaults

๐Ÿ“‚ Categories: Programming

I thought I knew what was causing this error but I cant seem to figure out what I did wrong Here is the full error message I am getting Attempt to set a

Thumbnail for Posts

Auto-center map with multiple markers in Google Maps API v3

๐Ÿ“‚ Categories: Javascript

This is what I use to display a map with 3 pinsmarkers ltscriptgt function initialize var locations DESCRIPTION 41926979 12517385 3 DESCRIPTION 41914873

Thumbnail for Posts

C - Keyword usage virtualoverride vs new

๐Ÿ“‚ Categories: C#

What are differences between declaring a method in a base type virtual and then overriding it in a child type using the override keyword as opposed to simply

Thumbnail for Posts

C isnt that hard void f

๐Ÿ“‚ Categories: Programming

I just saw a picture today and think Id appreciate explanations So here is the picture Transcription C isnt that hard void f defines f as an array of