Skip to content

Instantly share code, notes, and snippets.

View mithriock's full-sized avatar
🏠
Working from home

Rodrigo Muñoz mithriock

🏠
Working from home
View GitHub Profile
@mpociot
mpociot / vite.config.js
Last active May 7, 2023 22:11
Using Vite in combination with Valet's secured sites
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import fs from 'fs';
import { resolve } from 'path';
import { homedir } from 'os';
let host = 'sendstack.test';
let homeDir = homedir();
let serverConfig = {};
@dotherightthing
dotherightthing / maschine-mk1-macos-10-15-7.md
Last active May 11, 2022 17:51
Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7

Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7

Background

I wanted to open my old Maschine projects created prior to travel in 2015. I picked up a second hand Maschine Mk1 for a good price.

There are compatability issues between Maschine Mk1 and macOS Catalina 10.15.7

Onboarding

@Raulebc
Raulebc / MySQL:regiones-provincias-comunas-chile.sql
Last active January 17, 2026 06:03
MySQL-Chile:regiones-provincias-comunas
Script comunas, regiones, provincias Junio 2022
DROP TABLE IF EXISTS `comunas`;
CREATE TABLE `comunas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`comuna` varchar(64) NOT NULL,
`provincia_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=346 DEFAULT CHARSET=utf8;
@nzec
nzec / README.MD
Last active March 8, 2026 20:36
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb
@mwiedemeyer
mwiedemeyer / project.json
Last active April 16, 2020 17:21
Azure Function to create thumbnail images
{
"frameworks": {
"net46":{
"dependencies": {
"ImageResizer": "4.1.9"
}
}
}
}
@lsimone
lsimone / egghead courses download
Created October 22, 2017 21:19
Download free egghead.io videos
#!/bin/bash
list=`lynx -source $1 | grep -o -e 'https[^"]*.m3u8' | xargs`
course="${1##*/}"
mkdir $course
echo ">>> $(echo $list | wc -w) video(s) found"
c=1
for video in $list
@marshallswain
marshallswain / launch.json
Last active July 1, 2019 20:10
Setting up Visual Studio Code to work with Nuxt.js
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "npm run dev",
"runtimeExecutable": "npm",
"windows": {
"runtimeExecutable": "npm.cmd"
@11joselu
11joselu / fileUtils.js
Last active March 7, 2018 17:39
Donwload File - Vue.js 2.x
export function getFile(response) {
var result = document.createElement('a');
var contentDisposition = response.headers.get('Content-Disposition') || '';
var filename = contentDisposition.split('filename=')[1];
filename = filename.replace(/"/g,"")
return response.blob()
.then(function(data) {
result.href = window.URL.createObjectURL(data);
result.target = '_self';
@micahgodbolt
micahgodbolt / wsl_install_node.md
Last active June 19, 2025 19:41
WSL install Node

The apt-get version of node is incredibly old, and installing a new copy is a bit of a runaround.

So here's how you can use NVM to quickly get a fresh copy of Node on your new Bash on Windows install

$ touch ~/.bashrc
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
// restart bash
$ nvm install --lts
@odan
odan / xampp_php7_xdebug.md
Last active February 26, 2026 18:45
Installing Xdebug for XAMPP