Skip to content

Instantly share code, notes, and snippets.

  1. Navgigate to whichever directory you want your VM to be accessible
  2. vagrant init ubuntu/trusty64
  3. vagrant up
  4. vagrant ssh
  • Now you are in your ubuntu VM
  1. sudo apt-get update
  2. sudo apt-get install build-essential
  3. cd /vagrant/
  • This is where all of your local files (of the direcrory where you put the VM) are located
0x08048f78 <+0>: push %ebp
0x08048f79 <+1>: mov %esp,%ebp
0x08048f7b <+3>: sub $0x38,%esp
0x08048f7e <+6>: movl $0x80bf20c,(%esp)
0x08048f85 <+13>: call 0x804f800 <printf>
0x08048f8a <+18>: lea -0x20(%ebp),%eax
0x08048f8d <+21>: mov %eax,(%esp)
0x08048f90 <+24>: call 0x804fd60 <gets>
0x08048f95 <+29>: lea -0x20(%ebp),%eax
0x08048f98 <+32>: mov %eax,0x4(%esp)
{
"title": "SnipSnap Coupon App - SnipSnap",
"description": "<table border=\"0\" width=\"100%\">\n <tr>\n <td>\n <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n <tr valign=\"top\" align=\"left\">\n \n <td align=\"center\" width=\"166\" valign=\"top\">\n <a href=\"https:\/\/itunes.apple.com\/us\/app\/snipsnap-coupon-app\/id516439697?mt=8&uo=2\"><img border=\"0\" alt=\"SnipSnap - SnipSnap Coupon App artwork\" src=\"http:\/\/is1.mzstatic.com\/image\/pf\/us\/r30\/Purple5\/v4\/1f\/e7\/14\/1fe7143c-5a3d-56fe-c195-99ec20b9f673\/mzl.vgqdbioy.100x100-75.png\" \/><\/a>\n <\/td>\n <td width=\"10\"><img alt=\"\" width=\"10\" height=\"1\" src=\"https:\/\/s.mzstatic.com\/images\/spacer.gif\" \/><\/td>\n \t<td width=\"95%\">\n \n \n <b><a href=\"https:\/\/itunes.appl
{ feed:
{ author: { name: [Object], uri: [Object] },
entry:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
var Qs = require('qs');
var request = require('request');
//
// var SLACK_TEST_URL = 'https://slack.com/api/chat.postMessage?token=<<MY-TOKEN>>&channel=%23review-bot-test&attachments=%5B%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%22fallback%22%3A%20%22ReferenceError%20-%20UI%20is%20not%20definied%3A%20https%3A%2F%2Fhoneybadger.io%2Fpath%2Fto%2Fevent%2F%22%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%22text%22%3A%20%22%3Chttps%3A%2F%2Fhoneybadger.io%2Fpath%2Fto%2Fevent%2F%7CReferenceError%3E%20-%20UI%20is%20not%20defined%22%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%22fields%22%3A%20%5B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22title%22%3A%20%22Project%22%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22value%22%3A%20%22Awesome%20Project%22%2C%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22short%22%3A%20true%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%20%20%20%20
var request = require('request');
var TOKEN = '<<TOKEN>>';
request.post('https://slack.com/api/chat.postMessage', {
form:{
token: TOKEN,
channel: '#bot',
text: ' ',
attachments: [{
import java.util.Scanner;
class Animal{
String Question;
Animal Left;
Animal Right;
Animal (String Question, Animal Left, Animal Right){
this.Question = Question;
var async = require('async'),
mongoose = require('mongoose'),
Review = require('../models/review'),
config = require('../tools/config');
async.series([
function(callback){
mongoose.connect(config.DB_URL, callback)
},
function(callback){
package edu.temple.couchlab2;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
curl -H "Authorization: Bearer <token>" --data-urlencode "url=http://www.clarifai.com/img/metro-north.jpg" --data-urlencode "url=http://www.clarifai.com/img/metro-north.jpg" https://api.clarifai.com/v1/tag/