Skip to content

Instantly share code, notes, and snippets.

@nico01f
nico01f / gist:6b70b79ef94dd1b8137d21ad57e5aefd
Created September 26, 2024 14:21
unbiased news for brave search
! name: Neutral News Source
! description: Search for neutral news sources
! public: true
! author: Nico F.
{
"name": "Neutral News Sources",
"description": "Searches for news from trusted, neutral, and unbiased sources globally",
"version": "1.2",
"include": [
// Fuentes de EE.UU.
apiVersion: argoproj.io/v1alpha1
kind: EventBus
metadata:
name: default
spec:
nats:
native:
# Optional, defaults to 3. If it is < 3, set it to 3, that is the minimal requirement.
replicas: 3
# Optional, authen strategy, "none" or "token", defaults to "none"
-- Pull in the wezterm API
local wezterm = require 'wezterm'
local act = wezterm.action
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
config.default_cursor_style = 'BlinkingBlock'
@nico01f
nico01f / rails http status codes
Created August 27, 2020 05:11 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@nico01f
nico01f / try_ssh.rb
Created August 10, 2017 20:27 — forked from cotocisternas/try_ssh.rb
try_ssh
#!/usr/bin/env ruby
require 'net/ssh'
require 'timeout'
require 'unicode'
require 'colorize'
hosts = ['127.0.0.1']
ports = ['22']
users = ['root', 'admin', 'ec2-user']
@nico01f
nico01f / try_ssh.rb
Created August 10, 2017 20:27 — forked from cotocisternas/try_ssh.rb
try_ssh
#!/usr/bin/env ruby
require 'net/ssh'
require 'timeout'
require 'unicode'
require 'colorize'
hosts = ['127.0.0.1']
ports = ['22']
users = ['root', 'admin', 'ec2-user']
@nico01f
nico01f / Gemfile
Last active October 12, 2016 20:51
Notify to hipchat from capistrano
source 'https://rubygems.org'
gem 'hipchat', '~> 1.5', '>= 1.5.3'
@nico01f
nico01f / BluetoothRestart
Created February 27, 2016 19:17 — forked from ajmaradiaga/BluetoothRestart
Force Bluetooth Restart on Mac
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist