Skip to content

Instantly share code, notes, and snippets.

Francisc Balint franciscbalint

Block or report user

Report or block franciscbalint

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@franciscbalint
franciscbalint / restart_bluetooth.sh
Last active Jul 19, 2018 — forked from nicolasembleton/restart_bluetooth.sh
Restart Bluetooth Daemon on Mac OS X/macOS Sierra without restarting
View restart_bluetooth.sh
#!/bin/bash
# To run this script you need to give execute permission.
# $chmod +x restart_bluetooth.sh;
# If you want only to restart:
# $ ./restart_bluetooth.sh;
# If you want to turn bluetooth on;
# $ ./restart_bluetooth.sh 1;
# If you want to turn bluetooth off;
# $ ./restart_bluetooth.sh 0;
View compile-asm.sh
#!/bin/bash
# Author Francisc Balint - fib.im
numArg=$#
clear
if [ $numArg -ne 2 ]; then
echo "You entered too many or too little arguments when expected 2"
echo "you supplied only $numArg"
echo "Usage: compile.sh <input.asm> <program_name>"
exit
else
View .gitignore-node.js-express
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
@franciscbalint
franciscbalint / .gitignore
Last active Jan 15, 2016 — forked from octocat/.gitignore
Java Eclipse OSX common .gitignore configurations
View .gitignore
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
@franciscbalint
franciscbalint / Make-CS50.sublime-build
Created Apr 27, 2015
Sublime Text 3 C build system for CS50
View Make-CS50.sublime-build
{
"cmd": [
"clang",
"-ggdb3",
"-O0",
"-std=c99",
"-Wall",
"-Werror",
"$file",
"-lcs50",
View .bash_profile
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
View gist:d0a74b50f9a32dc086a9
{
"user": {
"debug": true,
"delay": 1,
"error_color": "D02000",
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "background",
"linters": {
"php": {
You can’t perform that action at this time.