Skip to content

Instantly share code, notes, and snippets.

View ajitStephen's full-sized avatar
:octocat:
Working from remote

Ajit T Stephen ajitStephen

:octocat:
Working from remote
View GitHub Profile
pylon-rust-detection-build:
image: IMAGE_PATH
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
- if: $CI_COMMIT_BRANCH == "rust_detection"
when: always
- when: never
stage: build
variables:
@ajitStephen
ajitStephen / functions.php
Last active June 21, 2021 04:04
mojo / plugin:API DATA (functions.php)
<?php
$GMAPS_KEY = '';
function debug($unknown){
if(gettype($unkown)){
echo '<pre>';
print_r($unknown);
echo '</pre>';
return;
}
@ajitStephen
ajitStephen / scrollingInterval.js
Last active February 13, 2024 10:27
Messenger Auto Scroll Old Messages
// Run this and watch dates you wanna reach
var scrollingInterval = setInterval(function () {
document.querySelectorAll('.uiScrollableAreaWrap.scrollable')[2].scrollTop = 0;
}, 500);
// hit this, once you reach
clearInterval(scrollingInterval);
FManage Hierarchical Data
http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/
htaccess
http://www.htaccess-guide.com/
Zend Projects
git@github.com:colinmccune/zend-training.git
Skype Notifications ON / OFF on any Chat window
@ajitStephen
ajitStephen / js-tricks.js
Last active October 8, 2018 05:52
Cool ways of logging
const foo = { name: "shyam", age: "10", code: false };
const coo = { name: "ram", age: "10", code: true };
const doo = { name: "kaam", age: "10", code: false };
//show variable name also
console.log({ foo, coo, doo });
// css
console.log("%c Test", "color:orange;font-weight:900;");