Skip to content

Instantly share code, notes, and snippets.

Installation guide for ORB-SLAM on UBUNTU 22LTS

1. Installation of ORB-SLAM 3 on a fresh installed Ubuntu 22.04

Install all liberay dependencies.

sudo apt update
@cirrusUK
cirrusUK / skeet_xhamster.sh
Created April 19, 2024 21:43
xhamster.sh
#!/bin/bash
#
# ▓▓▓▓▓▓▓▓▓▓
# ░▓ author ▓ cirrus <cirrus@archlinux.info>
# ░▓ code ▓ https://gist.github.com/cirrusUK
# ░▓ mirror ▓ http://cirrus.turtil.net
# ░▓▓▓▓▓▓▓▓▓▓
# ░░░░░░░░░░
<center>
<body background="bg.gif" >
<pre> <FONT COLOR="17885C">
<title>A Webpage</title> <center> </font><FONT COLOR="#c22e13">Powered by Archlinux Arm + Raspberry Pi</font>
<pre></FONT></pre>
<a href='https://alpha.app.net/cirrusuk' class='adn-button' target='_blank' data-type='follow' data-width='277' data-height='27' data-user-id='@cirrusuk' data-show-username='1' rel='me'><FONT COLOR="C4BE24">Follow me on App.net</FONT> </a><script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//d2zh9g63fcvyrq.cloudfront.net/adn.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'adn-button-js'));</script>
https://geo.itunes.apple.com/us/album/perfect/id1193701079?i=1193701400&app=music
<iframe src="http://tools.applemusic.com/embed/v1/song/1193701400?country=us" height="110px" width="100%" frameborder="0"></iframe>
@senthilmpro
senthilmpro / arch1ve-acc-create.js
Last active April 27, 2024 05:49
arch1ve account create - except captcha verification
async function createAccount(){
var USER_PREFIX = 'USER_PREFIX'; // change here.
var USER_PASS = 'USER_PASSWORD'; // change-here
var TIMER_DELAY = 300;
// password
await delay(TIMER_DELAY);
var password = document.getElementById('password1');
password.value = USER_PASS;
@dmmeteo
dmmeteo / 1.srp.py
Last active April 27, 2024 05:48
SOLID Principles explained in Python with examples.
"""
Single Responsibility Principle
“…You had one job” — Loki to Skurge in Thor: Ragnarok
A class should have only one job.
If a class has more than one responsibility, it becomes coupled.
A change to one responsibility results to modification of the other responsibility.
"""
class Animal:
def __init__(self, name: str):
@FranklinYu
FranklinYu / README.markdown
Last active April 27, 2024 05:46
links for old versions of Docker for Mac (inspired by docker/for-mac#1120)

links for old versions of Docker for Mac

Deprecated

Docker provides download links in release note. They promised that

(we) will also include download links in release notes for future releases.

Note:

@GMoncrieff
GMoncrieff / how_i_work.md
Last active April 27, 2024 05:45
How I do ML with geospatial data

How I do machine learning with geospatial data

I have a couple of AI/ML projects related to mapping things, often conservation related, with remote sensing data. Some details and packages will vary, but the process below describes how I generally approach these types of problems. Some of these tools I have only touched briefly, but I like them, and this is more an outline of how I would like to approach a new project than a retrospective look at my previous work.

We use AWS, so it makes sense to use datasets and services that are already hosted on AWS. The data discovery and loading part of this process would look somewhat different if we were using Azure and Planetary Computer, and very different if we were using GCP and Earth Engine.

Compute

All of my analysis will be done using python on an AWS VM in the same region as my data on S3, Probably using VSCode on Sagemaker or [JupyterLab](https://docs.aws.amazo

@MartinMuzatko
MartinMuzatko / example.js
Created January 20, 2017 15:14
GET Params in JS as Object
// location.search = '?a=b&c=d&limit=20'
var get = new Map(location.search.substr(1).split('&').map((pair)=>{return pair.split('=')}))
// get = {a:'b', c:'d', limit: 20}
var webpack = require('webpack')
var ExtractTextPlugin = require("extract-text-webpack-plugin")
var path = require('path');
module.exports = {
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, ''), // string
filename: "[name].js", // string