Skip to content

Instantly share code, notes, and snippets.

View aniketpant's full-sized avatar
WHAT

Aniket Pant aniketpant

WHAT
View GitHub Profile
@aniketpant
aniketpant / dabblet.css
Created January 15, 2012 05:06
Smashing Magazine like side menu
/**
* Smashing Magazine like side menu
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
a {
display: block;
text-decoration: none;
}
@aniketpant
aniketpant / log.txt
Created June 29, 2012 19:36 — forked from theonewolf/log.txt
Conversation with Hackerrank.com Site Owners/Developers
→hello
→are you there?
interviewstreet: yes
→i see that you have created a website for hackers
→but you send passwords in the clear?
interviewstreet: what passwords?
interviewstreet: the activation mail doesn't contain any password
→sign up passwords
→are sent via HTTP POST
→in the clear
@aniketpant
aniketpant / install_st2_ubuntu.sh
Created November 20, 2012 06:14
Installing Sublime Text 2 on Ubuntu
tar xf Sublime\ Text\ 2.0.1\ x64.tar.bz2
sudo mv Sublime\ Text\ 2 /opt/
sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime
sudo sublime /usr/share/applications/sublime.desktop
sudo sublime /usr/share/applications/defaults.list
@aniketpant
aniketpant / community_engagement_ftw.md
Last active December 10, 2015 11:09
My script on "Community Engagement FTW" for BarCamp Goa '13

Community Engagement FTW

Your users are everything to you. For any brand, be it a service, be it a platform or even a blog, your audience sums up your entire outlook.

What do I mean by community?

By community I mean, your users, your followers, your critics and your appraisers. Basically every single human that visits your website. (We will not be talking about robots) I guess I missed out that other brands are also part of your community.

What exactly is engagement?

@aniketpant
aniketpant / maid-rules.rb
Last active December 11, 2015 05:49
The rules I use to organize my download folder
require "fileutils"
Maid.rules do
rule "debian packages" do
move(dir("~/Downloads/*.deb"), "~/Downloads/deb")
end
rule "compressed" do
move(dir("~/Downloads/*.(zip|tar.gz|rar|tar.bz2|tgz)"), "~/Downloads/compressed")
@aniketpant
aniketpant / ideas--articles.md
Last active December 12, 2015 06:39
Pipeline :: Includes ideas for articles, projects and anything I think of.

Ideas

Stupidity vs Intelligence

  • Labels
  • Icons + Labels
  • Icons

The basic logic behind the article will be to highlight when to use labels only, when to go for icons and when to use them together.

@aniketpant
aniketpant / metaboxes-do-them-right.md
Last active December 12, 2015 07:38
Thoughts and ideas for my talk at WordCamp Pune 2013.

Metaboxes. Do them right.

What are metaboxes?

My Meta Box

How are they used?

Different methods of implementing them.

@aniketpant
aniketpant / rant--the-sad-state-of-wordcamps-in-india.md
Last active December 12, 2015 10:59
The sad state of WordCamps in India

The sad state of WordCamps in India

I happened to see WordCamp Central a while ago and I found another WordCamp happening in India. It's going to happen in Bhubaneswar (BBSR) this time. And I am very disappointed to see what resides on their website.

All the links point to WordCamp Phoenix (PHX). That's just one part of the story. Even the design of WordCamp Bhubaneswar is identical to that of WordCamp PHX. I have seen the themes that come along with the website when you get access to it and in 2011, there was nothing like the design of WordCamp PHX. Another thing that makes me think about the copying of the design is the thing about the URLs of all the links and the sidebar.

The sad part about the story is, the fact that WordCamp's are happening in India after a very very long time and the people who are trying to organize them are not doing justice to the event. Yes, they are doing a good thing

<!doctype html>
<html lang="en">
<head>
<title>Huge Dropdown Menu (example)</title>
<style type="text/css">
body {
background-color: #86c6d7;
@aniketpant
aniketpant / clean-music-folder.sh
Created May 6, 2013 04:42
A simple script to clean up your music folder. Removes all directories not containing the mentioned file types.
find . | while read -r f; do [ -z "`find "$f" -type f -iname "*.mp3" -o -iname "*.flac" -o -iname "*.m4a" -o -iname "*.ogg" -o -iname "*.mp4" -o -iname "*.wma"`" ] && rm -iRf "$f"; done