Skip to content

Instantly share code, notes, and snippets.

Avatar

Alfred Aquino onequbit

  • Northern Virginia
View GitHub Profile
View gist:d9a7cc1cd1fcdeb368a5a74ad69087aa
wget -O windev.zip https://aka.ms/windev_VM_virtualbox
View gist:a96bf1d4b7bb16a2b26ad3089a7122dd
### Keybase proof
I hereby claim:
* I am onequbit on github.
* I am onequbit (https://keybase.io/onequbit) on keybase.
* I have a public key whose fingerprint is 85CC 1C53 6396 DF96 108D 44BB B612 5B8C F1F3 2493
To claim this, I am signing this object:
@onequbit
onequbit / gist:cfaaa022f97d026da408a3d35aca377b
Last active Jun 11, 2020
Windows Task Bar Pinned Shortcuts Location
View gist:cfaaa022f97d026da408a3d35aca377b
"$env:appdata\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"
View msbuildextensionspath_csproj.txt
<PropertyGroup>
<MSBuildExtensionsPath>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild</MSBuildExtensionsPath>
</PropertyGroup>
View Enable-Cortana.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000001
View Disable-Cortana.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
View DiscordMalwareCheck.ps1
$expected = "module.exports = require('./discord_modules.node');"
function showmessage($message)
{
$console = $host.Name -eq "ConsoleHost"
if ($console)
{
"$message"
Write-Host "Press any key to continue..."
$ignore = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
View fireworks.html
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Fireworks!</title>
</head>
<style>
body {
background-color: #000000;
margin: 0px;
@onequbit
onequbit / ListUtilities.js
Created Nov 20, 2019
SharePoint REST API code snippets
View ListUtilities.js
function getItemsREST(RESTurl)
{
var deferred = $.Deferred();
// console.log(url);
var result = "";
var ajaxCall = {
url: _spPageContextInfo.webAbsoluteUrl + RESTurl,
type: "GET",
headers: {
"accept": "application/json;odata=verbose",