Skip to content

Instantly share code, notes, and snippets.

View d3vCr0w's full-sized avatar

Santiago Moreno d3vCr0w

View GitHub Profile
How to Connect a Mooer Radar to a computer running MacOS and be able to use it with "Mooer Studio For Radar"
I purchased a Mooer Radar and never got it to work before because there always appeared an error or it always asked me to
update the firmware.
I tried different USB ports, different cables, different computers (even a laptop with Windows but got the same results)
but nothing seemed to work.
Fortunately today I was messing around with it and found that just by plugging the Mooer Radar powered on normally
(like when you use it) made the software finally recognize it.
Every other tutorial online shows that you have to press the red button before powering the unit until the
@d3vCr0w
d3vCr0w / month_names.php
Last active January 13, 2024 18:13
Get last 12 month names from a specific month or date with Laravel - Carbon
<?php
use Carbon\Carbon;
//your class starts here
public function getLastTwelveMonthNames($date){
Carbon::setlocale(config('app.locale'));
$month_names = [
ucfirst((new Carbon($date))->translatedFormat('F'))
@d3vCr0w
d3vCr0w / iso2wbfs
Last active December 8, 2020 22:03 — forked from openback/iso2wbfs
Uses Wiimms ISO Tool to convert one or more Wii ISO into a WBFS file, properly named for use on non-WBFS partitions. Added verbose option and default file split to less than 4GB for FAT32 filesystems
#!/bin/bash
#===============================================================================
#
# FILE: iso2wbfs
#
# USAGE: ./iso2wbfs [option] FILE... [wbfs directory]
#
# DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file
# properly named for use on non-WBFS partitions.
#
<html>
<head>
<style>
.footer{
justify-content: center;
}
p{
text-align: center;
}
@d3vCr0w
d3vCr0w / rpiratebox_8188.sh
Last active January 4, 2018 01:48
Raspberry Pi - PirateBox with Realtek R8188EU
echo "Removing hostapd binaries..."
sudo rm /usr/bin/hostapd*
echo "Downloading jenssegers hostapd for R8188EU.."
wget https://github.com/jenssegers/RTL8188-hostapd/archive/v2.0.tar.gz
echo "Extracting files..."
tar -zxvf v2.0.tar.gz
echo "Changing directory to RTL8188-hostapd-2.0/hostapd..."
cd RTL8188-hostapd-2.0/hostapd
echo "Compiling..."
sudo make