Skip to content

Instantly share code, notes, and snippets.

View sarasfox's full-sized avatar
🤡

kevin cloinger sarasfox

🤡
View GitHub Profile
'''
Redhost functionality
'''
# Import salt libs
import salt.utils
def install_redis():
'''
@sarasfox
sarasfox / elixir.py
Last active December 24, 2015 15:29 — forked from UtahDave/mult-line cmd.run
'''
Elixir functionality
'''
# Import salt libs
import salt.utils
def install_elixir():
'''
#!/bin/bash
sudo apt-get install build-essential automake checkinstall intltool git
sudo apt-get install mono-complete mono-addins-utils gtk-sharp2 gnome-sharp2
git clone git://github.com/mono/monodevelop
cd monodevelop
git checkout monodevelop-4.0
git submodule update --init --recursive
./configure
@sarasfox
sarasfox / gist:8514177
Created January 20, 2014 02:58
npm log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using npm@1.3.21
3 info using node@v0.10.24
4 verbose readDependencies using package.json deps
5 verbose install where, deps [ '/mnt/saras/node/mean-stack-demo',
5 verbose install [ 'express',
5 verbose install 'jade',
5 verbose install 'mongoose',
5 verbose install 'connect-mongo',
@sarasfox
sarasfox / gist:8553783
Last active January 4, 2016 02:19
out idea
public static int add (int a, out int b){
b = a + 5;
return a;
}
public static void Main (){
add(5,int boo);
Console.WriteLine(boo);
}
# -*- coding: utf-8 -*-
'''
Module for managing Arangodb and Foxx app's
'''
from __future__ import absolute_import
# Import python libs
import logging
# Import salt libs
@sarasfox
sarasfox / aragodb.py
Last active August 29, 2015 14:24
working
# -*- coding: utf-8 -*-
'''
Module for managing Arangodb and Foxx app's
'''
from __future__ import absolute_import
# Import python libs
import logging
# Import salt libs
----------
ID: nginx
Function: pkg.installed
Result: True
Comment: Package nginx is already installed.
Started: 17:55:48.069172
Duration: 1961.42 ms
Changes:
----------
ID: /etc/nginx/nginx.conf
@sarasfox
sarasfox / _apps
Created July 16, 2015 08:18
for dothebart
"options": {
"authenticated": false,
"name": "tire",
"configuration": {},
"description": "This is the backend for tireStorage.com ",
"author": "Kevin Cloinger",
"license": "internal",
"path": "/var/lib/arangodb-apps/_db/_system/tire/APP",
"collectionNames": [
"user"
@sarasfox
sarasfox / error
Created July 21, 2015 15:14
why is this a issue
gadgetgirl-HP-15-Notebook-PC:
Data failed to compile:
----------
Rendering SLS 'base:states.base.testing' failed: mapping values are not allowed here; line 3
---
jquerygo:
npm.installed
- dir: '/home/gadget-girl/tiretask/App/testing' <======================
async: