- Other than editors, install everything needed in WSL. It's easier.
- Piping to windows programs does work, just remember to add .exe
- echo 1234 | clip.exe
- Editors can't see anything in Linux FS, keep all code in /mnt/c
- Enable windows developer mode
import type { AstroIntegration } from "astro"; | |
import { glob } from "glob"; | |
import path from "path"; | |
const createPlugin = (redirects: Record<string, string>): AstroIntegration => { | |
return { | |
name: "astro-plugin-restricted-pages", | |
hooks: { | |
"astro:config:setup": async ({ injectRoute }) => { | |
const baseDir = "src/pages-restricted"; |
// ==UserScript== | |
// @name Glove80 editor inprovements | |
// @namespace https://gist.github.com/imeredith | |
// @version 0.11 | |
// @description Improvments to the 6love80 editor | |
// @author imeredith | |
// @match https://my.glove80.com/* | |
// @grant GM_addStyle | |
// @downloadURL https://gist.githubusercontent.com/imeredith/4f156fc3cf86aaee8872cca07c6f8dcb/raw | |
// @updateURL https://gist.githubusercontent.com/imeredith/4f156fc3cf86aaee8872cca07c6f8dcb/raw |
$win_user = "ivan" | |
$linux_user = "ivan" | |
$package = "CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc" | |
$base_path = "C:\Users\" + $win_user + "\AppData\Local\Packages\" + $package + "\LocalState\rootfs" | |
$dirs = @("\usr\local\sbin", "\usr\local\bin", "\usr\sbin", "\usr\bin", "\sbin", "\bin", "\usr\games", "\usr\local\games") | |
$dirs | ForEach { Add-MpPreference -ExclusionProcess ($base_path + $_ + "\*") } | |
Add-MpPreference -ExclusionPath $base_path |
console.log('App loaded") |
import { Plugin } from './Plugin'; | |
export class AwesomePlugin implements Plugin { | |
render(element: HTMLDivElement): void { | |
console.log('rendered plugin'); | |
element.innerText ='XYZXYZ'; | |
} | |
extensionId: string = 'blah'; | |
} |
"jest": { | |
"transform": { | |
"^.+\\.tsx?$": "ts-jest", | |
"^.+\\.jsx?$": "babel-jest" | |
}, | |
"moduleFileExtensions": [ | |
"ts", | |
"tsx", | |
"js", | |
"jsx", |
#!groovy | |
node() { | |
stage('Setup') { | |
deleteDir() | |
checkout scm | |
sh 'docker build -t blueocean_build_env --build-arg GID=$(id -g ${USER}) --build-arg UID=$(id -u ${USER}) - < Dockerfile.build' | |
sh "./acceptance-tests/runner/scripts/start-selenium.sh" | |
sh "./acceptance-tests/runner/scripts/start-bitbucket-server.sh" |
Checkout 1.1.0-release | |
Then mvn versions:set -DnewVersion=1.1.0 | |
Clean install project. | |
Download Jenkins war. | |
java -jar jenkins.war | |
Install Blueocean 1.1.0 from update center. | |
Go to http://localhost:8080/blue | |
Restart jenkins | |
Go to http://localhost:8080/blue - it should not be infinitely reloading. |
package io.blueocean.ath; | |
import com.mashape.unirest.http.exceptions.UnirestException; | |
import io.blueocean.ath.api.classic.ClassicJobApi; | |
import io.blueocean.ath.pages.blue.DashboardPage; | |
import io.blueocean.ath.pages.classic.LoginPage; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.openqa.selenium.WebDriver; |