Skip to content

Instantly share code, notes, and snippets.

View adamki's full-sized avatar
🤙

Adam Ki adamki

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

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 November 7, 2018 22:48
Slack Dark mode
#!/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
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">
@adamki
adamki / jhundam.md
Last active August 22, 2016 16:39
meh...

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 April 8, 2016 23:12
Seattle Trip highlights

###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 March 19, 2016 18:49
answers for KITEco

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.
@adamki
adamki / readmelove.md
Created February 22, 2016 16:22 — forked from rrgayhart/readmelove.md
README Love

##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 February 26, 2016 21:43 — forked from rrgayhart/recursion.markdown
Recursion and Generators Homework
  • 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?

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.