Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
We are hiring at OmbuLabs & FastRuby.io! https://www.ombulabs.com/jobs

Ernesto Tagwerker etagwerker

🚀
We are hiring at OmbuLabs & FastRuby.io! https://www.ombulabs.com/jobs
View GitHub Profile
View gist:188e9eda573e93a250ad1e5963fb877a
The folks at @OmbuLabs are looking for Ruby on Rails developers. If you're a mid to senior level developer or contractor then check out their listings:
https://www.ombulabs.com/jobs
View gist:c80248798f184317e1e48fcbdd39a16e
# ./app/assets/stylesheets/bootstrap_and_overrides.css:6
6) LeaderboardController#projects leaderboard exists project without logged minutes shows current leaderboard without params
Failure/Error: =require twitter-bootstrap-static/fontawesome
ActionView::Template::Error:
couldn't find file 'twitter-bootstrap-static/fontawesome' with type 'text/css'
Checked in these paths:
/code/app/assets/images
/code/app/assets/javascripts
View gist:c1ea17694eb8991062484169295ce222
next bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......................................................................................................
Bundler could not find compatible versions for gem "actionpack":
In Gemfile.next:
rails (~> 5.0) was resolved to 5.0.1.rc1, which depends on
actionpack (= 5.0.1.rc1)
rspec-rails was resolved to 4.1.2, which depends on
View gist:4c56ab6cb66c1c88712c955d5467e549
➜ points git:(feature/upgrade-rails-5-2) ✗ bundle exec rspec
Randomized with seed 12014
......Capybara starting Puma...
* Version 3.12.6 , codename: Llamas in Pajamas
* Min threads: 0, max threads: 4
* Listening on tcp://127.0.0.1:51982
Unexpected confirm modal - accepting.You should be using `accept_confirm` or `dismiss_confirm`.
...............................................................................
View gist:267c4e7cee973db6d00044c20fe38fbd
The @FastRubyIO team has been doing Ruby and Rails upgrades for a long time. They even have some tips on how to upgrade when there is no time to write tests. https://www.fastruby.io/blog/rails/upgrade/testing/how-to-upgrade-rails-without-tests.html?utm_source=matz
@etagwerker
etagwerker / git-commit.log
Created Feb 2, 2021
git commit with points project
View git-commit.log
➜ points git:(feature/upgrade-rails-5-2) ✗ git commit Gemfile*
warning: parser/current is loading parser/ruby25, which recognizes
warning: 2.5.8-compliant syntax, but you are running 2.5.7.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
standard: Use Ruby Standard Style (https://github.com/testdouble/standard)
standard: Run `standardrb --fix` to automatically fix some problems.
Gemfile:33:7: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:35:7: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:35:23: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:36:16: Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
View gist:5ec8880f36c4551b7ac4041aa4eadaea
➜ docker-lobsters git:(main) docker-compose down --volumes
Removing network docker-lobsters_default
WARNING: Network docker-lobsters_default not found.
Removing volume docker-lobsters_lobsters_database
WARNING: Volume docker-lobsters_lobsters_database not found.
➜ docker-lobsters git:(main) docker-compose up
Creating network "docker-lobsters_default" with the default driver
Creating volume "docker-lobsters_lobsters_database" with local driver
Creating docker-lobsters_proxy_1 ... done
Creating docker-lobsters_database_1 ... done
@etagwerker
etagwerker / gist:899e91fc0b9b745497d4a536d6aa411a
Created Jan 12, 2021
rake stats and bundle-stats for discourse
View gist:899e91fc0b9b745497d4a536d6aa411a
➜ fastruby rake stats\[./discourse\]
Directory: /Users/etagwerker/Projects/fastruby/discourse
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Mailers | 999 | 811 | 9 | 51 | 5 | 13 |
| Models | 42749 | 31367 | 242 | 2145 | 8 | 12 |
| Serializers | 7918 | 6022 | 179 | 1133 | 6 | 3 |
View was-transcribe.json
This file has been truncated, but you can view the full file.
@etagwerker
etagwerker / FalseNewsTrumpQAnonSpanish
Created Nov 12, 2020
Q-Anon-Spanish-Conspiracy-Theories
View FalseNewsTrumpQAnonSpanish
Comparto esto que escribió la Esposa de Mi Primo que Viven en Estados Unidos en ahora El estado de La Florida, hace más de 20, 30 años. No lo recuerdo...lean...
Es bueno saberlo.
Aunque le hayan dicho “payaso”
El “payaso en la Casa Blanca" acaba de negociar TRES Acuerdos de Paz en Medio Oriente, algo que 71 años de intervención política y guerra sin fin no lograron producir.
El bufón en la Casa Blanca es el PRIMER presidente que NO nos ha involucrado en una GUERRA extranjera desde Eisenhower.
El “payaso en la Casa Blanca” ha tenido el MAYOR impacto en la economía, trayendo trabajo y REDUCIENDO el desempleo a la población negra y latina que CUALQUIER presidente anterior.
El “bufón en la Casa Blanca” ha EXPUESTO la profunda, generalizada y antigua corrupción en el FBI, la CIA, la NSA y los partidos republicanos y demócratas.