Skip to content

Instantly share code, notes, and snippets.

@andrunix
andrunix / Keybase.md
Created October 16, 2017 20:53
Keybase

Keybase proof

I hereby claim:

  • I am andrunix on github.
  • I am andrunix (https://keybase.io/andrunix) on keybase.
  • I have a public key ASBUQwCrfAvWp6MAAgl5wP_YHOj6T0saUVakSvxtojHlgAo

To claim this, I am signing this object:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:com="http://example.com/services/servicesm/v10/Common" xmlns:log="http://example.com/services/servicesm/v10/UserInfo">
<soapenv:Header>
<com:BaseRequestData>
<!--Optional:-->
<ClientUserID>BAMPI</ClientUserID>
<!--Optional:-->
<ClientUserPassword>password</ClientUserPassword>
<!--Optional:-->
<CallingApp>BAMPI</CallingApp>
<!--Optional:-->
html
body
h1= hello world
@andrunix
andrunix / gist:77776e8260512697fb12
Created March 25, 2016 19:36
Fixed Position Div
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
}
.verify-bar {
background-color: #f66;
<?php
# ---------------------------------------------------------------------------
# listitem.php - List an item for sale
# ---------------------------------------------------------------------------
require_once('suresale.php');
require_once('navfn.php');
require_once "dbfn.php";
require_once "lgnfrm.php";
require_once('listitems.php');
@andrunix
andrunix / gist:8713747
Created January 30, 2014 17:17
Firebase findAll
findAll: function() {
var sports = {};
var sportsRef = new Firebase(FBURL + '/sports');
sportsRef.once('value', function(snapshot) {
sports = snapshot.val();
});
return sports;
}
@andrunix
andrunix / gist:7901799
Created December 10, 2013 22:45
Error when running npm install
npm http 304 https://registry.npmjs.org/express
> mean@0.1.0 postinstall /home/andrunix/code/enterleague.com
> bower install
module.js:340
throw err;
^
Error: Cannot find module 'mout'
function showForm() {
$('#upper').slideUp(300);
$('#mail').slideDown(300)
}
function hideForm() {
$('#mail_form')[0].reset();
$('#mail').slideUp(300);
$('#upper').slideDown(300);
$('#error').html('');
@andrunix
andrunix / gist:4608915
Created January 23, 2013 16:17
rvm requirements run - shows that I am missing the command line tools. What about this llvm-gcc though? I thought that was the problem with Ruby 1.9.3
andrunix@amp-laptop~$ rvm requirements run
Requirements for osx/10.8/x86_64
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
Additional Dependencies:
# For update-system:
@andrunix
andrunix / rvmout
Created January 23, 2013 15:56
after deleting RVM line from .zshrc
andrunix@amp-laptop~$ rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 170 0 0:00:01 0:00:01 --:--:-- 282
100 10598 100 10598 0 0 8454 0 0:00:01 0:00:01 --:--:-- 8454
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 131 100 131 0 0 696 0 --:--:-- --:--:-- --:--:-- 963
100 1488k 100 1488k 0 0 334k 0 0:00:04 0:00:04 --:--:-- 537k