Skip to content

Instantly share code, notes, and snippets.

View chrisheseltine's full-sized avatar
🏠
Currently accepting new contracts

Christopher Heseltine chrisheseltine

🏠
Currently accepting new contracts
View GitHub Profile
122.176.223.132 (-) - - [07/Nov/2020:05:56:53 +0000] "POST /v1/fans/7591/notes?accessToken=71125e8f6e6877afdddf692d9e2d521a904e0509 HTTP/1.1" 500 101 "http://localhost:3000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36"
[Sat Nov 07 05:59:33.362725 2020] [mpm_prefork:notice] [pid 11394] AH00171: Graceful restart requested, doing restart
[Sat Nov 07 05:59:33.462682 2020] [http2:warn] [pid 11394] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sat Nov 07 05:59:33.462698 2020] [http2:warn] [pid 11394] AH02951: mod_ssl does not seem to be enabled
[Sat Nov 07 05:59:33.463341 2020] [lbmethod_heartbeat:notice] [pid 11394] AH02282: No slotmem from mod_heartmonitor
[Sat Nov 07 05:59:33.528571 2020] [mpm_prefork:notice] [pid 11394] AH00163: Apache/2.4.39 (Amazon) configured -- resuming normal operations
[Sat Nov 07 05:59:33.528583 2020] [core:notice] [pid 11394] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Nov 07 05:59:33.528598 2020] [mpm_prefork:warn
var string = "
<tr>
<td>
text
</td>
</tr>
";
document.getElementById('mainTable').innerHTML = string;
[Error: EPERM: operation not permitted, unlink 'C:\Users\hesel\AppData\Local\Temp\puppeteer_dev_chrome_
profile-fzSuOu\CrashpadMetrics-active.pma'] {
errno: -4048,
code: 'EPERM',
syscall: 'unlink',
path: 'C:\\Users\\hesel\\AppData\\Local\\Temp\\puppeteer_dev_chrome_profile-fzSuOu\\CrashpadMetrics-a
ctive.pma'
}
const Apify = require('apify');
const { log } = Apify.utils;
Apify.main(async () => {
const input = await Apify.getInput();
const requestQueue = await Apify.openRequestQueue();
await requestQueue.addRequest({
url: `https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=${input.keyword}`
});
ERROR CheerioCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=phone","retryCount":1,"id":"ZcXzXvuoUH3VjRM"}
Error: EPERM: operation not permitted, mkdir 'C:\Users\hesel\dev\repo\apify\apify-test\apify_storage\datasets\default'
// Set your secret key. Remember to switch to your live secret key in production!
// See your keys here: https://dashboard.stripe.com/account/apikeys
const stripe = require('stripe')('sk_test_4eC39HqLyjWDarjtT1zdp7dc');
const paymentIntent = await stripe.paymentIntents.create({
amount: 1099,
currency: 'usd',
// Verify your integration in this guide by including this parameter
metadata: {integration_check: 'accept_a_payment'},
});

Why I would be great for the role:

5 years engineering experience, 3 executed remotely. Native English speaker, jack-of-all-trades (master of none), no bullshit (honest), can do frontend, backend & DB. Experience with JS (ES6/8), JQuery, React, Redux, Bootstrap, Node.js, HTML/CSS, responsive design. Minor experience with Webpack. Have managed small teams and taken products from requirements to release. Love for mentoring, happy to help others. Work alone or as a team player/leader. Love the web stack, my choice of tech for last 2-3 years (JS, React, etc.). Have delivered production ready web projects in the JS space for clients all over the world.

Where my weaknesses would be, and what I'd need to work on the most:

Inexperienced with advanced CSS concepts such as animation, but I can learn it over breakfast if required. No experience with Gatsby.

Thankyou for considering my application.

const Apify = require('apify');
Apify.main(async () => {
const requestQueue = await Apify.openRequestQueue();
await requestQueue.addRequest(new Apify.Request({
url: 'https://petharbor.com/results.asp?searchtype=ADOPT&start=1&miles=20&shelterlist=%27HAMP%27&zip=&where=type_CAT&nosuccess=1&nomax=1&rows=25&nobreedreq=1&nopod=1&nocustom=1&samaritans=1&view=sysadm.v_hamp&imgres=detail&stylesheet=https://cbbb1e2ef05c549bf4c2-7b792f487d9839572907a6863bac8ad2.ssl.cf5.rackcdn.com/petharbor.css&grid=1&NewOrderBy=Name&text=000000&link=007c0f&col_bg=ffffff',
userData: {
label: "roster"
}
const Apify = require('apify');
const CATS_URL = 'https://petharbor.com/results.asp?searchtype=ADOPT&start=1&miles=20&shelterlist=%27HAMP%27&zip=&where=type_CAT&nosuccess=1&nomax=1&rows=25&nobreedreq=1&nopod=1&nocustom=1&samaritans=1&view=sysadm.v_hamp&imgres=detail&stylesheet=https://cbbb1e2ef05c549bf4c2-7b792f487d9839572907a6863bac8ad2.ssl.cf5.rackcdn.com/petharbor.css&grid=1&NewOrderBy=Name&text=000000&link=007c0f&col_bg=ffffff';
const DOGS_URL = 'https://petharbor.com/results.asp?searchtype=ADOPT&start=1&miles=20&shelterlist=%27HAMP%27&zip=&where=type_DOG&nosuccess=1&nomax=1&rows=25&nobreedreq=1&nopod=1&nocustom=1&samaritans=1&view=sysadm.v_hamp&imgres=detail&stylesheet=https://cbbb1e2ef05c549bf4c2-7b792f487d9839572907a6863bac8ad2.ssl.cf5.rackcdn.com/petharbor.css&grid=1&NewOrderBy=Name&text=000000&link=007c0f&col_bg=ffffff';
Apify.main(async () => {
// create request queue for all start URLs
const requestQueue = await Apify.openRequestQueue();
await requestQueue.addRequest(new Apify.Re