Skip to content

Instantly share code, notes, and snippets.

View miralem-cebic's full-sized avatar
🚀

Miralem Cebic miralem-cebic

🚀
  • DE-CIX
  • Frankfurt am Main, Germany
View GitHub Profile
@miralem-cebic
miralem-cebic / 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
@miralem-cebic
miralem-cebic / 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
@miralem-cebic
miralem-cebic / 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;
}