Skip to content

Instantly share code, notes, and snippets.

View kevinramharak's full-sized avatar

Kevin Ramharak kevinramharak

View GitHub Profile
@kevinramharak
kevinramharak / angularjs-component-test.html
Created February 22, 2019 09:34
simple angularjs component test
<!DOCTYPE html>
<html>
<head>
<script data-require="angular.js@1.7.0" data-semver="1.7.0" src="https://code.angularjs.org/1.7.0/angular.min.js"></script>
<script src="https://gitcdn.link/repo/kevinramharak/ng-sane-defaults/master/dist/ng-sane-defaults.js"></script>
<link rel="stylesheet" href="style.css" />
<script>
function KInputController() {
@kevinramharak
kevinramharak / bootstrap-ms-grid-class.less
Created October 3, 2018 08:20
Adds a `col-ms-*` grid class to bootstrap 3
/* #NOTE: the 'ms' class depends on the '@screen-ms*' variables and adjusting the '@screen-*' variables to allow for this grid class */
/* mixins for the ms grid class based on 'https://github.com/twbs/bootstrap/blob/v3.3.7/less/mixins/grid.less' */
/* set the grid class variables */
@screen-ms: 480px;
@screen-ms-min: @screen-ms;
@screen-ms-max: (@screen-sm - 1);
/* set @screen-xs-max to work with @screen-ms-min */
@screen-xs-max: (@screen-ms-min - 1);
@kevinramharak
kevinramharak / package.json
Created July 11, 2018 19:51
ui-select@0.20.0
{
"_args": [
[
"ui-select@0.20.0",
"--redacted--"
]
],
"_from": "ui-select@0.20.0",
"_id": "ui-select@0.20.0",
"_inCache": true,
@kevinramharak
kevinramharak / package.json
Last active July 11, 2018 19:50
ui-select@0.20.0/package.json
{
"_args": [
[
"ui-select@0.20.0",
"--redacted--"
]
],
"_from": "ui-select@0.20.0",
"_id": "ui-select@0.20.0",
"_inCache": true,
@kevinramharak
kevinramharak / laravel.md
Last active May 27, 2018 18:22
Laravel quick start

Setup the project

run the installer & package managers

composer create-project laravel/laravel ${PROJECT_NAME} 5.6
cd ${PROJECT_NAME}
npm install

make sure the http server has read/write (and maybe execute) rights to your project

@kevinramharak
kevinramharak / setup.bash
Created January 2, 2018 16:25
MAR pull/build script
#!/bin/bash
#### utils
## print to stdout
stdout() {
echo -e "$@"
}
## print to stderr
stderr() {
echo -e "$@" >&2