Skip to content

Instantly share code, notes, and snippets.

View diegolucasb's full-sized avatar
🎯
Focusing

Lucas Diego diegolucasb

🎯
Focusing
View GitHub Profile
@ElioLopez
ElioLopez / Grundstoff.md
Last active April 18, 2024 11:41 — forked from ShkurtiA/drugs_and_alcohol.md
Fahrschule, driving license germany, berlin

While driving on the motorway you overtake several vehicles. A vehicle approaches you from behind with indicators and headlights flashing. What should you do?

  • I brake briefly to prompt the vehicle behind to keep its distance
  • I continue driving until I can again pull into the right-hand lane
  • I turn on my hazard lights briefly to urge the vehicle behind to keep its distance

When must you switch on the hazard lights on your vehicle? If my vehicle

  • is being towed
  • experiences a breakdown at a place where the view is obscured
  • is briefly double-parked by me
@blessanm86
blessanm86 / german-driving-license.md
Last active May 3, 2024 15:15
Quick Ref Notes for German Driving License Test

This is unmaintained and was created for personal use. As I passed the exam I have no use to keep this up to date. Feel free to fork

What are the consequences for a person driving a motor vehicle under the influence of drugs (e.g. hashish, heroin, cocaine)?

[x] Confiscation of driving licence or driving ban
[x] Compulsory medical/psychological examination
[x] Fine and/or imprisonment

In which instances do you have to approach a pedestrian crossing with particular care?

@rodolfoizidoro
rodolfoizidoro / favoritos.md
Last active February 1, 2019 21:55
Lista de estudos nas férias . Importar no Chrome.
Name Link
Download Favoritos para importa no Google Chrome https://gist.github.com/rodolfoizidoro/f0d5051d9109eb7dc70c2dfcf42a67aa
MVVM with Kotlin — Android Architecture Components, Dagger 2, Retrofit and RxAndroid https://proandroiddev.com/mvvm-with-kotlin-android-architecture-components-dagger-2-retrofit-and-rxandroid-1a4ebb38c699
30 summertime Android libraries and tools which you don’t want to miss in 2018 https://medium.com/@mmbialas/30-summertime-android-libraries-and-tools-which-you-dont-want-to-miss-in-2018-fab053d69503
KeepSafe/TapTargetView An implementation of tap targets from the Material Design guidelines for feature discovery https://github.com/KeepSafe/TapTargetView
Material Intro View is a showcase android library. https://github.com/iammert/MaterialIntroView
Modern background execution in Android https://android-developers.googleblog.com/2018/10/modern-background-execution-in-android.html?m=1
Dominando o Data Binding no Android https://pt.slideshare.
@andremacdowell
andremacdowell / important_books.md
Last active September 14, 2018 19:42
Books that I find important

Tech

  1. Domain Driven Design - Eric Evans
  2. Test Driven Development: By Example - Kent Beck
  3. Refactoring: Improving the Design of Existing Code - Martin Fowler e Kent Beck
  4. Extreme Programming Explained: Embrace Change - Kent Beck
  5. Implementation Patterns - Kent Beck
  6. Clean Code - Robert Martin
  7. The Pragmatic Programmer: From Journeyman to Master - Andrew Hunt e David Thomas

Management, Projects and Organizations

@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@HannahMitt
HannahMitt / generatepublicresources.gradle
Last active May 13, 2023 08:14
This is a gradle task to generate the public.xml file in an Android library project. It assumes all public resources are kept in a res-public/ resource source directory. Providing this as a starting point, but there may be more efficient ways.
import groovy.xml.MarkupBuilder
// Task to generate our public.xml file
// See https://developer.android.com/studio/projects/android-library.html#PrivateResources
// We assume resources within res-public are public
task generatepublicxml {
def resDir = project.projectDir.absolutePath + "/src/main/res-public"
// Include the desired res types
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active March 26, 2024 01:21
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >

@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream