Skip to content

Instantly share code, notes, and snippets.

🇪🇹
Habesha

Samson Endale SamAsEnd

🇪🇹
Habesha
Block or report user

Report or block SamAsEnd

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
View passwords.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
@SamAsEnd
SamAsEnd / auth.php
Created Oct 18, 2018
Laravel am language
View auth.php
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
View JosephusProblem.py
def JosephusProblemSimulator(n, debug=False):
people = list(range(1, n+1))
person = 1
kill = False
while len(people) > 1:
if people.index(person) + 1 > len(people) - 1:
nxtPerson = people[0]
@SamAsEnd
SamAsEnd / ethiopic.php
Created Sep 2, 2016
Ethiopian Date conversion(based on JDN)
View ethiopic.php
<?php
/**
* Return a true if the year is a leap year based on the ethiopian calendar.
*
* @param int $year the ethiopian date to be checked
*
* @return bool
*/
function ethiopian_is_leap_year($year)
@SamAsEnd
SamAsEnd / clock.html
Last active Apr 17, 2016
SVG Example: Analog Clock
View clock.html
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>SVG Example: Analog Clock</title>
<meta name="author" content="Sam As End <4sam21{guess}gmail.com>"/>
<style>
svg#plate {
height: 500px;
width: 500px;
@SamAsEnd
SamAsEnd / index.html
Created Apr 12, 2016
Canvas Example: Ethiopian flag ... kinda
View index.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Multi Media Class</title>
<style>
canvas {
border: 1px #000 solid;
margin: 50px auto;
display: block;
You can’t perform that action at this time.