Skip to content

Instantly share code, notes, and snippets.

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

sl5net

🏠
Working from home
View GitHub Profile
@sl5net
sl5net / gist:42cc22259ef23d0b92f3bcfdad2a01ba
Created October 8, 2018 15:56
example for the ahk-comunity-Forum
code|rr|[code][/code]|ahk|send,{left 7}{enter 2}{up}{text}%clipboard%
url|rr|[url=]title[/url]|ahk|send,{left 12}{text}%clipboard% `n send,{CtrlDown}{ShiftDown}{Left}{ShiftUp}{CtrlUp}
msg := vOutput1 "`r`n`r`n" vOutput2
Clipboard := msg
MsgBox,% msg "(" A_LineNumber " " RegExReplace(A_LineFile,".*\\") ")"
2018 10 06 17 42 00
63720982
0.737511
2018 10 06 15 42 00
56520982
<html class="x-border-box x-strict x-viewport" style="position: relative; left: 0px; overflow: hidden;"><head id="ext-gen1031">
<meta charset="UTF-8">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Shopware 5.4.6 (Rev. 201807181357) - Backend (c) shopware AG</title>
<link rel="stylesheet" type="text/css" href="/themes/Backend/ExtJs/backend/_resources/resources/css/ext-all.css?201807181357">
<link rel="stylesheet" type="text/css" href="/themes/Backend/ExtJs/backend/_resources/resources/css/core-icon-set.css?201807181357">
<link rel="stylesheet" type="text/css" href="/themes/Backend/ExtJs/backend/_resources/resources/css/core-icon-set-new.css?201807181357">
<link rel="stylesheet" type="text/css" href="/engine/Library/CodeMirror/lib/codemirror.css?201807181357">
<link rel="stylesheet" type="text/css" href="/themes/Backend/ExtJs/backend/_resources/styles/growl.css">
@sl5net
sl5net / offcanvas-menu.less
Created September 1, 2018 09:47
offcanvas-menu.less
/*
Off-canvas menu
=======================================
The off-canvas menu is the default shopping cart menu in Shopware.
It is an expanding menu that displays the shopping cart at the right side of the screen.
It can be enabled/disabled inside the Shopware 5 backend.
The functionality is provided by the `jquery.off-canvas-menu.js` file.
docker stop 8e008ebf3ad7
8e008ebf3ad7
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
5227976cb9bb friendlyhello "python app.py" About an hour ago Up About an hour 0.0.0.0:4001->80/tcp SOMENAME
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
; Indentation_style: https://de.wikipedia.org/wiki/Einrückungsstil#SL5small-Stil
#Include *i %A_ScriptDir%\inc_ahk\init_global.init.inc.ahk
; text sugestion for your commit: this commits are fully automatic produced by script automatic-git-push-in-intellij.ahk
SetTitleMatchMode,2
feedbackMsgBoxCloseAllWindows()
;feedbackMsgBox(A_ScriptName,"18-01-06_16-26")
; htdocs master - [C:\xampp\apps\wordpress\htdocs] - ...\README.md [htdocs] - PhpStorm ahk_class SunAwtFrame ; mouseWindowTitle=0x1f0996 ;
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
// NOTE: Do not place your application dependencies here; they belong
Loop, %A_ScriptDir%/*.*, 2 , 1
{
if(StrLen(A_LoopFileFullPath) < StrLen(A_ScriptDir))
{
; thats bullshit
continue
}
;~ ToolTip,A_LoopFileFullPath=%A_LoopFileFullPath%
msgBox_A_LoopFileF = A_LoopFileFullPath= %A_LoopFileFullPath% `n A_LoopFileFullPath=%A_LoopFileFullPath% `n A_LoopFileName=%A_LoopFileName% `n A_LoopFileDir=%A_LoopFileDir% `n A_ScriptDir=%A_ScriptDir% `n %A_AhkVersion% = A_ahkVersion (line:%A_LineNumber%) `n Tools: SciTE4AutoHotkey, SL5_AHK_Refactor_engine
Clipboard=%msgBox_A_LoopFileF%
@sl5net
sl5net / gist:760007cb0c50128f7cbd
Created June 5, 2015 14:31
KeyValue for System.out.println() in IntelliJ IDEA
SetTitleMatchMode,2
#IfWinActive,- IntelliJ IDEA 14.1.3 ahk_class SunAwtFrame
^%::
+%::
if(StrLen(clipboard) < 100 )
{
c := clipboard
c2 := "{NumpadAdd} "" = " . c . "\n"""
@sl5net
sl5net / gist:824ea1907aa29039ea39
Created June 5, 2015 08:01
sikuliX_multi_monitors_test15-06-05_09-59
n = getNumberScreens()
nNumverScreensExpected = 4
print (Env.getSikuliVersion() , " " , n , " monitors." )
for ScreenId in range(n):
print("----------------- ScreenId = ", ScreenId)
reg = Screen(ScreenId)
print("reg: x, y, w, h = ", reg.x , reg.y, reg.w, reg.h)
x = reg.x
y = reg.y
topLeft = Location(x, y) # equivalent to