Skip to content

Instantly share code, notes, and snippets.

@mucavel
mucavel / nuxt.config.js
Created October 14, 2024 14:39 — forked from ansidev/nuxt.config.js
Use jQuery with NuxtJS
const webpack = require('webpack')
module.exports = {
// other configs
build: {
plugins: [
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
@mucavel
mucavel / index.html
Created October 10, 2024 14:02
Megamenu - Bootstrap 4
<nav class="megamenu">
<ul class="megamenu-nav d-flex justify-content-center" role="menu">
<li class="nav-item">
<a class="nav-link" href="#">
<i class="fa fa-home"></i>
<span class="sr-only">Home</span>
</a>
</li>
<li class="nav-item is-parent">
<a class="nav-link" href="#" id="megamenu-dropdown-1" aria-haspopup="true" aria-expanded="false">
@mucavel
mucavel / Download a Windows 10 ISO.md
Created July 18, 2024 07:03 — forked from ezracb/Download a Windows 10 ISO.md
Download a Windows 10 ISO directly from Microsoft (without the media creation tool)
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],