Skip to content

Instantly share code, notes, and snippets.

@alezzigo
alezzigo / forminator-add-autocomplete-attr.php
Created December 1, 2021 04:01 — forked from wpmudev-sls/forminator-add-autocomplete-attr.php
[Forminator Pro] - Add "autcomplete" attribute to input fields
<?php
/**
* Plugin Name: [Forminator Pro] - Add "autcomplete" attribute to input fields
* Plugin URI: https://premium.wpmudev.org/
* Description: Add "autcomplete" attribute support to selected form and input fields (as of 1.12.1.1)
* Author: Alessandro Kaounas @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: 0/1135022585412927/1176249490871345
* License: GPLv2 or later
*/
@wpmudev-sls
wpmudev-sls / forminator-add-autocomplete-attr.php
Created May 18, 2020 15:48
[Forminator Pro] - Add "autcomplete" attribute to input fields
<?php
/**
* Plugin Name: [Forminator Pro] - Add "autcomplete" attribute to input fields
* Plugin URI: https://premium.wpmudev.org/
* Description: Add "autcomplete" attribute support to selected form and input fields (as of 1.12.1.1)
* Author: Alessandro Kaounas @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* Task: 0/1135022585412927/1176249490871345
* License: GPLv2 or later
*/
@raisedadead
raisedadead / macOS-Catalina-Wifi-Fix.md
Last active July 16, 2021 06:24
Wifi interface completely gone after catalina update on 2015 MBP

Apple Discussion: https://discussions.apple.com/thread/250720965?answerId=251575762022#251575762022 Most Active answer on StackOverflow: https://apple.stackexchange.com/questions/372025/missing-wifi-interface-after-upgrade-to-catalina?newreg=1904677ef3d840f0a87b73a2cd7bd342

  1. Download the modified files (thanks Alex!) and unzip > you get a folder named WiFi_kexts
  2. Boot into Recovery Mode: restart your computer while pressing and holding cmd-R
  3. Open > Utilities > Terminal via Menu Bar (detailed instructions here)
  4. Type csrutil disable and hit return
  5. Type reboot and hit return > computer reboots normally
  6. Open > Utilities > Terminal and enter cd and hit the space bar (don't hit return)
  7. Drag the folder WiFi_kexts onto the Terminal window and hit return
@kentarofujiy
kentarofujiy / History|28a8d735|wpxC.json
Last active April 10, 2022 19:43
Google Translate Custom Styling
{
"editor.suggestSelection": "first",
"remote.SSH.remotePlatform": {
"165.227.100.91": "linux",
"192.168.15.18": "linux",
"seminovos-kentaro": "linux",
"142.93.108.210": "linux",
"servidor-home": "linux",
"sotreq-novosite-rails": "linux",
"sotreq-novosite-vue": "linux",
@tegansnyder
tegansnyder / Preventing-Puppeteer-Detection.md
Created February 23, 2018 02:41
Preventing Puppeteer Detection

I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:

Set my args as follows:

const run = (async () => {

    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',
@Pulimet
Pulimet / AdbCommands
Last active June 24, 2024 10:35
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@jmsdnns
jmsdnns / jd-export.jsx
Last active May 1, 2024 21:14
Illustrator script—Exports CMYK, RGB, and Hex values for all the color swatches in a document. CMYK to RGB conversion using Adobe’s default US Web Coated SWOP2 to sRGB.
/**
* jd-export.jsx
* -------------
* Illustrator script—Exports CMYK, RGB, and Hex values for all the color
* swatches in a document. CMYK to RGB conversion using Adobe’s default US
* Web Coated SWOP2 to sRGB.
*
*
* LICENSE
* -------
@ColinEberhardt
ColinEberhardt / .block
Last active May 11, 2024 03:45
Market Profile Chart
license: mit
@sabpprook
sabpprook / gist:3a05cdaa0a2bab91de35a9de5d3bd2cf
Created September 19, 2016 23:27
Android ID change via ADB shell
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
adb shell content delete --uri content://settings/secure --where "name=\'android_id\'"
adb shell content insert --uri content://settings/secure --bind name:s:android_id --bind value:s:7373de1e9e9670c2
@max-te
max-te / youtube.js
Created September 17, 2012 15:56
Download Youtube-Video in node.js
var http = require('http')
var fs = require('fs')
var argv = require('optimist').argv
var rxVideoID = /v=([\]\[!"#$%'()*+,.\/:;<=>?@\^_`{|}~-\w]*)/
var link = argv._.toString()
var videoID = link.match(rxVideoID)[1]
http.get("http://www.youtube.com/get_video_info?video_id="+videoID, function(res) {
var chunks = []