Skip to content

Instantly share code, notes, and snippets.

View mojoaxel's full-sized avatar
🏠
Working from home

Alexander Wunschik mojoaxel

🏠
Working from home
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2018-04-19 11:05:05> Program: Starting Squirrel Updater: --install .
2018-04-19 11:05:05> Program: Starting install, writing to C:\Users\delphiN\AppData\Local\SquirrelTemp
2018-04-19 11:05:05> Program: About to install to: C:\Users\delphiN\AppData\Local\hyper
2018-04-19 11:05:06> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\delphiN\AppData\Local\hyper\packages\.betaId" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String m
0 info it worked if it ends with ok
1 verbose cli [ '/home/delphin/.nvm/versions/node/v8.10.0/bin/node',
1 verbose cli '/home/delphin/.nvm/versions/node/v8.10.0/bin/npm',
1 verbose cli 'install',
1 verbose cli 'shoe' ]
2 info using npm@5.7.0
3 info using node@v8.10.0
4 silly correctMkdir /home/delphin/.nvm/versions/node/v8.10.0/etc correctMkdir not in flight; initializing
5 silly correctMkdir /home/delphin/.nvm/versions/node/v8.10.0 correctMkdir not in flight; initializing
6 silly correctMkdir /home/delphin/workspaces/workspace_default/tmp correctMkdir not in flight; initializing
@mojoaxel
mojoaxel / _README_jquery.flot.log.md
Last active April 26, 2019 09:48
Handling of logarithmic axes of flot charts

jQuery flot logarithmic axis plugin

This gist is based is on an pull-request to the flor repository by Arne de Laat.

The plugin generates nice look logarithmic ticks, e.g. [10⁻¹, 10⁰, 10¹, 10², 10³]. If there are not to many ticks it also creates some in between: [10⁰, 5x10⁰, 10¹, 5x10¹, 10², 5x10², 10³]. If the data to be plotted is all between two powers of ten the currently default tick generator and formatter are used instead.

Mainly tested in latest versions of Safari, Firefox and Chrome. Possibly still buggy for special cases.

@mojoaxel
mojoaxel / package.json
Last active March 14, 2018 21:42
install the latest debian version of zeit/hyper - download, npm install, npm start
{
"name": "hyper-updater",
"version": "1.0.0",
"description": "node.js script to install the latest version of zeit/hyper using the debian package",
"main": "update.js",
"scripts": {
"start": "npm run update",
"update": "node update.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
@mojoaxel
mojoaxel / _README.md
Last active September 3, 2022 13:39
node.js script to install the latest version of zeit/hyper using the debian package

This skript downloads and installs the most recent version of Hyper using last DEP package for linux.

Setup

git clone https://gist.github.com/mojoaxel/4fa8947905472818a72a97c113b535ae update-hyper
cd update-hyper
npm install

Update Hyper

#!/bin/sh
DATE=`date +%Y%m%d%H%M`
DB_HOST="localhost"
DB_NAME="xxxxxxxx"
DB_USER="xxxxxxxx"
DB_PASS="xxxxxxxxxxxxxxx"
DB_DUMPFILE=fuerthwiki_${DATE}_${DB_NAME}.sql.gz
@mojoaxel
mojoaxel / [0] Regression Testing.md
Last active June 28, 2017 14:23
Visual Regression Testing - https://git.io/vQcS0

Regression Testing

What is regression testing?

  • A "regression" means a "step back" what usually means a new/old bug.
  • Regression testing verifies that software which was previously developed (and tested) still performs the same way after it was changed or interfaced with other software.
  • It is not only used for functional areas, but also to visual changes (CSS).
  • Regression Testing is usually a big part of QA (quality assurance).
  • Regression testing can be done on every level: component, module, system.
  • Regression testing may include the execution of existing functional tests.
https://www.pscp.tv/w/a_ksijFXZ0tnRG9wenB5anZ8MUJSS2pXVnZha1FHd4jTL6SXsihB9hjCgCvb7W3fBpTJobDQAHz8Vo2awqFe