Skip to content

Instantly share code, notes, and snippets.

View Sumukh's full-sized avatar
✌️
building

Sumukh Sridhara Sumukh

✌️
building
View GitHub Profile
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
@Sumukh
Sumukh / default
Created June 19, 2013 06:42
nginx php-fpm default site config with php extension rewrite
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
@Sumukh
Sumukh / git
Created September 10, 2013 18:58
h@b git workshop.
Intro to Git:
What is git? Why do you need it? Why will you love your partner and/or yourself for using it? Because sometimes you mess up your code and want to OHGODJUSTUNDO UNDO UNDO. Git is kind of like that, but for more civilized people, for a more civilized era of coding. You can also collaborate on projects with other people really efficiently instead of manually copy+pasting code! Do you want to be a cool (octo)cat for gracefully managing your code through snazzy version control, or do you want to be frantically editing code 2 minutes before its due? I bet you want to be a cool octo-cat.
Experience required: you should be able to open a terminal and navigate around directories, and have Git installed. (git-scm.com)
Tools we'll cover: Git (Version Control)
Notes: If you have files named hw1-final-updated-mine.py, this workshop will be extremely helpful.
If you've argued about pull vs pull --rebase, and you rebase branches for fun, you probably won't learn much from this workshop.
@Sumukh
Sumukh / index.html
Created February 13, 2014 04:50
bootstrap
<!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">
<title>Bootstrap 101</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
@Sumukh
Sumukh / SSH with Keys
Created September 16, 2014 02:02
Practical Programming
Productive SSH (for OSX/Linux/Windows)
author: @sumukhsridhara
for: Practical Programming
Suggestions for a productive workflow:
Works for: OSX - Linux - Windows (With Git Bash)
Problem: I'm tired of typing my password every time
ssh cs61a-???@cory.eecs.berkeley.edu
@Sumukh
Sumukh / gist:11e598ecd97839e2d6ba
Last active June 15, 2016 06:40
keybase-old.md
### Keybase proof
I hereby claim:
* I am sumukh on github.
* I am sumukh (https://keybase.io/sumukh) on keybase.
* I have a public key whose fingerprint is 2694 EC18 54DE 72D9 3454 3F9C E51F 0482 4554 8CA4
To claim this, I am signing this object:
@Sumukh
Sumukh / news_list.py
Last active August 29, 2015 14:15
PPS Debugging Exercise
{ 'witnesses': 'dudes I know',
'allegedely': 'kinda probably',
'new study': 'tumblr post',
'rebuilt': 'avenge',
'space': 'spaace',
'google glass': 'virtual boy',
'smartphone': 'pokedex',
'electric': 'atomic',
'senator': 'elf-lord',
'speaker': 'elf-lord',
@Sumukh
Sumukh / setup.sh
Created October 11, 2015 08:58
New Server Setup
#/bin/bash
sudo apt-get update;
sudo apt-get install git-core vim build-essential python3-dev python-dev;
@Sumukh
Sumukh / keybase.md
Created June 15, 2016 06:40
Keybase Verification

Keybase proof

I hereby claim:

  • I am sumukh on github.
  • I am sumukh (https://keybase.io/sumukh) on keybase.
  • I have a public key whose fingerprint is 87FF 29AE E54D 4AEB 7DED 9A09 90F9 0F69 5BA2 B0E5

To claim this, I am signing this object:

@Sumukh
Sumukh / code.md
Created July 21, 2016 01:07
61A Slack Code of Conduct

This policy is a "living" document, and subject to refinement and expansion in the future.

The 61A Chat should be a safe place for everybody regardless of

  • gender, gender identity or gender expression
  • sexual orientation
  • disability
  • physical appearance (including but not limited to body size)
  • race
  • age