Skip to content

Instantly share code, notes, and snippets.

View rishimohan's full-sized avatar
👻
Working from home

Rishi Mohan rishimohan

👻
Working from home
View GitHub Profile
@rishimohan
rishimohan / .html
Last active August 10, 2022 10:02
Pure Tailwind Animated button
<div class="relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-gradient-to-br from-black to-slate-800 py-6 sm:py-12">
<button class="group relative cursor-default rounded-2xl overflow-hidden bg-gradient-to-b from-gray-800 to-gray-900 px-12 py-5 text-2xl text-white shadow-xl shadow-black/30 ring-1 ring-purple-700 hover:ring-purple-500 duration-200 hover:scale-[0.99]">
<div class="absolute left-[-40px] top-[-110px] h-[300px] w-[300px] animate-[spin_6s_linear_infinite] bg-gradient-to-b from-purple-800 via-[#1c1c1c] to-[#2e1cf1] group-hover:opacity-80 duration-200"></div>
<div class="relative opacity-90 text-purple-200 duration-200">Submit →</span>
</button>
</div>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
export const SpinnerIcon = (
<svg
version="1.0"
width="100%"
height="100%"
viewBox="0 0 128 128"
>
<g>
<path d="M59.6 0h8v40h-8V0z" fill="#000" />
<path d="M59.6 0h8v40h-8V0z" fill="#ccc" transform="rotate(30 64 64)" />
@rishimohan
rishimohan / txt
Created October 1, 2019 13:24
failing-test.txt
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.6.3
-----> Installing dependencies using bundler 1.17.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/...........
Fetching https://github.com/activeadmin/inherited_resources.git
Fetching https://github.com/activeadmin/activeadmin.git
Fetching https://x-oauth-basic@github.com/bigbinary/zindi-ruby-sdk.git
Fetching rake 10.5.0
Feedback:
Home -
- Keep heading font weight consistent, in some places it's regular and in some it's bold(companies that trust us and rest of the headings)
- There's one JS error in console(https://cl.ly/0t0F3q2G1V1X/Image%2525202018-08-16%252520at%25252013.15.52.png)
- There's some issue with mobile nav dropdown when height of browser is less(https://cl.ly/2c2I2N0E3T36)
Services Main -
- Update text(https://cl.ly/3p3k2Z0e2A1i)
@rishimohan
rishimohan / disable.sh
Created June 19, 2018 06:35
Disable bunch of #$!@ in Sierra (Version 2.1)
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi