Skip to content

Instantly share code, notes, and snippets.

View vitallium's full-sized avatar
🖥️
Hex, Bugs and Source Control!

Vitaly Slobodin vitallium

🖥️
Hex, Bugs and Source Control!
View GitHub Profile
@vitallium
vitallium / keybase.md
Created June 24, 2022 08:34
keybase.md

Keybase proof

I hereby claim:

  • I am vitallium on github.
  • I am vitallium (https://keybase.io/vitallium) on keybase.
  • I have a public key ASDoOgajcmT6zG5-lsYEig0s4Z6x4f2lP-ZV4Vk_7ebxBgo

To claim this, I am signing this object:

@vitallium
vitallium / minimal.js
Last active May 13, 2019 18:50
Version 76.0.152.0 (Official build) dev (64-bit)
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({
executablePath: 'C:\\Program Files (x86)\\Microsoft\\Edge Dev\\Application\\msedge.exe',
args: ['--remote-debugging-port=9222']
});
const page = await browser.newPage();
await page.waitFor(5000);
await page.goto('https://news.ycombinator.com', {waitUntil: 'networkidle2'});
# spec/support/capybara_chrome.rb
require 'selenium/webdriver'
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, browser: :chrome)
end
Capybara.register_driver :headless_chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
chromeOptions: { args: %w(headless disable-gpu) }

Keybase proof

I hereby claim:

  • I am vitallium on github.
  • I am vitallium (https://keybase.io/vitallium) on keybase.
  • I have a public key ASBEVZ8gCXNp6Mpmx9DRtnmKnQqLM6OxXKSCeaBULwGo_Qo

To claim this, I am signing this object:

@vitallium
vitallium / Main.tsx
Last active January 31, 2017 10:37
TS + WebPack2
import * as React from "react";
import * as ReactDOM from "react-dom";
import { browserHistory, IndexRedirect, IndexRoute, Route, Router } from "react-router";
import { App } from "./src/Components";
import * as CommonActionCreators from "./src/ActionCreators";
ReactDOM.render((
<Router history={browserHistory}>
./configure -static -nomake examples -nomake tests -nomake tools -no-opengl -system-zlib -system-libpng -system-libjpeg -no-dbus -opensource -no-cups -prefix $PWD/../qtbase-build -no-xcb -confirm-license -no-libinput -no-gstreamer -no-kms -no-gbm -no-eglfs -no-gtkstyle -no-alsa -no-pulseaudio -no-glib -no-sql-psql -no-evdev -no-xkbcommon-evdev -no-egl -no-qml-debug -qt-pcre
exports.config = {
paths: {
public: './app/assets',
watched: ['./app/frontend']
},
files: {
javascripts: {
joinTo: {
'javascripts/vendor.js': /^node_modules/,
'javascripts/app.js': /^app\/frontend/,
diff --git a/Source/JavaScriptCore/parser/SourceProvider.h b/Source/JavaScriptCore/parser/SourceProvider.h
index 914251c..1a9a6bd 100644
--- a/Source/JavaScriptCore/parser/SourceProvider.h
+++ b/Source/JavaScriptCore/parser/SourceProvider.h
@@ -88,7 +88,7 @@ namespace JSC {
return adoptRef(*new StringSourceProvider(source, url, startPosition));
}
- ~StringSourceProvider() override;
+ JS_EXPORT_PRIVATE ~StringSourceProvider() override;
├───include
│ ├───QtWebKit
│ │ │ QtWebKit
│ │ │ QWebDatabase
│ │ │ qwebdatabase.h
│ │ │ QWebElement
│ │ │ qwebelement.h
│ │ │ QWebElementCollection
│ │ │ QWebFullScreenVideoHandler
│ │ │ QWebHapticFeedbackPlayer
if Rails.env.development?
task :set_annotation_options do
# You can override any of these by setting an environment variable of the
# same name.
Annotate.set_defaults({
'position_in_routes' => "before",
'position_in_class' => "after",
'position_in_test' => "before",
'position_in_fixture' => "before",
'position_in_factory' => "before",