Skip to content

Instantly share code, notes, and snippets.

@creatigent
creatigent / mousemove.ps1
Created April 22, 2022 14:55 — forked from MatthewSteeples/mousemove.ps1
Powershell Script to keep the mouse moving
Add-Type -AssemblyName System.Windows.Forms
while ($true)
{
$Pos = [System.Windows.Forms.Cursor]::Position
$x = ($pos.X % 500) + 1
$y = ($pos.Y % 500) + 1
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y)
Start-Sleep -Seconds 10
}
@creatigent
creatigent / go-interview-questions.md
Created January 5, 2022 21:13 — forked from sadhasivam/go-interview-questions.md
Golang Interview Questions
  • Installation: 1- Explain how Go path works? 2- What are the benefits of Go Module (reference its commands)?

  • Concurrency: 1- Explain Concurrency & when to use it? 2- How would you allow communication between goroutines in Go? 3- How would you manage their access to resources?

  1. why do you use Go (my answer was as simple as "why i shouldn't", and some extra points Grimacing face)
@creatigent
creatigent / labyrinth_bind.js
Created April 21, 2021 14:58 — forked from Tydus/labyrinth_bind.js
fiddler script for labyrinth bind
import System;
import System.Windows.Forms;
import Fiddler;
// INTRODUCTION
// This is the FiddlerScript Rules file, which creates some of the menu commands and
// other features of Fiddler. You can edit this file to modify or add new commands.
//
// The original version of this file is named SampleRules.js and it is in the
// \Program Files\Fiddler\ folder. When Fiddler first starts, it creates a copy named
@creatigent
creatigent / FiddlerScript.js
Created April 21, 2021 13:31 — forked from jonschoning/FiddlerScript.js
FiddlerScript.js
//https://gist.github.com/1368507
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;
// INTRODUCTION
// This is the FiddlerScript Rules file, which creates some of the menu commands and
// other features of Fiddler. You can edit this file to modify or add new commands.
Reference: http://demon.tw/my-work/vbs-json.html
VbsJson class for parsing JSON format data with VBS
Tags: JavaScript , JSON , VB , VBS , VBScript
Title: The VBS resolve VbsJson class of JSON data format of: Demon
Link: http://demon.tw/my-work/vbs-json.html
Copyright: All articles in this blog are subject to the terms of " Signature - Non-Commercial Use - Share 2.5 China in the Same Way ".
@creatigent
creatigent / postman_vs_insomnia_comparison.md
Created March 22, 2021 19:52 — forked from samoshkin/postman_vs_insomnia_comparison.md
Comparison of API development environments: Postman vs Insomnia

Postman vs Insomnia comparison

Postman | API Development Environment https://www.getpostman.com
Insomnia REST Client - https://insomnia.rest/

Features                                        Insomnia Postman Notes
Create and send HTTP requests x x
Authorization header helpers x x Can create "Authorization" header for you for different authentication schemes: Basic, Digest, OAuth, Bearer Token, HAWK, AWS
@creatigent
creatigent / json.vbs
Created March 21, 2021 19:39 — forked from atifaziz/json.vbs
JSON Encoder for VBScript
'==========================================================================
' JSON Encoder for VBScript
' Copyright (c) 2013 Atif Aziz. All rights reserved.
'
' Licensed under the Apache License, Version 2.0 (the "License");
' you may not use this file except in compliance with the License.
' You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
@creatigent
creatigent / DynamoEnumConverter
Created March 12, 2021 14:31 — forked from jvwing/DynamoEnumConverter
For use with Amazon DynamoDB DataModel API for .NET. This class can be used to automagically serialize enum properties to DynamoDB, by decorating the property with the attribute [DynamoDBProperty(typeof(DynamoEnumConverter<AccountStatus>))], where "AccountStatus" is the name of the enumerated type..
public class DynamoEnumConverter<TEnum> : IPropertyConverter
{
public object FromEntry(DynamoDBEntry entry)
{
string valueAsString = entry.AsString();
TEnum valueAsEnum = (TEnum)Enum.Parse(typeof(TEnum), valueAsString);
return valueAsEnum;
}
public DynamoDBEntry ToEntry(object value)
@creatigent
creatigent / runwebservicetest.bat
Created March 7, 2021 16:03 — forked from benjamine/runwebservicetest.bat
Call WebService with JSON data using MSXML2.ServerXMLHTTP (Windows Script)
Cscript webservicetest.js
pause
@creatigent
creatigent / simplejson.js
Created March 6, 2021 01:55 — forked from gnh1201/simplejson.js
SimpleJSON: JSON encode, decode without default parser (pure javascript JSON parser)
// SimpleJSON: JSON encode, decode without default (pure javascript JSON parser)
// Go Namhyeon <gnh1201@gmail.com>
// https://github.com/gnh1201
// MIT license
var $ = {};
/**
* Decode JSON
*