Skip to content

Instantly share code, notes, and snippets.

gource -s .06 -1920x1080 --auto-skip-seconds .1 --multi-sampling --stop-at-end --highlight-users --hide mouse,progress --file-idle-time 0 --max-files 0 --background-colour 222222 --font-size 22 --title "django-baton - dev" --output-ppm-stream - --output-framerate 30 | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 4 -bf 0 out.mp4
@abidibo
abidibo / appdev.sh
Last active June 28, 2017 11:06
webdev and appdev scripts to automate startup dev screens and tools
#! /bin/bash
if [ -z "$1" ]; then
echo "Usage: . appdev [ProjectName]"
else
window=dev:0
project=$1
cd ~/Dev/mobile/${project}
tmux split-window -v
tmux split-window -h
tmux send-keys -t "2" 'npm run start' C-m
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
<html>
<head>
<meta charset="utf-8" />
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/TorinoMeteo/tm-widgets/3d120d9b/dist/tm-widgets.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons.min.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Nova+Mono|Oswald:400,700" rel="stylesheet" />
@abidibo
abidibo / gist:dcbfb642cbda28c5227545bc8d7a3549
Created October 13, 2017 12:33
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~
@abidibo
abidibo / rope.md
Last active October 20, 2017 10:47
ROpe stuff for vim

Rope stuff

By default you can use <Ctrl-Space> for autocompletion

Autocompletion is also called by typing a period in |Insert| mode by default.

By default when you press <C-C>g on any object in your code you will be moved to definition.

Pymode can rename everything: classes, functions, modules, packages, methods, variables and keyword arguments.

@abidibo
abidibo / vim-conf.md
Created October 20, 2017 12:46
Vim conf stuff
@abidibo
abidibo / code-plugins.vim
Last active October 23, 2017 15:10
A vim configuration model
" Indentation
Plug 'Yggdroot/indentLine'
" folding
Plug 'Konfekt/FastFold'
" pairs
Plug 'jiangmiao/auto-pairs'
" commentary
@abidibo
abidibo / PyQt.md
Last active March 14, 2018 11:56
PyQt Stuff

PyQt5 Stuff

i18n

Install the following package

$ sudo apt-get install pyqt5-dev-tools

In my case it was also necessary to install this other package to use linguist command

@abidibo
abidibo / ngrxintro.md
Last active April 10, 2018 13:33 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents