Skip to content

Instantly share code, notes, and snippets.

View k4rtik's full-sized avatar

Kartik Singhal k4rtik

View GitHub Profile
11:15 Graeme - Distributed DTrace
Max - (Useful!) DTrace intro, including DTrace production golf?
12:30 George - D language improvements
Matt - D syntactic sugar
Robert - CTF everywhere!
1:30 Eric - DTracing apps
JoshC - DTrace json() subroutine
Dan - Dynamic asserts
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active March 27, 2024 06:36
A badass list of frontend development resources I collected over time.
@k4rtik
k4rtik / .vimrc
Last active October 4, 2015 15:58
My custom vimrc
" URL: http://vim.wikia.com/wiki/Example_vimrc
" Authors: http://vim.wikia.com/wiki/Vim_on_Freenode
" Description: A minimal, but feature rich, example .vimrc. If you are a
" newbie, basing your first .vimrc on this file is a good choice.
" If you're a more advanced user, building your own .vimrc based
" on this file is still a good idea.
"------------------------------------------------------------
" Features {{{1
"
@k4rtik
k4rtik / temp.sh
Created April 28, 2012 13:10
Simple script to let me know the temperatures of my laptop, hddtemp requires sudo making this script more than 3 lines.
#!/bin/bash
sensors
aticonfig --odgt
answer="N"
if [ "$(whoami)" != "root" ]; then
echo -ne "\n\nDo you want to know hard disk temperature (requires sudo)? (y/N) "
read answer
if [ "$answer" == "y" ]; then
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@k4rtik
k4rtik / tictacg.cpp
Created December 9, 2011 21:46
Tic Tac Toe (T3, a game developed in C/C++) (2006-2007) For the school project in C++ in standard 11, I chose to make a game. Although the game doesn't feature AI, it demonstrates the graphics and sound capabilites of C/C++ with Turbo C++ compiler.
/* Link for more info: http://k4rtik.wordpress.com/2009/11/08/my-old-projects/ */
/*
>>>>>>>>>>>>>>>>>>>>Program: Tic Tac Toe<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>Programmer: Kartik Singhal<<<<<<<<<<<<<<<<<<
*/