Skip to content

Instantly share code, notes, and snippets.

View jeremyrajan's full-sized avatar
💭
💯

Jeremy Rajan jeremyrajan

💭
💯
View GitHub Profile
@chaodonghu
chaodonghu / follow-instagram.js
Last active October 9, 2025 06:13
Google Chrome script that allows user to mass follow instagram users on another's profile
// Run GOOGLE CHROME - WORKING AS OF MARCH 23 2025
// Please @ me in the comments if this stops working, I will try to get it working again within the month
// INSTRUCTIONS
// 1. Open Instagram in Chrome
// 2. Click on "followers" on any Instagram profile so you can see the list of followers
// 3. Open developer tools by right clicking on the page and clicking "INSPECT"
// 4. Copy the code below and paste in the developer tools console and press enter to run
// 5. Script will not run if tab is navigated away from, minimized of unfocused (It is recommended to open a new chrome window or push tab to the side and let script run in background)
@ibrahima
ibrahima / CodeBlock.jsx
Last active August 3, 2024 16:43
Syntax highlighting for react-markdown
import React from 'react';
import PropTypes from 'prop-types';
import SyntaxHighlighter from 'react-syntax-highlighter';
export default class CodeBlock extends React.PureComponent {
static propTypes = {
value: PropTypes.string.isRequired,
language: PropTypes.string,
}

This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');
@jeremyrajan
jeremyrajan / datepicker
Created July 28, 2013 15:51
A very very simple date picker for those who have lot of conflicting libraries! :)
<html>
<head>
<script>
<!--script which will change the date in the input box according to selection-->
<!-- This date selector doesnot carry fancy stuff :). A very basic date selector. -->
function changedate()
{
var date = document.getElementById("date"),
sel_date = date.options[date.selectedIndex];