This file contains hidden or 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
<?php | |
/** | |
* Trocar valores hexadecimais por cor | |
* @param string text | |
* @return string | |
* | |
* @author Kugi Haito | |
*/ | |
function hexColor(string $text) { |
This file contains hidden or 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
<!-- OneSignal Push --> | |
<script async='async' src='https://cdn.onesignal.com/sdks/OneSignalSDK.js'></script> | |
<script> | |
var OneSignal = window.OneSignal || []; | |
OneSignal.push(["init", { | |
appId: "Aqui entra o OneSignal App ID", | |
subdomainName: 'bulfaitelo-project', | |
httpPermissionRequest: { | |
enable: true, | |
modalTitle: 'Grato pela assinatura', |
This file contains hidden or 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
' VBS Script to get the Windows(R) 7 Product Key from a PC's registry. | |
' | |
' Save the VBScript as "getWin7Key.vbs" somewhere on your Windows7 PC. | |
' Now, when you double-click the local script file an alertbox pops up | |
' displaying the product key stored in the machine's Windows registry. | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
KeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId" | |
MsgBox ExtractKey(WshShell.RegRead(KeyPath)) |