c:\nodejs\node_modules\electron-edge>tools\build release 5.12.0
Building edge.node release for node.js x86 v5.12.0
gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node@5.12.0 | win32 | ia32
gyp info spawn C:\Python\python.exe
gyp info spawn args [ 'C:\\nodejs\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
This file contains 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
463017515 |
This file contains 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
module.exports = { | |
extends: [ | |
'eslint:recommended', | |
'plugin:@typescript-eslint/recommended', | |
"prettier", | |
"prettier/@typescript-eslint", | |
], | |
env: { | |
node: true | |
}, |
This file contains 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
declare module 'react-base-table' { | |
import React from 'react' | |
export interface ColumnProps<T> { | |
key: string | |
className?: string | ((obj: CallbackObject<T>) => string) | |
/** Class name for the column header, could be a callback to return the class name The callback is of the shape of ({ columns, column, columnIndex, headerIndex }) => string */ | |
headerClassName?: string | ((obj: CallbackObject<T>) => string) | |
/** Custom style for the column cell, including the header cells */ | |
style?: React.CSSProperties |
This file contains 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
declare module 'apify' { | |
import { IncomingMessage } from 'http' | |
import { EventEmitter } from 'events' | |
import { | |
Page, | |
Response as PuppeteerResponse, | |
ResourceType, | |
LaunchOptions, | |
HttpMethod, | |
Request as PuppeteerRequest, |
This file contains 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 kotlinx.coroutines.* | |
class Debouncer<T>(private val millis: Long, val block: (T) -> Unit) { | |
private var job: Job? = null | |
fun run(param: T) { | |
job?.cancel() | |
job = GlobalScope.launch(Dispatchers.Main) { | |
delay(millis) |
This file contains 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
// go to https://www.facebook.com/your_page_or_profile_name/allactivity?privacy_source=activity_log&log_filter=all | |
// load the maximum number of items you can before | |
// then open up the console and execute this code | |
// will take care of errors, successes and timeouts. it looks like a really proficient human clicking stuff | |
// it's messy and might break at any time, made for English version, but it's working as of august 2018 | |
(async function f() { | |
'use strict' |
This file contains 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
(async function walk() { | |
const waiter = (time) => (new Promise((resolve, reject) => { | |
setTimeout(resolve, time) | |
})) | |
const photo = document.querySelector('._3-8h._50zy._50-0._50z_._5upp._42ft') | |
const okBtn = '.uiOverlayFooter ._4jy0._4jy3._4jy1._51sy.selected._42ft' | |
if (photo) { | |
photo.click() |
This file contains 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/env bash | |
set -u | |
set -e | |
export GIT_WORK_TREE="/var/www/example.com" | |
export NODE_VERSION="0.10" | |
echo "--> Checking out..." | |
git checkout -f |
This file contains 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
<?php | |
/** | |
* @param string $domain Pass $_SERVER['SERVER_NAME'] here | |
* @param bool $debug | |
* | |
* @debug bool $debug | |
* @return string | |
*/ | |
function get_domain($domain, $debug = false) | |
{ |