Skip to content

Instantly share code, notes, and snippets.

View ertugrulozcan's full-sized avatar

Ahmet Ertuğrul Özcan ertugrulozcan

View GitHub Profile
@ertugrulozcan
ertugrulozcan / 1-50arasiAsalSayilar
Created March 20, 2014 00:21
İşletim Sistemleri Ödev 1
basla load n
sub 50
ifpos bitir
load 3
store i
isPrime load n
mod 2
ifzero false
load n
sub i
@ertugrulozcan
ertugrulozcan / ProjectNameGenerator.py
Last active August 29, 2015 14:07
Rassal Proje İsmi Üreteci
'''
Created on 12 Ekim 2014
@author: Ahmet Ertugrul Ozcan
'''
# -*- coding: utf-8 -*-
import json
@ertugrulozcan
ertugrulozcan / ExtendedString.py
Created October 14, 2014 21:05
Programlama dilleri - Proje 2
'''
Created on 14 Ekim 2014
@author: Ahmet Ertugrul Ozcan
'''
# -*- coding: cp1254 -*-
from builtins import str
@ertugrulozcan
ertugrulozcan / gist:d059df42266dd997df2b
Created October 18, 2014 13:41
C# Dictionary Sample
static void Main(string[] args)
{
var words = new Dictionary<string, Dictionary<string, string[]>>
{
{
"TR",
new Dictionary<string, string[]>
{
{"names", new string[] { "isim1", "isim2", "isim3" }},
{"adjectives", new string[] { "sifat1", "sifat2", "sifat3" }}
@ertugrulozcan
ertugrulozcan / RandomProjectGenerator.js
Created October 24, 2014 19:55
RandomProjectGenerator - Javascript
<html>
<head>
<title>
JavaScript Test
</title>
</head>
<body>
<pre>
<script language="Javascript">
@ertugrulozcan
ertugrulozcan / progdil2
Created November 4, 2014 21:53
ProgDil2 Deneme
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
var randomName = [];
@ertugrulozcan
ertugrulozcan / activity_main.xml
Last active August 29, 2015 14:22
Drone112 Android
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ertugrulozcan
ertugrulozcan / GpsManager.java
Last active August 29, 2015 14:22
Drone 112 Android
import android.app.Service;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
public class GpsManager extends Service implements LocationListener
{
private final Context context;
// Cihazda gps acik mi?

Pure CSS Batman minion

As a huge DC fan, i was very happy when my favorite actor Minion was chosen to preform the role of Batman. This is a first look at his costume

A Pen by aladin ben sassi on CodePen.

License.