1. npx react-native init DIOmarketplace
2. yarn add eslint -D
yarn eslint --init
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
Here is the description of what you'll need to implement on this technical challenge.
Implement a function, class or module (it can be on the same file - request.py
) to cache requests made with the existing code, preventing unecessary calls. You MUST use this Redis module as a cache service. Feel free to change the code within the existing functions, but do not alter their behaviour.
Context: Caching requests can be useful to avoid unecessary HTTP calls for the same resources, however, the resources can change during time, so it is important to keep in mind that cache needs to be invalidated at some point.
setTimeout(function() { | |
function getAllModules() { | |
return new Promise((resolve) => { | |
const id = _.uniqueId("fakeModule_"); | |
window["webpackJsonp"]( | |
[], | |
{ | |
[id]: function(module, exports, __webpack_require__) { | |
resolve(__webpack_require__.c); | |
} |
import UIKit | |
// swiftlint:disable file_length | |
extension UIColor { | |
static var link: UIColor { | |
return UIColor(r: 0, g: 152, b: 238) | |
} | |
static var toastNotification: UIColor { | |
return .white |
Hi All! | |
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
App Description: | |
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
import json | |
from time import sleep | |
from bs4 import BeautifulSoup | |
from selenium import webdriver | |
from selenium.common.exceptions import ElementNotVisibleException | |
def click_button_until_all_displayed(browser, button_id): | |
button = browser.find_element_by_id(button_id) |
The world, as we know it, has fallen into an apocalyptic scenario. The "Influenzer T-Virus" (a.k.a. Twiter Virus) is transforming human beings into stupid beasts (a.k.a. Zombies), hungry to cancel humans and eat their limbs.
You, the last survivor who knows how to code, will help the resistance by deploying a system to connect the remaining humans. This system will be essential to detect new infections and share resources between the members.
<persistence-unit name=""> | |
<provider>org.hibernate.ejb.HibernatePersistence</provider> | |
<class></class> | |
<properties> | |
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/> | |
<property name="hibernate.hbm2ddl.auto" value="update"/> | |
<property name="hibernate.show_sql" value="true"/> | |
<property name="hibernate.format_sql" value="true"/> |
#import <Foundation/Foundation.h> | |
@interface Contato : NSObject <NSCoding> | |
@property (nonatomic, retain) NSString *nome; | |
@property (nonatomic, retain) NSString *email; | |
@property (nonatomic, retain) NSString *endereco; | |
@property (nonatomic, retain) NSString *telefone; | |
@property (nonatomic, retain) NSString *site; | |
@property (nonatomic, retain) UIImage *imagem; |