Skip to content

Instantly share code, notes, and snippets.

View azmfaridee's full-sized avatar
🎯
Focusing

Abu-Zaher Faridee azmfaridee

🎯
Focusing
View GitHub Profile
#include<stdio.h>
int cycle(int i){
int length = 1;
int n;
for(n = i ; n >= 1;){
if(n == 1){ break; }
if(n % 2 == 0){
@azmfaridee
azmfaridee / git-interactive-merge.sh
Created September 24, 2012 06:26 — forked from vgrichina/git-interactive-merge.sh
Interactive merge utility for Git, as described here http://www.angrylibertarian.com/node/53
#!/bin/bash
# git-interactive-merge
# Taken from: http://www.angrylibertarian.com/node/53
from=$1
to=$2
if [[ ( -z $from ) || ( -z $to ) ]]; then
echo "Usage:"
echo " git-interactive-merge <from-branch> <to-branch>"
exit 1
[
{
"hex": "#EFDECD",
"name": "Almond",
"rgb": "(239, 222, 205)"
},
{
"hex": "#CD9575",
"name": "Antique Brass",
"rgb": "(205, 149, 117)"
@azmfaridee
azmfaridee / Repeat.java
Last active August 29, 2015 14:12 — forked from fappel/Repeat.java
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention( RetentionPolicy.RUNTIME )
@Target( {
java.lang.annotation.ElementType.METHOD
} )
public @interface Repeat {
public abstract int times();