Skip to content

Instantly share code, notes, and snippets.

View klyonrad's full-sized avatar

Luka Lüdicke klyonrad

  • Germany, Frankfurt am Main
View GitHub Profile
@klyonrad
klyonrad / .rubocop.yml
Last active July 27, 2023 08:01
pronto_setup_gh_actions
<%= "inherit_from: .rubocop_todo.yml" if !ENV['NO_RUBOCOP_TODO'] %>
@klyonrad
klyonrad / appendix.md
Created March 3, 2023 09:16
MySavedReplies

Appendix

Add helpful information here:

Content Description

@klyonrad
klyonrad / dependabot.yml
Created August 31, 2022 05:34
dependabot config
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "bundler" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
@klyonrad
klyonrad / rails_enum_bug_report.rb
Last active July 27, 2022 11:02
rails enum UnknownAttributeError
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Activate the gem you are reporting the issue against.
@klyonrad
klyonrad / screensharing_apps_comparison.md
Last active August 30, 2022 08:38
Screen sharing for pair programming tools comparison
Feature / Property MS Teams Slack Zoom Skype Tuple JetBrains CodeWithMe Visual Studio LiveShare Google Meet
Extra costs 0 0 25$ per month per user (21€) 10€ per month per user 0 0
TTS - Time to Screen Share 2 minutes 1 minute 10 seconds 30 seconds 1 minute 2 minutes
Drawing together No Yes Yes No No
Control Typing & Cursor
@klyonrad
klyonrad / tesseract_script.sh
Created November 8, 2020 17:53
my-tesseract-script-for-portuguese
#Adapted by Ben Schmidt from Barry Hubbard's code at
#http://www.barryhubbard.com/articles/37-general/74-converting-a-pdf-to-text-in-linux
#to convert into a folder of text files, each one representing a page.
#This takes pdfs from the pdfs folder, writes tif files to the images folder, and writes text to the texts folder.
#each pdf gets a _folder_ in each of the other two.
mkdir -p texts
mkdir -p images
@klyonrad
klyonrad / ransack_bug_report_open.rb
Last active August 18, 2020 15:40
Bug report for ransack with attribute name open
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Activate the gem you are reporting the issue against.
@klyonrad
klyonrad / _form.html.haml
Created August 22, 2017 17:59
frab event classifier form
= simple_form_for(@event, html: {multipart: true}) do |f|
%fieldset.inputs
%legend Basic information
= f.input :title
= f.input :subtitle
- @event.build_ticket unless @event.ticket
= f.simple_fields_for :ticket do |ticket|
= ticket.input :remote_ticket_id
= f.input :event_type, collection: Event::TYPES
= f.association :track, collection: @conference.tracks
@klyonrad
klyonrad / .ec3_list_arclite_hack.css
Created August 2, 2016 17:47
overwrite wordpress plugin upcoming_events for arclite theme
/**
* Overwrite events plugin style
* to move the list dots into container
*/
.ec3_list {
list-style-position: inside;
margin-left: 1%;
}
@klyonrad
klyonrad / indoctrinatr.rb
Created May 6, 2016 13:53
indoctrinatr-tools-snippet
if fieldnames_creator.pdf_exists?
include_fieldnames = true
else
include_fieldnames = if fieldnames_creator.call
# More user information and for testing
puts 'INFO: Example with field names has been automatically generated for the documentation'
true
else
puts 'ERROR: Example with field names could not be created and is not included in documentation'
false