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
git clone https://github.com/iGhibli/iOS-DeviceSupport | |
cd iOS-DeviceSupport | |
sudo ./deploy.py |
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
# Automatically install the packages without having to type [Y]es for each one | |
choco feature enable -n allowGlobalConfirmation | |
# Utility Softwares | |
choco install ccleaner vlc ccleaner telegram slack 7zip -y | |
# Development and Programming stuff | |
choco install vscode git git-lfs sourcetree nodejs yarn -y |
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
# WARNING: by removing all metro pre-installed apps you will remove also the Microsoft store | |
# and to restore it you have to type the following commands: | |
Set-ExecutionPolicy Unrestricted | |
.\reinstall-preinstalledapps.ps1 *Microsoft.WindowsStore* | |
Set-ExecutionPolicy Restricted |
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
choco upgrade all |
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 supercrawler = require("supercrawler"); | |
var crawler = new supercrawler.Crawler({ | |
// Tme (ms) between requests | |
interval: 1000, | |
// Maximum number of requests at any one time. | |
concurrentRequestsLimit: 5, | |
// Time (ms) to cache the results of robots.txt queries. | |
robotsCacheTime: 3600000, | |
// Query string to use during the crawl. |
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 HCCrawler = require('headless-chrome-crawler'); | |
console.log('Starting the fetch'); | |
const singlePage = false; | |
let maxDepthCrawler = 6; | |
if(singlePage) | |
maxDepthCrawler=1; | |
const makeupPageUrl = 'http://scrapoxy.io/'; |
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
google-chrome --product-version |
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 "./styles.css"; | |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import ApolloClient from "apollo-boost"; | |
import { ApolloProvider } from "@apollo/react-hooks"; | |
import App from "./App"; | |
const client = new ApolloClient({ | |
uri: "https://api.graph.cool/simple/v1/swapi" |
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, { Fragment } from "react"; | |
import { useQuery } from "@apollo/react-hooks"; | |
import { gql } from "apollo-boost"; | |
const STAR_WARS_FILMS = gql` | |
{ | |
allFilms(first: 6, orderBy: releaseDate_ASC) { | |
episodeId | |
title |
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
{ | |
allFilms(first: 3, orderBy: releaseDate_ASC) { | |
episodeId | |
title | |
releaseDate | |
director | |
} | |
} |
OlderNewer