Skip to content

Instantly share code, notes, and snippets.

View RabbitMC's full-sized avatar

Miralem Cebic RabbitMC

  • DE-CIX
  • Frankfurt am Main, Germany
  • 07:42 (UTC +02:00)
View GitHub Profile
@RabbitMC
RabbitMC / Makefile
Created June 15, 2017 09:24 — forked from hahuang65/Makefile
Beginning OpenGL Development on OS X: Post 1 - 5/7/2014
# OBJS specifies which files to compile as part of the project
OBJS = main.cpp
# CC specifies which compiler we're using
CC = g++
# INCLUDE_PATHS specifies the additional include paths we'll need
INCLUDE_PATHS = -I/usr/local/include -I/opt/X11/include
# LIBRARY_PATHS specifies the additional library paths we'll need
@RabbitMC
RabbitMC / Sentry-Install-Ubuntu-16-04
Last active February 24, 2023 06:01
Setup sentry on Ubuntu 16.04 server
# Project: https://github.com/getsentry/sentry
# Doc: https://docs.getsentry.com/on-premise/server/installation/python/
udo apt-get update
sudo apt-get install python-virtualenv
sudo apt-get install python-setuptools
sudo apt-get install python-pip
sudo apt-get install libxslt1-dev
sudo apt-get install gcc
@RabbitMC
RabbitMC / AppDelegate.m
Created April 3, 2016 12:49
iOS Local Notification Objective-C
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]) {
UIUserNotificationSettings *userNotificationSettings = [UIUserNotificationSettings settingsForTypes:(UIUserNotificationTypeAlert | UIUserNotificationTypeBadge)
categories:nil];
[application registerUserNotificationSettings:userNotificationSettings];
}
return YES;
}