Skip to content

Instantly share code, notes, and snippets.

galaczi / App.vue
Last active March 11, 2020 10:02
View App.vue
<div id="app">
<h1>Buy this</h1>
<div class="cart" ref="cart">Cart</div>
<div class="item">
View Proxmox_Physical_Disk_Passthrough
# Install if lshw not found
apt install lshw
# Check disk info
lshw -class disk -class storage
# Do this again for every disk
qm set <disk_id> -virtio<number from 2 to 999, remember that you cannot use 1!> /dev/disk/by-id/<disk_long_id>
# (this prints: update VM <disk_id> -virtio2 /dev/disk/by-id/<disk_long_id>)
rohankhudedev / opcache.ini
Last active February 29, 2024 03:41
Best Zend OpCache Settings / Tuning / Configurations
View opcache.ini
; Determines if Zend OPCache is enabled
; Determines if Zend OPCache is enabled for the CLI version of PHP
; The OPcache shared memory storage size.
manjula-dube / .eslintrc.js
Created February 6, 2018 15:55
View .eslintrc.js
// use this format since .eslintrc is deprecated.
// You can logically derive this format.
module.exports = {
parser: 'babel-eslint',
extends: [
View select2-bootstrap-v4.0.0-alpha.6.css
/* To avoid mixing em and rem units during compilation */
.select2-container--bootstrap {
display: block;
/*------------------------------------* #COMMON STYLES
* Search field in the Select2 dropdown.
adnan360 /
Last active December 8, 2023 09:37
Use HTTPS on Localhost (XAMPP, Windows)

Sometimes some websites require https to work. This can be useful in those cases.

This has been tested with XAMPP (PHP 7.0.8) on Windows 7. Please see the Reference links at the end if in confusion about some step.

STEP 1: Editing Configs


nguyenanhtu /
Last active January 20, 2024 23:35
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you


  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file
rgl /
Last active February 7, 2020 15:51
create test CA and server certificates with openssl
set -eux
ca_subject='/CN=Test CA'
# create the CA keypair and a self-signed certificate.
oh-ren / jquery.pjax.js
Last active February 28, 2024 06:20
pjax hacked, so it works with jQuery 3.0
View jquery.pjax.js
* Copyright 2012, Chris Wanstrath
* Released under the MIT License
// When called on a container with a selector, fetches the href with
// ajax into the container or with the data-pjax attribute on the link
angrycoffeemonster / Sublime Text 3 Build 3103 License Key - CRACK
Created April 18, 2016 02:13
Sublime Text 3 Build 3103 License Key - CRACK
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04