$ cat /dev/shm/runcommand.log
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-quicknes/quicknes_libretro.so --config /opt/retropie/configs/nes/retroarch.cfg "/home/pi/RetroPie/roms/nes/Super Mario Bros. 3 (Europe).nes" --appendconfig /dev/shm/retroarch.cfg
/opt/retropie/emulators/retroarch/bin/retroarch: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory
/opt/retropie/emulators/retroarch/bin/retroarch: error while loading shared libraries: libavformat.so.58: cannot open shared object file: No such file or directory
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
| INIT: Entering runlevel: 2 | |
| Booting 'voyage-linux-03Jan10' | |
| root (hd0,0) | |
| Filesystem type is ext2fs, partition type 0x83 | |
| kernel /vmlinuz root=LABEL=ROOT_FS console=ttyS0,115200n8 | |
| [Linux-bzImage, setup=0x3000, size=0x163bd0] | |
| initrd /initrd.img | |
| [Linux-initrd @ 0xfa87000, 0x56834b bytes] |
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
| <?php | |
| // reference https://github.com/WP-API/WP-API/blob/develop/lib/infrastructure/class-wp-rest-server.php | |
| // serve_request() function | |
| add_filter( 'rest_pre_serve_request', 'multiformat_rest_pre_serve_request', 10, 4 ); | |
| function multiformat_rest_pre_serve_request( $served, $result, $request, $server ) { | |
| // assumes 'format' was passed into the intial API route | |
| // example: https://baconipsum.com/wp-json/baconipsum/test-response?format=text |
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
| version: "3" | |
| services: | |
| db: | |
| build: db | |
| read_only: true | |
| restart: unless-stopped | |
| volumes: | |
| - ./volumes/db/var/lib/postgresql/data:/var/lib/postgresql/data | |
| - /etc/localtime:/etc/localtime:ro | |
| environment: |
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
| .idea/ |
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
| #!/bin/bash | |
| # https://docs.docker.com/engine/reference/commandline/ps/#format | |
| df -h / | |
| for container in $(docker ps --format "{{.Names}}") | |
| do | |
| echo "Truncating logs for the '${container}' container ..." | |
| # https://forums.docker.com/t/how-to-limit-or-rotate-docker-container-logs/112378/9 |
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
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| .pytest_cache/ | |
| *.py[cod] | |
| *$py.class | |
| *.swp | |
| # C extensions | |
| *.so |
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
| import { fsExists } from './utils'; | |
| if ( ! ( await fsExists( folder ) ) ) { | |
| // ... | |
| } |
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
| // open any Daft page and go the dev console | |
| clear(); | |
| const data = JSON.parse(document.querySelector('script[id="__NEXT_DATA__"]').textContent); | |
| const listing = data.props.pageProps.listing; | |
| console.log( listing.title ); | |
| // grab the images | |
| const images = listing.media.images.map( img => img['size1440x960'] ); |
HTML + CSS powered calendar template.
NewerOlder