Skip to content

Instantly share code, notes, and snippets.

View onequbit's full-sized avatar

Alfred Aquino onequbit

  • Northern Virginia
View GitHub Profile
@onequbit
onequbit / gist:d9a7cc1cd1fcdeb368a5a74ad69087aa
Last active April 5, 2021 15:30
download Windows Developer VM
wget -O windev.zip https://aka.ms/windev_VM_virtualbox
### 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 June 11, 2020 19:17
Windows Task Bar Pinned Shortcuts Location
"$env:appdata\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"
<PropertyGroup>
<MSBuildExtensionsPath>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild</MSBuildExtensionsPath>
</PropertyGroup>
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
$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")
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Fireworks!</title>
</head>
<style>
body {
background-color: #000000;
margin: 0px;
@onequbit
onequbit / ListUtilities.js
Created November 20, 2019 02:42
SharePoint REST API code snippets
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",