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
*************************** | |
APPLICATION FAILED TO START | |
*************************** | |
Description: | |
Web server failed to start. Port 8080 was already in use. | |
Action: |
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
{ | |
"version":"2.0.101", | |
"settings": | |
{ | |
"autofocusevents":"ads,annotations,cinema,size,boost,loop,speed,filters", | |
"autopausevideos":true, | |
"backgroundcolor":"#000000", | |
"backgroundopacity":85, | |
"blur":0, | |
"brightness":100, |
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
{ | |
"title": "Slovenian keyboard bindings", | |
"rules": [ | |
{ | |
"description": "Alt + D, Alt + F - Square brackets", | |
"manipulators": | |
[ | |
{ | |
"type": "basic", | |
"from": { |
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
; Remap windows key + h to minimize the current window | |
#h:: | |
WinMinimize A | |
return | |
; Disable the keyboard layout switcher | |
Ctrl & Shift:: | |
return | |
; Remap windows key to the launcher |
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
// note: all steps check if the logged in user is the CPC_AUTHORITY (Role) | |
// was the chief selected (via dialog) | |
if (null != this.selectedChief) { | |
// store selected chief id to the application | |
this.application.setChiefId(this.selectedChief.getId()); | |
// remove chiefs if from the visited id list (so the chief sees the application as "new" in the list) | |
this.application.removeVisitedId(this.selectedChief.getId()); | |
// is registrar only changing the chief selection |
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
function filterList(componentName, label, filter) { | |
let component = PF(componentName), | |
itemLabel = label.toLocaleLowerCase(), | |
item = $(component.items) | |
.filter(function () { | |
return $(this).data('label').toString().toLocaleLowerCase() === itemLabel; | |
}) | |
.first(); | |
if (item === undefined) { |
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
#!/usr/bin/python2 | |
# -*- coding: utf-8 -*- | |
'''Program to toggle Touchpad Enable to Disable or vice-versa.''' | |
import commands | |
import re | |
def current_id(): | |
""" Search through the output of xinput and find the line that has the |
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
@echo off | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
start /min cmd /c taskkill /f /im HWiNFO64.exe | |
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe enable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1" | |
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe disable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1" | |
start /min cmd /c "C:\Program Files\HWiNFO64\HWiNFO64.exe" |
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
public static function measureString(str:String, format:TextFormat) : Number { | |
var textField:TextField = new TextField(); | |
textField.autoSize = TextFieldAutoSize.LEFT; // adjust appropriately | |
textField.defaultTextFormat = format; | |
textField.text = str; | |
return textField.textWidth; | |
} |
NewerOlder