Skip to content

Instantly share code, notes, and snippets.

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

Gustavo Mathias Rocha gustavo8000br

🏠
Working from home
  • Cotia, São Paulo
View GitHub Profile
@zephyrmike
zephyrmike / mc4wp.css
Last active June 10, 2023 00:46
MailChimp for WordPress (MC4WP) Plugin Styling
/* plugin located at https://wordpress.org/plugins/mailchimp-for-wp/ */
/* form alignment */
.mc4wp-form-fields {
text-align: center;
}
/* form text and email fields style */
@diego3g
diego3g / settings.json
Last active March 23, 2026 11:09
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@austinjp
austinjp / wifi-on-ubuntu-server-18.md
Last active February 10, 2023 10:10
Enabling wifi on Ubuntu server 18

Wifi on Ubuntu 18 server

TLDR

  1. Install wpasupplicant
  2. Turn on wifi radios: sudo nmcli radio wifi on
  3. Check your devices are recognised even if they're not "managed": sudo iwconfig
  4. Check your wifi (here called "wlp3s0") is capable of detecting nearby routers: sudo iwlist wlp3s0 scan
  5. Configure netplan by dropping a file called 01-netcfg.yaml into /etc/netplan/ or edit existing file there. See example below.
  6. netplan try, netplan generate, netplan apply.