Skip to content

Instantly share code, notes, and snippets.

@stellanhaglund
stellanhaglund / Dockerfile
Created April 22, 2020 18:38
Assembly socket server
FROM alpine as builder
RUN apk add --no-cache build-base nasm
COPY . .
RUN nasm -f elf64 -o server.o server.s && ld server.o -o server
FROM alpine
COPY --from=0 /server /server
CMD /server $PORT
@WuStangDan
WuStangDan / course_info.txt
Last active May 8, 2024 19:58
Course Info
Complete ROS Start Guide - Windows/Mac/Linux - C++/Python
Publish Date: 02/2021
Course Link:
Course VM Download: https://drive.google.com/file/d/1gLoLCgwuvMqX1yfecyg7vo3aumWJmqT9/view?usp=sharing
Virtual Box: https://www.virtualbox.org/
Autonomous Robots: Localization
Publish Date: 07/2020
Course Link: https://www.udemy.com/course/autonomous-robots-localization/
Package Requirements: python=3.7.4 numpy=1.16.4 matploblib=3.1.0
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@etiennetremel
etiennetremel / README.md
Last active May 8, 2024 19:57
Simple Wireguard setup as VPN server and multiple clients

Simple WireGuard configuration

1 server, 2 clients

Getting started

Install Wireguard on all machines.

Generate all keys

@dasdo
dasdo / GIT.md
Last active May 8, 2024 19:55
Lista de Comandos en GIT

Configuración Básica

Configurar Nombre que salen en los commits

	git config --global user.name "dasdo"

Configurar Email

	git config --global user.email dasdo1@gmail.com
@mloskot
mloskot / cheat-tmux.markdown
Created December 14, 2012 13:11
tmux key bindings cheat shee

$ cheat tmux

Managing tmux sessions

$ tmux      # start tmux server
$ tmux at   # attach running sessions to a terminal
$ tmux ls # list running tmux sessions
@jenniferplusplus
jenniferplusplus / fedi.md
Last active May 8, 2024 19:53
More than mastodon
@manisnesan
manisnesan / getting-started-with-java-in-jupyter.ipynb
Created February 6, 2022 00:01
Running Java in Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package ru.waveaccess.hibernate;
import org.hibernate.FetchMode;
import org.hibernate.HibernateException;
import org.hibernate.MappingException;
import org.hibernate.QueryException;
import org.hibernate.engine.spi.LoadQueryInfluencers;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.loader.collection.BasicCollectionLoader;
@tayvano
tayvano / gist:6e2d456a9897f55025e25035478a3a50
Created February 19, 2017 05:29
complete list of ffmpeg flags / commands
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
-h long — print more options
-h full — print all options (including all format and codec specific options, very long)