Ali Naci Erdem

Personal Blog

  • Computers
  • DIY
  • GitHub
  • LinkedIn
  • Support Me

Computers

Shadow DOM is still somewhat shady

22nd October 2017 / Leave a Comment

I was recently building a web app using Polymer 2.0 and need to include some SVG assets for wider resolution support. As you may know, Polymer fully supports native shadow DOM with the 2.0 version. When using a shadow DOM context, the style tag will apply the given CSS rules inside the shadow context. This … [Read more…]

Posted in: Computers Tagged: css, dom, JavaScript, js, polymer, Programming, Scope, shadow dom, style, web components

Redirect OSX internet sharing traffic

7th May 2017

To be able to eavesdrop to internet sharing traffic, you may use “pf” or packet filtering tool, which is a kind of firewall used by the mac’s operating system. But hold on, why would you need to listen to internet traffic on a wi-fi device? I usually develop for wi-fi enabled devices and knowing what … [Read more…]

Posted in: Computers Tagged: Autostart, Daemon, Debugging, eavesdropping, Firewall, http, https, internet sharing, osx, pf, Programming, proxy

Make MacOS keys familiar to Windows

1st January 2017

I have recently started using a OSX installed macbook pro work for my work. It is a performance beast but the main environment I’m used to up to this point was Windows. I had a hard time getting used to the key layout, especially the command key. I’m using Macs occasionally for mobile Safari debugging … [Read more…]

Posted in: Computers Tagged: karabiner, keyboard, macos, mapping, osx

Simple Proxy Server Using Node.js to Bypass CORS

10th December 2016

Node.js is a javascript runtime based on Chromium’s V8 javascript engine. It is really simple to create a basic HTTP server using the node.js API and a web based proxy is just an HTTP server that relays incoming requests back to the original recipient. So we will capture the requests and forward them using a … [Read more…]

Posted in: Computers Tagged: cors, Debugging, JavaScript, js, node, nodejs, Programming, proxy, tutorial
« Previous 1 2 3 Next »