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
# Cyberpunk2077 launch script to skip final intro movie | |
# Usage: powershell -ExecutionPolicy Bypass -File "Cyberpunk 2077 - Spacebar Pusher.ps1" | |
# After launch this script will tap spacebar once every second | |
# until $stopAfter many seconds have elapsed | |
# Tweak this number to match your system | |
# If this number is too low the intro won't be skipped | |
# In this number is too high spacebar will keep being tapped in the main menu | |
$stopAfter = 25 |
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
document.body.innerHTML = JSON.parse(document.querySelector('[data-component-props="OverlayAd"]').textContent).story.body + '<style>p { margin: 1em; line-height: 1.2; }</style>' |
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 action/Zone */ | |
// Auto-generated, edits will be overwritten | |
import * as Zone from '../Zone' | |
export default { | |
async search_zone({ commit }, { options }) { | |
const response = await Zone.search_zone(options); | |
if (response.error) { |
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
buildscript { | |
repositories { | |
maven { url = 'https://files.minecraftforge.net/maven' } | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true | |
classpath group: 'net.md-5', name: 'SpecialSource', version: '1.8.6', changing: 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
func createNewWindow() -> NSWindowController? { | |
let storyboard = NSStoryboard(name: "Main", bundle: nil) | |
guard let mainViewController = storyboard.instantiateController(withIdentifier: "OutlineViewController") as? RecallOutlineViewController else { return nil } | |
let newWindow = NSWindow(contentViewController: mainViewController) | |
newWindow.title = "Recall" | |
newWindow.toolbar = NSToolbar(identifier: "MainToolbar") | |
newWindow.makeKeyAndOrderFront(self) |
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 Cocoa | |
import Foundation | |
class RecallOutlineView: NSOutlineView { | |
required init?(coder: NSCoder) { | |
super.init(coder: coder) | |
} | |
var isReceivingDrag = false { | |
didSet { |
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
func outlineViewItemWillExpand(_ notification: Notification) { | |
if let entity = notification.userInfo?["NSObject"] as? DesktopFolderEntity { | |
guard let sortDescriptor = self.outlineView.sortDescriptors.first else { return } | |
entity.isExpanding = true | |
let childrenFetch = BlockOperation { | |
entity.buildChildren() | |
entity.sortChildren(sortDescriptor: sortDescriptor) |
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
let cpSpawn = require('child_process').spawn; | |
async function spawn(cmd, args, opts, handleStdout, handleStderr) { | |
return new Promise((resolve, reject) => { | |
let handle = cpSpawn(cmd, args, opts); | |
handle.stdout.setEncoding('utf8'); | |
handle.stdout.on('data', d => handleStdout(d.toString())); | |
handle.stderr.setEncoding('utf8'); |
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
# /etc/haproxy/haproxy.cfg, version 1.4 | |
global | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global |
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
/* THIS FILE IS AUTO-GENERATED, EDITS WILL BE OVERWRITTEN */ | |
import Vue from 'vue' | |
import expect from 'expect' | |
import { config, mount, createLocalVue } from '@vue/test-utils' | |
import Component from '../../examples/todomvc/components/App.vue' | |
import store from '../../examples/todomvc/store' | |
config.stubs.transition = false |
NewerOlder