This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import certifi | |
| import urllib3 | |
| import time | |
| import requests | |
| import os | |
| import sys | |
| from sty import fg, rs | |
| http = urllib3.PoolManager() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| export const KeyboardAvoidingView = props => { | |
| const lib = require('react-native-keyboard-aware-scroll-view') | |
| const defaultProps = { | |
| style: {flex: 1}, | |
| contentContainerStyle: {flexGrow: 1}, | |
| bounces: false, | |
| bouncesZoom: false, | |
| alwaysBounceVertical: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function asd(){ | |
| alert(document.location); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| file.txt is something like this. ls with size of files | |
| """ | |
| asd 12213 | |
| asd 1231231 | |
| sdas 4534 | |
| sdas 4534 | |
| sdas 4534 | |
| sdas 4534 | |
| sdas 4534 | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _storeData = async (last) => { | |
| console.log("store data:"+last) | |
| AsyncStorage.setItem("LAST",last,(err) => | |
| { | |
| if(err == null ){ | |
| console.log("Set edildi: "+last) | |
| }else{ | |
| console.log("Error:"+err) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Use Non-ASCII Font" : false, | |
| "Tags" : [ | |
| ], | |
| "Ansi 12 Color" : { | |
| "Green Component" : 0.81066548824310303, | |
| "Blue Component" : 0.99898606538772583, | |
| "Red Component" : 0.43880558013916016 | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //REF: https://dev.to/saulojoab/how-to-get-data-from-an-mysql-database-in-react-native-53a4 | |
| const express = require("express"); | |
| const bodyParser = require("body-parser"); | |
| const mysql = require("mysql"); | |
| const connection = mysql.createPool({ | |
| host: "localhost", // Your connection adress (localhost). | |
| port: 8889, // 3309 , 8888, 8080 .... | |
| user: "user", // Your database's username. | |
| password: "password", // Your database's password. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import sys | |
| import json | |
| import requests, json | |
| """ | |
| Unoffical cert.sh API from https://github.com/PaulSec/crt.sh | |
| """ | |
| class crtshAPI(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const renk = () => { | |
| let hex = [ | |
| "0", | |
| "1", | |
| "2", | |
| "3", | |
| "4", | |
| "5", | |
| "6", | |
| "7", |