I hereby claim:
- I am levidehaan on github.
- I am levidehaan (https://keybase.io/levidehaan) on keybase.
- I have a public key ASD87p4EdZqHHilz1C6UD4bzrTZXllDR_rxHMQi3w0u7DQo
To claim this, I am signing this object:
from io import StringIO | |
import sys | |
from typing import Dict, Optional | |
from langchain.agents import load_tools | |
from langchain.agents import initialize_agent | |
from langchain.agents.tools import Tool | |
from langchain.llms import OpenAI | |
#ifndef _DIGITAL_RAIN_ANIMATION_H | |
#define _DIGITAL_RAIN_ANIMATION_H | |
#define FONT_SIZE 2 //set font size 2 | |
#define LINE_WIDTH 12 //width for font size 2 | |
#define LETTER_HEIGHT 14 //height for font size 2 | |
#define KEY_RESET_TIME 60 * 1000 //60 seconds reset time | |
#include <vector> | |
#include <string> | |
#include <HardwareSerial.h> // Include the HardwareSerial library |
I hereby claim:
To claim this, I am signing this object:
Command to run: | |
ssh -L 2222:localhost:8501 [email protected] | |
where 2222 is the local port mapping it can be any number above 1000 | |
where localhost must be set to localhost and refers to your current connection | |
where 8501 is the port you will be opening up on the remote machine | |
where [email protected] is the first hop in your quest for internal access |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs"), | |
uggoP = require("uglify-js").parser, | |
uggo = require("uglify-js").uglify, | |
port = process.argv[2] || 8675, | |
server = http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname, combined_file = ""; | |
if(uri.indexOf(",") >= 1){ |
var render = function(template, context) { | |
var chez, divm = template.replace(/-.*$/, ""); | |
if( typeof context === "function") { | |
switch(true) { | |
case (context.toString().indexOf("playlists") > 0): | |
$.when(context()).then(function(data) { | |
$(divm).link(data, template).listview(); | |
$(template).template(); |
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="xiong-chiamiov-plus" | |
plugins=(git command-not-found debian git-flow history-substring-search kate node npm python ssh-agent vi-mode) | |
source $ZSH/oh-my-zsh.sh | |
export PATH=/home/th3m4d0n3/.nvm/v0.6.11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/builds |
#an example of using zlib to decompress a return from stackoverflow's api | |
#written in coffeescript and nodejs | |
zlib = require 'zlib' | |
http = require 'http' | |
module.exports = (robot) -> | |
robot.respond /(stack|ss) ?(find:.*) ?(tags:.*)/i, (msg)-> | |
using child_processes, if i create a new process, | |
ssh = spawn('ssh', ['[email protected]']); | |
and then put a listener on stdout | |
ssh.stdout.on('data', function(data){ | |
console.log(data); | |
}); | |
and then send some stuff | |
ssh.stdin.write("ls -alh\n"); | |
and | |
ssh.stdin.write("touch testing.txt\n"); |