Skip to content

Instantly share code, notes, and snippets.

View Drenerdo's full-sized avatar

Andre Smith Drenerdo

View GitHub Profile
<% if user_signed_in? %>
<div id="feedback">
<h5><i class="ss-icon">&#x1F4AC;</i> How can we make Status Chart better for you?</h5>
<%= form_tag("/feedback", :method => "post", :remote => true, :id => "feedbackForm", :name => "feedbackForm") do %>
<textarea placeholder="We would love to hear your feedback, ideas, and complaints :)" name="feedback_note"></textarea>
<input type="hidden" value="" name="feedback_browser">
<input type="hidden" value="" name="feedback_version">
<input type="hidden" value="" name="feedback_os">
<input type="hidden" value="" name="feedback_url">
<input type="hidden" value="<%=current_user.email%>" name="feedback_email">
/Users/andresmith/Developments/suitelive/node_modules/bcrypt-nodejs/bCrypt.js:642
throw "Incorrect arguments";
^
Incorrect arguments
@Drenerdo
Drenerdo / ProjectKatana
Created June 29, 2015 20:37
Work IN Progress
var Cylon = require('cylon');
Cylon.api({
host: '0.0.0.0',
port: '7000',
ssl: false
});
Cylon.robot({
name: 'drenerdo',
Verifying that +drenerdo is my blockchain ID. https://onename.com/drenerdo
@Drenerdo
Drenerdo / gist:fc09e7ad2743e00de16f
Last active December 9, 2015 19:11
Matilda Mirror DB setup
Matilda API
=== Init ===
GET settings -> {
minimumAllowableVersion : String (e.g. "1.0.0.1"),
currentAPIVersion : number
aboutURL : String,
privacyURL : String,
termsURL : String,
@Drenerdo
Drenerdo / gist:b75f1c0c733c8d79c99f
Created March 18, 2016 04:20
CarbonKit Issue fix
import UIKit
import CarbonKit
class PhotoMenuViewController: UIViewController, CarbonTabSwipeNavigationDelegate {
override func viewDidLoad() {
super.viewDidLoad()
super.viewDidLoad()
using UnityEngine;
using System.Collections;
public class ball : MonoBehaviour {
public bool lefthasball = false;
public bool righthasball = false;
public Transform leftball;
public Transform rightball;
using UnityEngine;
using System.Collections;
public class throwarea : MonoBehaviour {
// Use this for initialization
void Start () {
}
@Drenerdo
Drenerdo / gist:d26fd3f8fa5c47e021ca7c5fb69038f3
Created September 20, 2016 17:36
PunchableBodyParts.cs
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Collider))]
public class PunchableBodyParts : MonoBehaviour
{
public EnemyController enemy;
void OnTriggerEnter(Collider col)
{
/*
* Copyright (c) 2013 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining