Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicu surdu

View GitHub Profile
@surdu
surdu / OBD2
Last active May 2, 2020
VW pinouts
View OBD2
| Pin | Description | Pin | Description |
| --- | ---------------------- | --- | --------------------- |
| 1 | Not connected | 9 | Not connected |
| 2 | J1850 Bus + | 10 | J1850 Bus |
| 3 | Not connected | 11 | Not connected |
| 4 | Chassis Ground | 12 | Not connected |
| 5 | Signal Ground | 13 | Not connected |
| 6 | CAN (J-2234) High | 14 | CAN (J-2234) Low |
| 7 | ISO 9141-2 K-Line High | 15 | ISO 9141-2 K-Line Low |
| 8 | Not connected | 16 | Battery Power |
@surdu
surdu / webpack4upgrade.md
Created Aug 15, 2018 — forked from gricard/webpack4upgrade.md
Just some notes about my attempt to upgrade to webpack 4
View webpack4upgrade.md

This is not a complaint about Webpack or v4 in any way. This is just a record of my process trying it out so I could provide feedback to the webpack team

Hmm... I don't see any docs for 4.0 on https://webpack.js.org. I guess I'll just wing it. All I need to do is npm i -D webpack@next, right?

+ webpack@4.0.0-beta.2
added 1 package, removed 20 packages and updated 4 packages in 13.081s
View ci_error.txt
-> Pod installation complete! There are 12 dependencies from the Podfile and 24 total pods installed.
Error: Pod install command failed. Error output: Cloning into '/var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/d20180614-786-1e8quta'...
Cloning into '/var/folders/ms/xg67k5sn16xc7sdr_w3q45840000gn/T/d20180614-786-1vlgv5v'...
Note: checking out '33b0c3970d66e9ba9f923407b4ed2fab9064ad9b'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
View full_local_output.txt
$ npx tns prepare ios --log trace
Loading extensions.
Asserting extension nativescript-cloud is installed.
Extension nativescript-cloud is installed.
Asserting extension nativescript-starter-kits is installed.
Extension nativescript-starter-kits is installed.
System information:
{ platform: 'darwin',
shell: '/bin/bash',
os: 'Darwin tim-mb-011.3pillar.corp 16.7.0 Darwin Kernel Version 16.7.0: Fri Apr 27 17:59:46 PDT 2018; root:xnu-3789.73.13~1/RELEASE_X86_64 x86_64\n',
@surdu
surdu / README.md
Last active Aug 22, 2018
ngIf for vanilla JS + NativeScript
View README.md

What ?

This is the equivalent of using ngIf in angular + {N}, but for vanilla JS + {N}

Why ?

As opposed to using visibility attribute, this will not add the component specified in the template to the view, so the hidden component's loaded event won't be triggered until the component is shown.

View gist:d1981a3204851c3587f87e684ea7d734

#Base URL http://192.168.1.254

File Management Panel

GET / file management panel

Configuration options

all options follow the template: /?custom=1&cmd={Command}&par={Option} Command - setting/mode of the device