Skip to content

Instantly share code, notes, and snippets.

View ypk's full-sized avatar

Prasanna Yalala ypk

  • United Kingdom
View GitHub Profile
@ypk
ypk / default.md
Created July 8, 2025 22:56 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
/*!
* Font Awesome Free 5.8.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(https://aem-qa.grantthornton.com/etc.clientlibs/grantthornton-aem-base/clientlibs/vendor/font-awesome/resources/fonts/fa-regular-400.eot);src:url(https://aem-qa.grantthornton.com/etc.clientlibs/grantthornton-aem-base/clientlibs/vendor/font-awesome/resources/fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(https://aem-qa.grantthornton.com/etc.clientlibs/grantthornton-aem-base/clientlibs/vendor/font-awesome/resources/fonts/fa-regular-400.woff2) format("woff2"),url(https://aem-qa.grantthornton.com/etc.clientlibs/grantthornton-aem-base/clientlibs/vendor/font-awesome/resources/fonts/fa-regular-400.woff) format("woff"),url(https://aem-qa.grantthornton.com/etc.clientlibs/grantthornton-aem-base/clientlibs/vendor/font-
@ypk
ypk / scope.js
Last active July 23, 2020 19:12
js scope
var users= (function($) {
"use strict";
return {
init: function() {
this.validation();
},
validation: function() {
$('#form input').on('blur', function(){
// This will NOT work because from there is no function ajaxcheck defined;
// the scope of the function "validation" is from line 7 to line 20 in this file
// Original enabler by ZoID: http://forums.eidosgames.com/showthread.php?t=61298
// Improved, fixed for Steam by RDJ http://roguedarkjedi.com
// Allow XP access
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#include <windows.h>
#include <string>
#include <iostream>
#pragma comment(lib, "User32.lib")
@ypk
ypk / date-insert.gs
Last active July 12, 2020 10:13
Add-on to insert date in google apps (docs/sheets etc.)
/*
https://webapps.stackexchange.com/a/82411
*/
function onOpen() {
// Add a menu with some items, some separators, and a sub-menu.
DocumentApp.getUi().createMenu('Utilities')
.addItem('Insert Date', 'insertAtCursor')
.addToUi();
}
@ypk
ypk / hideOwnedItems.js
Created December 27, 2018 23:17
simple code to hide items from search results
(function(){
/* there should be a built-in option like this in steam */
document.querySelector("#search_results").querySelectorAll(".ds_flag.ds_owned_flag").forEach(function(ownedItem){
ownedItem.parentNode.style.display='none';
});
})();
@ypk
ypk / gist:be17a2deab45f72c5160179403b41622
Last active July 14, 2018 16:49
Rakuten company deselection javascript
document.querySelectorAll("input[class*=switch_]").forEach((selection) => { if(selection.checked === true) { selection.click(); } } );
$red: #f0000;
body {
background:
red;
}
@ypk
ypk / android-tether-bypass.md
Created March 28, 2018 16:29
By passing tethering restrictions in android
  1. Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
  2. Enable USB debugging under Settings -> Developer options
  3. Connect the device with a USB cable to a computer with the Android SDK platform tools installed
  4. Start an adb shell: adb shell
  5. In the adb shell, run this command: settings put global tether_dun_required 0