Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Emre YILMAZ delirehberi

🏠
Working from home
Block or report user

Report or block delirehberi

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 request.hs
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
module InstagramService.Client where
import Control.Monad (unless)
import GHC.Generics
import Network.Socket hiding (recv)
import Network.Socket.ByteString.Lazy (recv,sendAll)
import Data.Aeson
data EmulatorRequestParameters = UserRequest {
@delirehberi
delirehberi / data
Created Aug 22, 2019
shortest way algorithm
View data
50
10
30
5
90
20
40
2
25
10
View todo.hs
--my first real haskell app
import System.Environment
import System.Directory
import System.IO
import Data.List
dispatch :: [(String, [String] -> IO ())]
dispatch = [
("add",add),
@delirehberi
delirehberi / analytics.php
Created Dec 9, 2018
i3blocks analytics
View analytics.php
#!/usr/bin/php
<?php
$view_id = "";
$token = "";
$key = "";
echo "Realtime: " . request($view_id, $token, $key);
function request($id, $token, $key)
{
@delirehberi
delirehberi / selection-remove.js
Created Oct 18, 2015
Bootstrapped selection remove for multiple selectbox.
View selection-remove.js
$("select[multiple]").each(function () {
$(this).parents('.form-group').append('<a href=# class="remove-selection"><i class="entypo-cancel"></i></a>')
});
$(document).on('click','.remove-selection',function(){
$(this).parents('.form-group').find('select').find('option:selected').each(function(i,o){
o.selected = false;
});
return false;
})
@delirehberi
delirehberi / tests.md
Last active Dec 9, 2018
Tests , source : softwaretestinghelp.com
View tests.md

General Test Scenarios

  • All mandatory fields should be validated and indicated by asterisk (*) symbol
  • Validation error messages should be displayed properly at correct position
  • All error messages should be displayed in same CSS style (e.g. using red color)
  • General confirmation messages should be displayed using CSS style other than error messages style (e.g. using green color)
  • Tool tips text should be meaningful
  • Dropdown fields should have first entry as blank or text like ‘Select’
  • Delete functionality for any record on page should ask for confirmation
  • Select/deselect all records options should be provided if page supports record add/delete/update functionality
View avatar.ascii
````
`-+ydmNNNNNNNNmmhs/-
.+hNMMMMMMMMMMMMMMMMMMMNy+`
.omMMMMMMMMMMMMMMMMMMMMMMMMMMNh/`
:hMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNy.
-dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN/
+NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs
+MMMMMMMMMMMMNmddddmNMMMNddhhdmNMMMMMMMMMMMy
-NMMMMMMMNho:. .-` `:ohNMMMMMMMy
`` `mMMMMMMd+` `+mMMMMMMs `-`
You can’t perform that action at this time.