Skip to content

Instantly share code, notes, and snippets.

View jalpendesai's full-sized avatar
🎯
Focusing

Jalpen Desai jalpendesai

🎯
Focusing
View GitHub Profile
@jamiephan
jamiephan / Hidden.bat
Last active October 14, 2024 14:19
Launch a batch file without showing the window, within one file and without third-party tools
@echo off
if not "%1"=="Opened_Via_PS" (
pushd %~dp0
REM //TODO: Use Env variable instead of passing checking arg.
rem Adopted from https://superuser.com/questions/62525/run-a-batch-file-in-a-completely-hidden-way
rem The " ^" at the end is similar to " \" for multi-line scripts.
rem Extend the %1 %2 (%3...) below if you have multiple command line args.
powershell.exe -NoLogo -NoProfile -WindowStyle Hidden -NonInteractive -ExecutionPolicy Bypass -Command ^
"(New-Object -ComObject WScript.Shell).Run('\"%cd%\%~n0%~x0\" Opened_Via_PS %1 %2', 0, 'false')"
@ruzrobert
ruzrobert / Vibration.cs
Last active October 15, 2024 18:08
Android Vibration for Unity 3D. Supports all API: 1 - 29 (auto detect), Amplitudes, Predefined Effects, both Legacy and >=26 APIs.
using System.Diagnostics.CodeAnalysis;
using UnityEngine;
// Dont forget to add "using RDG;" to the top of your script!
namespace RDG
{
/// <summary>
/// Class for controlling Vibration. Automatically initializes before scene is loaded.
/// </summary>
public static class Vibration
@pishangujeniya
pishangujeniya / zeroone.ipynb
Created November 10, 2019 11:54
ZeroOne.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pishangujeniya
pishangujeniya / Get-Windows-Product-Key.vbs
Last active March 1, 2020 08:40
Get Windows installed product key from registry in plain readable format
Set WshShell = CreateObject("WScript.Shell")
readableKey = ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))
MsgBox(readableKey)
Function ConvertToKey(Key)
insert = ""
AKey = ""
BKey = ""
CKey = ""
DKey = ""
@pishangujeniya
pishangujeniya / README.md
Created April 21, 2019 09:27 — forked from roachhd/README.md
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@pishangujeniya
pishangujeniya / MySQL-8-Visual-Studio-2017-EntityFramework-Guide.md
Last active May 29, 2022 07:12
MySQL Server 8.0 with Visual Studio 2017 and EntityFramework Install Guide

Installing MySQL 8.0 Server with EntityFramework in Visual Studio 2017

  • Install MySQL Server 8.0
  • Install Complete MySQL Connector.Net x86 8.0.16
  • Install Complete MySQL Visual Studio Plugin 1.2.8
  • If after installing MySQL Visual Studio Plugin it shows warning that failed to execute comamnd devenv /updateconfiguration, then manually execute that command in Developer Command Prompt for Visual Studio 20xx with run as administrator.
  • Run this command Install-Package EntityFramework -Version 6.4.0 in Visual Studio Nuget package manager console
  • Run this command Install-Package MySql.Data -Version 8.0.16 in Visual Studio Nuget package manager console
  • Run this command Install-Package MySql.Data.EntityFramework -Version 8.0.16 in Visual Studio Nuget package manager console
@sanukin39
sanukin39 / XcodeSettingsPostProcesser.cs
Last active October 11, 2023 16:04
Unity XcodeAPI Settings Sample
using System.IO;
using UnityEngine;
using UnityEditor;
using UnityEditor.iOS.Xcode;
using UnityEditor.Callbacks;
using System.Collections;
public class XcodeSettingsPostProcesser
{