Custom select menu
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
| Coverage Badges |
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
| {"version":1,"resource":"file:///Users/husamimac/Float/USER%20FLOW.dio","entries":[{"id":"GCL3.dio","source":"renamed.source","timestamp":1649465879570},{"id":"00YB.dio","source":"Workspace Edit","timestamp":1649476260937},{"id":"kASR.dio","source":"Workspace Edit","timestamp":1649566284570}]} |
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
| const signIn = async (username) => { | |
| let currentPasswordIndex = 0; | |
| const browser = await puppeteer.launch(); | |
| const page = await browser.newPage(); | |
| await page.goto('https://www.reddit.com/login'); | |
| // Runs once for each username/password combo | |
| const tryPassword = async () => { |
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'; | |
| import { AppLoading } from 'expo'; | |
| import { StyleSheet, Text, View } from 'react-native'; | |
| import ApolloClient from 'apollo-boost'; | |
| import { ApolloProvider } from 'react-apollo'; | |
| import { merge } from 'lodash' | |
| import { userResolver } from './src/graphql/resolvers/userResolver' | |
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
| string.replace(/[^a-zA-Z0-9.-]/g, "_"); |
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
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
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
| #Download the source code | |
| curl -O https://nodejs.org/dist/v4.2.4/node-v4.2.4.tar.gz | |
| #unzip files | |
| tar -xvf node-v4.2.4.tar.gz && rm node-v4.2.4.tar.gz | |
| # cd it to main dircatory | |
| cd node-v4.2.4/ | |
| #Run tool's configurion |
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
| # Install JRE & JDK | |
| sudo apt-get install openjdk-7-jre | |
| sudo apt-get install openjdk-7-jdk | |
| # Download the security key for the Jenkins repository | |
| wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
| # Add the key to the trusted keys for apt-get | |
| sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' |
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
| var gulp = require('gulp'), | |
| rename = require("gulp-rename"); | |
| gulp.task('default', ['rename']); | |
| gulp.task('rename', function () { | |
| return gulp.src('./icons_svg/*.svg') | |
| .pipe(rename(function (path) { | |
| var newName = path.basename.split("_"); | |
| path.basename = newName[1]; |