Help Ukraine by attacking Russian web sites. Good load testing training.
Tools:
Help Ukraine by attacking Russian web sites. Good load testing training.
Tools:
Consistency is a very important factor in software development.
But because different developers have different experiences and preferences it takes some time and effort to achieve consistency in projects.
A solution to that are discussed and then tool-enforced rules. Some solutions to that are linters, code formatters, checks on the CI and code reviews.
| const categories = useMemo(() => { | |
| return products.reduce((categories, { category }) => { | |
| return !category || categories.find(({ id }) => category && category.id === id) | |
| ? categories | |
| : [ | |
| ...categories, | |
| { | |
| id: category.id, | |
| value: category.id, | |
| label: category.title, |
| cd /home/<user>/ | |
| sudo apt-get install unzip | |
| wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip | |
| unzip sdk-tools-linux-4333796.zip -d Android | |
| rm sdk-tools-linux-4333796.zip | |
| sudo apt-get install -y lib32z1 openjdk-8-jdk | |
| export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
| export PATH=$PATH:$JAVA_HOME/bin | |
| printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc | |
| cd Android/tools/bin |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Add React in One Minute</title> | |
| </head> | |
| <body> | |
| <h2>Add React in One Minute</h2> | |
| <p>This page demonstrates using React with no build tooling.</p> |
| <?php | |
| $url = "https://fcm.googleapis.com/fcm/send"; | |
| $token = "your device token"; | |
| $serverKey = 'your server token of FCM project'; | |
| $title = "Notification title"; | |
| $body = "Hello I am from Your php server"; | |
| $notification = array('title' =>$title , 'text' => $body, 'sound' => 'default', 'badge' => '1'); | |
| $arrayToSend = array('to' => $token, 'notification' => $notification,'priority'=>'high'); | |
| $json = json_encode($arrayToSend); | |
| $headers = array(); |
| import React, {Component} from 'react'; | |
| import Button from 'material-ui/Button'; | |
| import TextField from 'material-ui/TextField'; | |
| import Dialog, { | |
| DialogActions, | |
| DialogContent, | |
| DialogContentText, | |
| DialogTitle, | |
| withMobileDialog | |
| } from 'material-ui/Dialog'; |
| function Node(value){ | |
| this.value = value; | |
| this.left = null; | |
| this.right = null; | |
| } | |
| function BinarySearchTree() { | |
| this.root = null; | |
| } | |
| BinarySearchTree.prototype.push = function (val) { |
| #!/bin/bash | |
| killall Xcode | |
| xcrun -k | |
| xcodebuild -alltargets clean | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
| rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
| rm -rf ~/Library/Caches/com.apple.dt.Xcode/* | |
| open /Applications/Xcode.app |