I hereby claim:
- I am directionforward on github.
- I am directionforward (https://keybase.io/directionforward) on keybase.
- I have a public key ASC1xrq7KRI1rDB_Qkf3ofvQQPSdlF-XxQhCvLQNZlfWego
To claim this, I am signing this object:
| var is_colliding = function($div1, $div2) { | |
| // Div1 data | |
| var d1_offset = $div1.offset(); | |
| var d1_height = $div1.outerHeight( true ); | |
| var d1_width = $div1.outerWidth( true ); | |
| var d1_distance_from_top = d1_offset.top + d1_height; | |
| var d1_distance_from_left = d1_offset.left + d1_width; | |
| // Div2 data |
| // Passive event listeners | |
| jQuery.event.special.touchstart = { | |
| setup: function( _, ns, handle ) { | |
| this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") }); | |
| } | |
| }; | |
| jQuery.event.special.touchmove = { | |
| setup: function( _, ns, handle ) { | |
| this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") }); | |
| } |
| if (window.document.documentMode) { | |
| // Do IE stuff | |
| } |
| if (typeof NodeList.prototype.forEach !== 'function') { | |
| NodeList.prototype.forEach = Array.prototype.forEach; | |
| } |
| add_action('admin_head', 'my_custom_fonts'); | |
| function my_custom_fonts() { | |
| echo '<style> | |
| /* styles here */ | |
| } | |
| </style>'; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| $action = New-ScheduledTaskAction -Execute "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Argument "&{ echo 'Setting print defaults to BandW...'; `$Printers = Get-Printer; Foreach(`$Printer in `$Printers){Set-PrintConfiguration -PrinterName `$Printer.name -Color `$False}; }"; | |
| $trigger = New-ScheduledTaskTrigger -AtStartup; | |
| $trigger.Repetition = (New-ScheduledTaskTrigger -Once -At 12am -RepetitionInterval (New-TimeSpan -Minutes 60)).repetition; | |
| $settings = New-ScheduledTaskSettingsSet -StartWhenAvailable -DontStopIfGoingOnBatteries -AllowStartIfOnBatteries; | |
| $settings.CimInstanceProperties.Item('MultipleInstances').Value = 3; | |
| $principal = $principal = New-ScheduledTaskPrincipal -UserID "NT AUTHORITY\SYSTEM" -LogonType ServiceAccount -RunLevel Highest; | |
| $task = New-ScheduledTask -Trigger $trigger -Action $action -Settings $settings -Principal $principal; | |
| Register-ScheduledTask "Update printer settings" -InputObject $task; |