Skip to content

Instantly share code, notes, and snippets.

View sanskritkm's full-sized avatar
😃

SanskritKM sanskritkm

😃
  • 14:22 (UTC +07:00)
View GitHub Profile
@sanskritkm
sanskritkm / ui-off-white-color-alternatives.md
Last active November 3, 2024 09:31
Alternatives to Pure White (#FFFFFF) for UI Text and Backgrounds

This Gist provides a collection of soft, off-white color alternatives to pure white (#FFFFFF), ideal for use in UI design. These shades reduce glare, enhance readability, and give a softer look to interfaces, making them more comfortable for users’ eyes. Each color includes its Hex and RGB values, making it easy to use for both web and mobile design projects. Inspired by best practices in accessibility and user comfort, these colors offer subtle variations perfect for background or text elements in light-themed UIs.

credit: https://x.com/Abmankendrick X: https://x.com/Abmankendrick/status/1852641278564942314

screenshot: image

Color List

@sanskritkm
sanskritkm / vmware.md
Created August 15, 2024 09:52 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@sanskritkm
sanskritkm / gist:a8dbf3b7cb03f74b576496ae68379287
Last active November 22, 2023 03:25
openai message to board

Below is backup from https://archive.ph/w0jmQ

@Elon Musk post on X: https://x.com/elonmusk/status/1727096607752282485?s=20

11/21/2023

To the Board of Directors of OpenAI:

We are writing to you today to express our deep concern about the recent events at OpenAI, particularly the allegations of misconduct against Sam Altman. We are former OpenAI employees who left the company during a period of significant turmoil and upheaval. As you have now witnessed what happens when you dare stand up to Sam Altman, perhaps you can understand why so many of us have remained silent for fear of repercussions. We can no longer stand by silent.

@sanskritkm
sanskritkm / VMware Fusion Player 12 license key.txt
Last active January 25, 2024 02:29
VMware Fusion Player 12 license key
If you'r using MAC Intel CPU you want to use VMware to virtual your desired OS such Windows or Ubuntu on the MAC OS you need to download VMware Fusion Player first then it has two version Pro and Player, the Player version is free for personal use but you need to create VM account to download and licence key.
You can create account to download yourself here:
https://customerconnect.vmware.com/group/vmware/evalcenter?p=fusion-player-personal
If you don't want to create account to get license, you can try below original license key for VMware Fusion Player:
COMPONENT:
VMware Fusion Player – Personal Use
@sanskritkm
sanskritkm / gist:2f0630feb17688928d2c11a95e4271c4
Last active April 13, 2021 10:03
Warning: sprintf(): Too few arguments in class-bulk-upgrader-skin.php on line 154
If you got error code "Warning: sprintf(): Too few arguments in class-bulk-upgrader-skin.php on line 154" when you try to install multiple
plugin in Wordpress when a theme required here is the solution:
Error file location: ROOT/wp-admin/includes/class-bulk-upgrader-skin.php
Your error code:
if ( $this->result && ! is_wp_error( $this->result ) ) {
if ( ! $this->error ) {
echo '<div class="updated js-update-details" data-update-details="progress-' . esc_attr( $this->upgrader->update_current ) . '">' .
@sanskritkm
sanskritkm / outline-server-setup.md
Created April 6, 2021 08:58 — forked from hadisfr/outline-server-setup.md
How to setup an Outline VPN Server on Ubuntu 16.04

How to setup an Outline VPN Server on Ubuntu 16.04 Server

This guide will show you how to install Outline Server on an Ubuntu 16.04 Server and use Outline Manager.

Install Outline Manager

Outline Manager supports Windows, macOS and Linux.

Outline Manager for Windows

In this article I'm going to walk you through process of creating Wordpress plugins. First I'm going to talk about some of the basic concepts in Wordpress plugin development like the actions, hooks, and API's that makes up Wordpress. Then were going to build a plugin where we apply some of the concepts and best practices in developing Wordpress plugins.

###Prerequisites

In order to fully benefit from this tutorial you should have a basic knowledge on PHP. As Wordpress is running on PHP and most of the code that we will be writing will be on PHP. A little bit of knowledge on HTML, CSS and JavaScript is also helpful but not required for this tutorial.

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@sanskritkm
sanskritkm / 2019-https-localhost.md
Created October 12, 2020 17:37 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).