- API is only available over HTTPS at
https://api.skylines.aero/ - HTTP will show
404 Not Found - All data is sent and received as JSON
- Blank fields are included as
null
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| next-server 10.0.3.2; | |
| if ( substring(option vendor-class-identifier, 0, 9) = "AAPLBSDPC" | |
| and substring(option vendor-class-identifier, 10, 4) = "i386" ) { | |
| # This needs to be there to tell the client we're an Apple boot server | |
| option vendor-class-identifier "AAPLBSDPC"; | |
| # Normally the client asks for a list, we respond, they tell us what we want, | |
| # then we send a select back with the information of that image. | |
| # This skips all that and forces the select down to the client. | |
| option vendor-encapsulated-options 01:01:02; | |
| # Use ipxe.efi for native drivers, or snponly.efi for underlying UNDI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!ipxe | |
| params | |
| :pciscan pciscan addr || goto pciscan_done | |
| param pci-dev-${addr:busdevfn} ${pci/${addr}.0.2}:${pci/${addr}.2.2} | |
| goto pciscan | |
| :pciscan_done | |
| chain http://server.domain.lan/inventory.php##params |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :memtest-ipxe | |
| chain memtest-${memtest-version}.0 ${memtest-args} && set memtest GOOD || set memtest BAD | |
| set memtest_errno:uint8 ${errno} | |
| iseq ${memtest} GOOD && goto memtest-info || | |
| iseq ${memtest_errno} 0x1 && set memtest BAD || set memtest UNKNOWN | |
| :memtest-info | |
| menu Your memory seems to be ${memtest} | |
| item memtest-report Report memtest result to web service | |
| item --key 0x08 menu-diag Back to diagnostics menu... | |
| choose --default menu-diag selected && goto ${selected} || goto start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run a PCI/SMBios/net inventory scan and upload the results. This gives us a | |
| # way of tracking nodes to some extent, leaving us less blind than usual. | |
| # | |
| # We use the iPXE pciscan command to enumerate the PCI bus. For each device, we | |
| # check the 'header type' register at offset 0x0e. If it's type 0 (endpoint), | |
| # we can read the subsystem vendor and device registers too. Unfortunately, if | |
| # the 7th bit of the header type field is set (0x80), it indicates a | |
| # multi-function device. So to check the type, this bit should be masked out. | |
| # Masking is not possible with iPXE commands, so we have to duplicate some of | |
| # the iseq tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| option client-arch code 93 = unsigned integer 16; | |
| subnet 10.8.8.0 netmask 255.255.255.0 { | |
| range 10.8.8.100 10.8.8.199; | |
| option routers 10.8.8.1; | |
| option domain-name-servers 10.8.8.1; | |
| next-server 10.8.8.1; | |
| if exists user-class and option user-class = "iPXE" { | |
| filename "http://10.8.8.11/ipxeroot/bootstrap.ipxe"; | |
| } elsif option client-arch != 0 { | |
| filename "ipxe.efi"; |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');####Rets Rabbit http://www.retsrabbit.com
Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Based on sysctl function by Michael Lynn | |
| # https://gist.github.com/pudquick/581a71425439f2cf8f09 | |
| from ctypes import CDLL, c_uint, byref, create_string_buffer | |
| from ctypes import cast, POINTER, c_int32, c_int64 | |
| from ctypes.util import find_library | |
| import struct | |
| libc = CDLL(find_library('c')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4 |