Skip to content

Instantly share code, notes, and snippets.

View onixus74's full-sized avatar
🧪

Marwen Ounis onixus74

🧪
  • Copia Wealth Studios
  • Montreal
View GitHub Profile
@onixus74
onixus74 / designer.html
Created November 24, 2014 20:02
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@onixus74
onixus74 / .vimrc python
Last active October 20, 2016 10:59
Vim Python Ide
"https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/
"https://github.com/mbrochh/vim-as-a-python-ide/blob/master/.vimrc
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
@onixus74
onixus74 / Unity Gitignore
Last active January 12, 2018 21:03
gitignore
*.apk
# =============== #
# Unity generated #
# =============== #
Temp/
Library/
# ===================================== #
# Visual Studio / MonoDevelop generated #
#! /bin/bash
# More flags https://ffmpeg.org
# H264 sample : ffmpeg -i input -c:v libx264 -preset slow -crf 22 -c:a copy output.mkv
function convert_all_to_mp4() {
for file in *.mp4 ; do
local bname=$(basename "$file" .mp4)
local mp4name="$bname.mp4"
ffmpeg -i "$file" -c:v libx264 encoded/"$mp4name"
done
@onixus74
onixus74 / VsCodeSettings.json
Last active August 24, 2018 14:18
VSCode settings requires VIM extension
{
"git.ignoreMissingGitWarning": true,
"workbench.colorTheme": "One Dark Pro",
"editor.fontFamily": "Hack",
"[elm]": {
"editor.formatOnSave": true
},
"vim.otherModesKeyBindingsNonRecursive": [
{
"before": [
@onixus74
onixus74 / tmux.md
Created July 30, 2018 20:59 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@onixus74
onixus74 / tmux-cheatsheet.markdown
Created July 31, 2018 13:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@onixus74
onixus74 / tmux-cheatsheet.markdown
Created July 31, 2018 13:26 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@onixus74
onixus74 / tmux_cheat_sheet.md
Created August 1, 2018 21:25 — forked from karenyyng/tmux_cheat_sheet.md
common work flow of tmux

Title: Tmux project sessions
Date: 2014-12-24 17:00 Tags: Tmux, learn-X-in-Y-minutes
Author: K. Y. Ng

This is a tutorial for setting up Tmux for saving terminal project sessions.

Tmux helps you emulate several shell sessions within the same terminal window.

@onixus74
onixus74 / gulpfile.js
Created August 2, 2018 18:45 — forked from klugjo/gulpfile.js
Basic gulpfile.js for a static website with browser auto refresh
// Add our dependencies
var gulp = require('gulp'), // Main Gulp module
concat = require('gulp-concat'), // Gulp File concatenation plugin
open = require('gulp-open'), // Gulp browser opening plugin
connect = require('gulp-connect'); // Gulp Web server runner plugin
// Configuration
var configuration = {
paths: {