Skip to content

Instantly share code, notes, and snippets.

{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 500, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : false, // true: Require {} for every new block or scope
<?xml version="1.0" encoding="utf-8"?>
<DeclarationSortingDefinition>
<DeclarationSorter type="MultiConditionalDeclarationSorter">
<ConditionalDeclarationSorter>
<ClassDeclarationCondition type="AttributeClassDeclarationCondition" Attributes="TestFixture"/>
<DeclarationSorter type="DeclarationSorter">
<DeclarationComparer type="MultiDeclarationComparer">
<DeclarationComparer type="TypeDeclarationComparer" TypeOrder="Constant,Field,Property,Constructor,Method"/>
<DeclarationComparer type="ConditionalDeclarationComparer">
<DeclarationCondition type="TypeDeclarationCondition" Types="Method" />
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">
*[EventData[Data[@Name='TargetUserName'] and (Data='ebCQ47')]] and
*[System[(EventID=512 or EventID=513 or EventID=528 or EventID=538 or EventID=551 or EventID=4608 or EventID=4609 or EventID=4624 or EventID=4634 or EventID=4647 or EventID=4778 or EventID=4779 or EventID=4780 or EventID=4781 or EventID=4782 or EventID=4783)]]</Select>
<Select Path="Microsoft-Windows-Security-Audit-Configuration-Client/Operational">
*[EventData[Data[@Name='TargetUserName'] and (Data='ebCQ47')]] and
*[System[(EventID=512 or EventID=513 or EventID=528 or EventID=538 or EventID=551 or EventID=4608 or EventID=4609 or EventID=4624 or EventID=4634 or EventID=4647 or EventID=4778 or EventID=4779 or EventID=4780 or EventID=4781 or EventID=4782 or EventID=4783)]]</Select>
<Select Path="Microsoft-Windows-Security-IdentityListener/Operational">
@thekingofspain
thekingofspain / revealingModulePattern
Last active August 29, 2015 14:05
javascript-module-pattern
var module = (function () {
// private variables and functions
var foo = 'bar';
// constructor
var module = function () {
};
// prototype
module.prototype = {
Dim objHTA
Dim cClipBoard
Dim WshShell
set objHTA=createobject("htmlfile")
cClipBoard=objHTA.parentwindow.clipboarddata.getdata("text")
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey", cClipBoard, "REG_SZ"
WshShell.Run "regedit.exe -m"
Set objHTA = nothing
Set WshShell = nothing
@thekingofspain
thekingofspain / hourglass-animated-fontawesome.markdown
Created December 7, 2021 21:51
Hourglass Animated #FontAwesome

Hourglass Animated #FontAwesome

Animated Hourglass #FontAwesome icon using sass with the options to adjust the speed, Color and font size.

HTML, SCSS | CSS

A Pen by Majed on CodePen.

License.

# Visual Studio Code Rest API Client File
# For: https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/LifeTime_API_v2
@baseUrl = https://<lifetime>/lifetimeapi/rest/v2
@header = Authorization: Bearer <token>
###
@IncludeEnvStatus=
@IncludeModules=
@thekingofspain
thekingofspain / Wijmo2OutSystems.md
Last active January 31, 2023 17:36
Wijmo to OutSystems namespace mapping

Cheat sheet that maps a wijmo object names to their OutSystems references. Useful for porting code examples from the wijmo site and running them against the OutSystems Wijmo libraries that are imbedded with the Advanced Data Grid.

Wijmo OutSystems
CellRange wijmo.grid.CellRange
CollectionView wijmo.collections.CollectionView
ColumnGroup wijmo.grid.ColumnGroup
DataMap wijmo.grid.DataMap
FlexGrid wijmo.grid.FlexGrid
FlexGridFilter wijmo.grid.filter.FlexGridFilter
@thekingofspain
thekingofspain / OutSystems Entity Internals.md
Last active February 17, 2023 21:17
OutSystems Entity Internals

OutSystems Entity Internals

Module Enitites

Espace join Entity
 on Espace.Id = Entity.Espace_Id
Entity join Etity_Attr
  on Entity.Id = Etity_Attr.Entity_Id
where Espace.Name = @ModuleNameThatContainsTheEnity
@thekingofspain
thekingofspain / OutSystemsServiceStudioColors.html
Last active March 22, 2023 19:09
OutSystems ServiceStudio Colors
<a href="https://gistpreview.github.io//thekingofspain/97babc94ad6ca67cfa0f71e2a6b03d6f/outsystems-servicestudio-colors-html">Preview</a>
<a href="https://gistpreview.github.io//thekingofspain/97babc94ad6ca67cfa0f71e2a6b03d6f/outsystems-servicestudio-colors-html">Preview</a>
<h2>Light Theme</h2>
<h3>Interface Treeview</h3>
<table>
<tr>
<th scope="area">Area</th>
<th colspan="3" style="background:white;color:black;">Light</th>
<th colspan="3" style="background:black;color:white;">Dark</th>
</tr>