Skip to content

Instantly share code, notes, and snippets.

View onelastjedi's full-sized avatar
🚀
Building a rockets

J.D onelastjedi

🚀
Building a rockets
View GitHub Profile

Keybase proof

I hereby claim:

  • I am onelastjedi on github.
  • I am onelastjedi (https://keybase.io/onelastjedi) on keybase.
  • I have a public key ASAHtN-2HFT6oO6T0JIABIDDIHFL72TiXKw2oeleylJBMgo

To claim this, I am signing this object:

@onelastjedi
onelastjedi / sshd_config.conf
Last active February 3, 2021 05:32
aumi // ssh
# SSH server systemwide config
Port 33000
LoginGraceTime 600
IgnoreRhosts yes
IgnoreUserKnownHosts yes
StrictModes yes
RhostsAuthentication no
RhostsRSAAuthentication no
@onelastjedi
onelastjedi / meta-tags.md
Created September 12, 2019 06:47 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@onelastjedi
onelastjedi / .block
Created October 10, 2017 16:31
5000 readings & timestamps
license: gpl-3.0
@onelastjedi
onelastjedi / mov-merge.sh
Last active June 13, 2016 16:07
Merge all *.mov files and render mp4 with ffmpeg.
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR;
for file in *.mov;
do ffmpeg -i "$file" -c copy -bsf:v h264_mp4toannexb -f mpegts "${file%.mov}".ts;
done;
ffmpeg -f concat -i <(for f in *.ts; do echo "file '$(pwd)/$f'"; done) -c copy -bsf:a aac_adtstoasc output.mp4;
@onelastjedi
onelastjedi / ssh-keyadd
Last active January 17, 2016 14:13
Better/quicker way to add ssh key to servers
#!/bin/sh
# Define the usage
usage="Usage: ssh-keyadd [-h this help] [-l username] [-p port] [-k key file] [-a remote authorized_keys] remote_server..."
# Check for Options and Arguments
while getopts ":l:p:k:a:h:" opt; do
case $opt in
l ) user=$OPTARG;;
p ) if [ $(echo $OPTARG | grep '^[0-9]*$') ];then
port=$OPTARG
@onelastjedi
onelastjedi / start.sh
Created December 30, 2015 08:49 — forked from so0k/start.sh
meteor up
#!/bin/bash
APPNAME=<%= appName %>
APP_PATH=/opt/$APPNAME
BUNDLE_PATH=$APP_PATH/current
ENV_FILE=$APP_PATH/config/env.list
PORT=<%= port %>
USE_LOCAL_MONGO=<%= useLocalMongo? "1" : "0" %>
# remove previous version of the app, if exists
@onelastjedi
onelastjedi / rAF.js
Created December 30, 2015 02:23 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@onelastjedi
onelastjedi / keybase.md
Last active July 13, 2017 13:49
Keybase.io proof

Keybase proof

I hereby claim:

  • I am wearemieta on github.
  • I am mieta (https://keybase.io/mieta) on keybase.
  • I have a public key whose fingerprint is AB0E 5A8C E26B 29A2 3482 865A 2F1D C283 AEC7 0FED

To claim this, I am signing this object: