Skip to content

Instantly share code, notes, and snippets.

View Wes974's full-sized avatar
🏫
Learning

Ouwéis Wes974

🏫
Learning
  • Reunion Island
View GitHub Profile

Keybase proof

I hereby claim:

  • I am wes974 on github.
  • I am ouweis (https://keybase.io/ouweis) on keybase.
  • I have a public key ASCWjqM3LFirgnFK-NW0wdy3lPbE3Um9vhQ95r-M3eElnwo

To claim this, I am signing this object:

@Wes974
Wes974 / .emacs
Created September 8, 2017 23:22
.emacs pour OCaml
(cond
((eq window-system 'ns) ; macosx
;; Invoke login shells, so that .profile or .bash_profile is read
(setq shell-command-switch "-lc")))
(setq explicit-bash-args '("--login" "-i"))
(load "/Users/USERNAME/.opam/system/share/emacs/site-lisp/tuareg-site-file")
@Wes974
Wes974 / Unity.gitattributes
Last active January 18, 2018 23:37
gitignore for Unity
# 3D models
*.3dm filter=lfs diff=lfs merge=lfs -text
*.3ds filter=lfs diff=lfs merge=lfs -text
*.blend filter=lfs diff=lfs merge=lfs -text
*.c4d filter=lfs diff=lfs merge=lfs -text
*.collada filter=lfs diff=lfs merge=lfs -text
*.dae filter=lfs diff=lfs merge=lfs -text
*.dxf filter=lfs diff=lfs merge=lfs -text
*.fbx filter=lfs diff=lfs merge=lfs -text
*.jas filter=lfs diff=lfs merge=lfs -text
@Wes974
Wes974 / encrypted-git-repo.md
Created January 27, 2018 22:49
Transparent Git Encryption

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang (geek@cerias.net). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].

Description

When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

@Wes974
Wes974 / upload-github-release-asset.sh
Created June 10, 2018 03:07 — forked from stefanbuck/upload-github-release-asset.sh
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# License: MIT
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
@Wes974
Wes974 / README.md
Created June 25, 2018 14:45 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

# Makefile
CC=gcc
CPPFLAGS=-MMD -D_XOPEN_SOURCE=500 `pkg-config --cflags sdl2 gtk+-3.0`
ERROR_CFLAiR=-Wall -Wextra -std=c99 -g
LDFLAGS=
LDLIBS=`pkg-config --libs sdl2 gtk+-3.0` -lSDL2_image -lm -export-dynamic -lm
SRC= line.c
DEP= ${SRC:.c=.d}
PRG= ${SRC:.c=}
@Wes974
Wes974 / .zshrc
Last active October 24, 2019 18:42
my configurations files
################################################################################
# #
# ~/.zshrc #
# #
# Auhtor: Ouwéis Moolna #
# #
################################################################################
#==============================================================================#
@Wes974
Wes974 / tmux_on_login.sh
Created March 8, 2020 18:47 — forked from theel0ja/tmux_on_login.sh
Tmux on shell login
# https://wiki.archlinux.org/index.php/Tmux#Start_tmux_on_every_shell_login
# https://stackoverflow.com/a/49134974
# https://gist.github.com/theel0ja/3d3c1de607702b87292687d27f99141b
# If not running interactively, do not do anything
[[ $- != *i* ]] && return
# You can replace 0 with the session name you prefer such as "onLogin" (without parenthesis)
[[ -z "$TMUX" ]] && exec tmux new -A -s 0