Skip to content

Instantly share code, notes, and snippets.

View surdu's full-sized avatar
🪛
Everybody needs a hobby

Nicu surdu

🪛
Everybody needs a hobby
View GitHub Profile

#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

$ 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',
-> 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
@surdu
surdu / webpack4upgrade.md
Created August 15, 2018 00:40 — forked from gricard/webpack4upgrade.md
Just some notes about my attempt to upgrade to webpack 4

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
@surdu
surdu / README.md
Last active August 22, 2018 12:15
ngIf for vanilla JS + NativeScript

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.

<? phpinfo(); ?>
@surdu
surdu / OBD2
Last active May 2, 2020 23:21
VW pinouts
| 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 |