Skip to content

Instantly share code, notes, and snippets.

View KimiEatsCode's full-sized avatar

Sarah Kimi Rettig KimiEatsCode

  • Philadelphia, PA
View GitHub Profile
@KimiEatsCode
KimiEatsCode / index.html
Created September 1, 2024 16:54
pam pam embed test
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="100%" height="450" src="https://www.pampam.city/p/fIna8EHEsi62peqzZPFt"></iframe>
@KimiEatsCode
KimiEatsCode / app.js
Created October 13, 2016 00:32
warm up angular service and api to prepare for server
var app = angular.module("MyApp", []);
app.controller("MainController", ['$scope','$http', function ($scope, $http, myservice) {
$scope.serverResponse;
$scope.getInfo=function() {
myservice.sendRequest().then(function(response) {
$scope.serverResponse = response.data; //use var to hold data object
console.log($scope.serverResponse)
<!DOCTYPE html>
<html lang="en" ng-app="MyApp">
<head>
<meta charset="UTF-8">
<title>Name Badge Thing</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
@KimiEatsCode
KimiEatsCode / 0_reuse_code.js
Created September 3, 2016 03:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Sublime Text 2 - Useful Shortcuts

Tested in Mac OS X: super == command

Open/Goto


  • super+t: go to file
  • super+ctrl+p: go to project
  • super+r: go to methods
@KimiEatsCode
KimiEatsCode / index-harder.css
Created July 29, 2016 18:37
Start and stop exercise, add phrases to list
body {
font-size:90%;
background-color: #fff;
}
#wrapper {
width:100%;
}
main {
@KimiEatsCode
KimiEatsCode / index-easier.html
Last active July 29, 2016 18:44
Final JS Pre-Course Project: 3 Button loops
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<meta name='description' content='Javascript concepts conditionals, for loops, event handlers'>
<title>JS Pre-course Project</title>
<link rel='stylesheet' href='css/style-easier.css'>
</head>
<body>
<div id='wrapper'>
@KimiEatsCode
KimiEatsCode / Untitled.php
Created January 10, 2016 17:33
PHP edity test
echo test