This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name eBay Kleinanzeigen - Anzeige duplizieren / neu einstellen | |
// @namespace https://github.com/J05HI | |
// @description Bietet eine "Anzeige duplizieren / neu einstellen" Funktion beim Bearbeiten einer vorhandenen Anzeige in eBay Kleinanzeigen. | |
// @icon http://www.google.com/s2/favicons?domain=www.kleinanzeigen.de | |
// @copyright 2024, J05HI (https://github.com/J05HI) | |
// @license MIT | |
// @version 1.4.0 | |
// @match https://www.kleinanzeigen.de/p-anzeige-bearbeiten.html* | |
// @grant none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyApp.ReplicatedConCache do | |
@moduledoc """ | |
Utility to replicate local ConCache operations via Phoenix.PubSub. | |
Only those ConCache functions that we need are replicated. | |
Prerequisites: | |
- for all relevant cache ids, there is a ConCache instance running on | |
each node connected to the PubSub system | |
- these ConCache instances are all configured same (TTL etc.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Local environment variables like secrets | |
.env | |
# Bundler directory | |
.bundle | |
# Cached rubocop files | |
.rubocop-http* | |
# Intermediate output file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
KEEP_FORMULAS=(asdf bat fd fzf git htop httpie hub iftop jq ncdu neovim p7zip ruby-build the_silver_searcher tig tmux watch yq z zsh) | |
declare -A visited_formulas | |
for formula ($KEEP_FORMULAS); do | |
echo "Keeping $formula" | |
visited_formulas[$formula]=1 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'set' | |
## | |
# One solution for the set game kata. It is all about "SET", a card game. | |
# For details on task to solve and the rules of the game, see | |
# https://www.codewars.com/kata/set-the-card-game/ | |
module SetGame | |
ATTRIBUTES = %i[color shape number shading].freeze | |
COLORS = %i[red green blue].freeze |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
version: "1.0" | |
title: "Namespace issue demo swagger spec" | |
produces: | |
- application/json | |
paths: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'digest' | |
require 'io/console' | |
require 'net/http' | |
# Proxy setup here | |
http = Net::HTTP # use this for no proxy or if you are fine with ENV var http_proxy | |
# http = Net::HTTP::Proxy('myproxy.local', '8080') # use this for explicit configuration of proxy within this ruby script | |
puts '+++++ PASSWORD CHECKER +++++' | |
print 'Please enter password: ' |