Skip to content

Instantly share code, notes, and snippets.

Avatar
🤙

Adam Ki adamki

🤙
View GitHub Profile
View index.css
body {
padding: 0;
margin: 0;
overflow: hidden; /* Don't display any scroll bars */
}
#app {
height: 100vh;
width: 100%;
@adamki
adamki / notes.md
Last active Jun 13, 2019
ubuntu/debian notes
View notes.md

New Machine Setup


General Sanity/First items

  • re-map CapsLock to control/ESC.

Install xcape.

Depending on your DE, this will be slightly different.

@adamki
adamki / darkify-slack.sh
Last active Nov 7, 2018
Slack Dark mode
View darkify-slack.sh
#!/bin/bash
echo 'document.addEventListener('DOMContentLoaded', function() {
$.ajax({
url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css',
success: function(css) {
$("<style></style>").appendTo('head').html(css);
}
});
});' >> ~/../../../Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
View gist:36204657b6d5f5cb85cc127bfd5c4e37
import React, { PropTypes } from 'react';
import { Link } from 'react-router';
import { ChevronDownIcon,
RefineIcon } from 'aileron';
const RefineResults = () => {
return (
<div className="max-width-4 mx-auto px1">
<div className="clearfix">
View jhundam.md

Interview #1

The Challenge
  • Given a .ZIP file with many files. Files contained:

    • A "Dataset" made of lots of CSV files. The CSV's did not have headers, just comma-seperated strings and integers.
    • Headers were stored in seperate file that acted as a CSV directory/key.
  • the task consisted of dynamically consuming the CSV data and rendering dynamic vizualization of said Data.

  • restrictions / guidelines:

@adamki
adamki / seattle_trip.md
Last active Apr 8, 2016
Seattle Trip highlights
View seattle_trip.md

###Friday - April 8:

  • DevOps meetup was fruitful. Got an interview at Outreach.io on Apr 16. Extremely happy with inperson networking!
  • I also met Myron Marston(MOZ). We had a walking meeting and it was semi-fruitful. He supported me, but I was unable to get much out of him. We got along great and we are buddies.
  • I met with Dave Foley ( Lightboard ) who was very helpful. Dave reviewed my resume and recommended some companies and offered to vouch for me if I get interviews with any companies that he knows(included below). Pretty handy for future prospects as Dave is well-connected.

Overall, I got alot of emails and will continue my networking over weekend.

Dave mentioned these as good based on my resume: formidable labs, facebook, adobe, foundry interactive, pioneer square labs, usermind, general ui, pivotal

@adamki
adamki / KITE.md
Last active Mar 19, 2016
answers for KITEco
View KITE.md

Q.1

What does MVC stand for and what does each part of MVC do?

MVC stands for Model View Controller. It is not a proprietary pattern or technokofy. It is simply a way to seperating tasks in a web application. The following parts can be broken up like so:

MODEL:  is an OO representation of Data in the System. The Model should be used to implement Business logic. In Rails, the model leverages Active Record to interact w/ Database and Plain Ruby Objects.

VIEW: Is used to prepare data for for presentation for the user. Should not contain logic. In Rails, use of html.erb or haml is fairly common. Can also use external templating if needed.
View readmelove.md

##PROTIP: README Love

READMEs are AWESOME. They are one of the best things you can add to a repo, (other than quality code), to make it look professional.

####Things that make a README great:

  • A link to the production site on heroku
  • A screenshot (or a few) of what the app does (This is especially important if you don't have the production app up and running yet)
  • Directions on how to clone or fork the repo and run it locally (explain it like you're explaining things to a totally new programmer)
@adamki
adamki / recursion.markdown
Last active Feb 26, 2016 — forked from rrgayhart/recursion.markdown
Recursion and Generators Homework
View recursion.markdown
  • Watch Recursion

  • Fork this gist

  • Answer the following questions in your fork

    • Do you pronounce 'babel' in the same way? I was watchng with Subtitles and trying to be quiet. Youtube detects his pronuncition as Bubble. I learned not to npm install -g bubble.

      Also, the music is really good in this video.

  • Follow Up Question: Will you now?

View gist:f37cb48ece26793f5f6e

Step One: Watch Mary Rose Cook Live Codes Space Invaders from Front-Trends. (The second worst conference name ever?)

Step Two: Fork this gist.

Step Three: Respond to this question in your fork: What is one approach you can take from this Mary's code and implement in your project?

Hands down, the best approach that speaks to me is the tick() function. OUr game time project has a index.js file that is gradually growing larger and larger. I like the idea of having a Game obj and placing a tick function to control drawing and requestAnimationFrame.