first thing first you should get access token from bitly with following instructions:
run following command for installation and refresh your bash session
| { | |
| "red": { | |
| "50": "#ffebee", | |
| "100": "#ffcdd2", | |
| "200": "#ef9a9a", | |
| "300": "#e57373", | |
| "400": "#ef5350", | |
| "500": "#f44336", | |
| "600": "#e53935", | |
| "700": "#d32f2f", |
| RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
| RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
| RN >= 0.63 - watchman watch-del-all && rm -rf node_modules && npm install && rm -rf /tmp/metro-* && npm run start --reset-cache | |
| npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache | |
| Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache |
| /* | |
| * Copyright 2017 Google Inc. All rights reserved. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| String.prototype.turkishtoEnglish = function () { | |
| return this.replace('Ğ','g') | |
| .replace('Ü','u') | |
| .replace('Ş','s') | |
| .replace('I','i') | |
| .replace('İ','i') | |
| .replace('Ö','o') | |
| .replace('Ç','c') | |
| .replace('ğ','g') | |
| .replace('ü','u') |
| /* | |
| * Copyright 2017 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file | |
| * except in compliance with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software distributed under the | |
| * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| { | |
| "dependencies": { | |
| "flickity": "^2.2.1" | |
| "react-flickity-component": "^3.5.0" | |
| } | |
| } |
| import { useState, useLayoutEffect } from 'react' | |
| const useLocalStorage = (key, defaultValue = null, prefix = 'store') => { | |
| const storeKey = `${prefix}-${key}` | |
| const [value, setValue] = useState(() => { | |
| const data = localStorage.getItem(storeKey) | |
| return data === null ? defaultValue : JSON.parse(data) | |
| }) |
first thing first you should get access token from bitly with following instructions:
run following command for installation and refresh your bash session
| const diacriticsMap = { | |
| a: 'a', | |
| A: 'A', | |
| ₐ: 'a', | |
| á: 'a', | |
| Á: 'A', | |
| à: 'a', | |
| À: 'A', | |
| ă: 'a', | |
| Ă: 'A', |
| import java.util.Comparator; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.Optional; | |
| public class Notlar { | |
| public static void main(String[] args) { | |
| Map<Integer, String> notHarfleri = new HashMap<>(); | |
| notHarfleri.put(90, "AA ile dersi geçtiniz."); | |
| notHarfleri.put(85, "BA ile dersi geçtiniz."); |