Skip to content

Instantly share code, notes, and snippets.

@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active April 20, 2024 08:38
Files for PlayStation BIOS Files NA-EU-JP
@robosam2003
robosam2003 / DDSConfig.md
Last active April 20, 2024 08:38
Configuring Cyclone DDS for Wifi + Ethernet connection on an Enterprise Network (for ROS2)

Configuring Cyclone DDS for Wifi + Ethernet connection on an Enterprise Network (for ROS2)

For communication between wifi and ethernet devices, the DDS layer in ROS2 relies on the multicast ability of a given network.

This is often disabled on enterprise networks (at university or work etc) for (I think) security reasons .

To get around this, you have to configure CycloneDDS to comunicate in a unicast manner, and you must specify the local IPs of all the participants you want to communicate.

_I am using CycloneDDS instead of the default (for ROS2 humble at least) FastDDS, because I ran into lots of issues trying to get topic

@Dasutin
Dasutin / retronas_on_unraid.md
Last active April 20, 2024 08:35
RetroNAS on Unraid

RetroNAS on Unraid

This guide is intended for installing RetroNAS on an already configured Unraid server. If you're not familiar with Unraid or RetroNAS, head over to the RetroNAS GitHub page to learn about RetroNAS and consider setting it up on a Raspberry Pi.

Unraid NFS Setup

Within Unraid, enable NFS by going to Settings and NFS.

  • Enable NFS: Yes
  • Click Apply
@avermeulen
avermeulen / 01-setup-new-typescript-project.md
Last active April 20, 2024 08:33
TypeScript basics with Mocha setup - learn how to use interfaces

Setup a new TypeScript project with Mocha support

Ensure you have TypeScript installed globally using this command:

npm install -g typescript

This outlines how to setup a new TypeScript project with mocha support.

@serhanozcan
serhanozcan / Responsive-ekran-boyutlari.css
Last active April 20, 2024 08:32
Responsive ekran boyutları ve css media listesi
/*
##Cihaz = Masaüstü
##Ekran = 1281px 'den yüksek çözünürlükler için
*/
@media (min-width: 1281px) {
//CSS
}
@amatellanes
amatellanes / pytest.sh
Last active April 20, 2024 08:31
Useful py.test commands.
py.test test_sample.py --collect-only # collects information test suite
py.test test_sample.py -v # outputs verbose messages
py.test -q test_sample.py # omit filename output
python -m pytest -q test_sample.py # calling pytest through python
py.test --markers # show available markers
@Glaived
Glaived / INSTALL.md
Last active April 20, 2024 08:30
YesCasey is a package that includes everything you need to extract files from the Soulworker game

Manual installation of the various software required

  1. Download xor, extract the content, modify the value path[0] to point to the executable xor.exe.

  2. Download 7-Zip, extract the content, modify the value path[1] to point to the executable 7z.exe.

  3. Download quickbms, extract the content, modify the value path[2] to point to the executable quickbms.exe.

  4. Download fmod_extractors, extract the content, modify the value path[3] to point to the executable fmod_extr.exe.

@chrisdiana
chrisdiana / gist:731aa653982e2d905776
Created October 22, 2014 21:20
Convert time to human readable time in Javascript
function millisecondsToStr (milliseconds) {
// TIP: to find current time in milliseconds, use:
// var current_time_milliseconds = new Date().getTime();
function numberEnding (number) {
return (number > 1) ? 's' : '';
}
var temp = Math.floor(milliseconds / 1000);
var years = Math.floor(temp / 31536000);
@andrewfraley
andrewfraley / pbs_on_rpi.md
Last active April 20, 2024 08:20
Backup a Raspberry Pi to Proxmox Backup Server using the Proxmox Backup Client

Backup a Raspberry Pi to Proxmox Backup Server using the Proxmox Backup Client

This works on a Pi 4, and should work on a Pi 3, but to work on a Pi Zero you would have to figure out how to compile your own client. More info in this thread on the Proxmox forums.

Determine if your Pi is 32bit or 64bit

Run the following command. If you get arm64, it's 64bit, otherwise you'll see armv7l which is 32bit.

uname -m