Skip to content

Instantly share code, notes, and snippets.

View ankushdharkar's full-sized avatar

Ankush Dharkar ankushdharkar

View GitHub Profile
@broady
broady / 1MarkerAnimation.java
Last active March 13, 2024 12:44
Animating Markers
/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */
package com.example.latlnginterpolation;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.os.Build;
@kyledrake
kyledrake / ferengi-plan.txt
Last active July 10, 2024 18:51
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {
@ankushdharkar
ankushdharkar / README.md
Last active April 3, 2022 15:25
zsh configuration

.zshrc file

Don't forget to source it after changes

projectDirectory="<path-to-all-your-software-projects>";

alias openZshrc="code ~/.zshrc";
alias goFolderSoftwareProjects="cd $projectDirectory && ls -lh";
alias goFolderRealDevSquad="cd $projectDirectory/Real-Dev-Squad && ls -lh";