Skip to content

Instantly share code, notes, and snippets.

View HalidCisse's full-sized avatar
🎯
Focusing

Halid Cisse HalidCisse

🎯
Focusing
View GitHub Profile
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style
x:Key="ButtonFocusVisual">
<Setter
Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle Margin="2" SnapsToDevicePixels="true" Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" StrokeThickness="1" StrokeDashArray="1 2" />
</ControlTemplate>
<!-- Flat ComboBox -->
<SolidColorBrush x:Key="ComboBoxNormalBorderBrush" Color="#e3e9ef" />
<SolidColorBrush x:Key="ComboBoxNormalBackgroundBrush" Color="#fff" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundBrush" Color="#888" />
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundBrush" Color="#eee" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderBrush" Color="#888" />
<ControlTemplate TargetType="ToggleButton" x:Key="ComboBoxToggleButtonTemplate">
<Grid>
<Grid.ColumnDefinitions>
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using System.Windows.Threading;
using System.Collections.Generic;
namespace Ownskit.Utils
{
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="red_50">#fde0dc</color>
<color name="red_100">#f9bdbb</color>
<color name="red_200">#f69988</color>
<color name="red_300">#f36c60</color>
<color name="red_400">#e84e40</color>
<color name="red_500">#e51c23</color>
<color name="red_600">#dd191d</color>
<color name="red_700">#d01716</color>
@HalidCisse
HalidCisse / cover-letter.md
Last active August 29, 2015 14:27 — forked from electricg/cover-letter.md
To my next Employer: My Cover Letter

Dear Employer,

My name is Giulia (it's pronunciated the same as Julia) and I am a front end developer from Italy currently living in Brighton, UK.

I am writing to You for one simple reason: I love my job and I am looking for a company that loves it too. I moved from Italy to the United Kingdom with one dream: to improve myself, my knowledge and my skills, to find a place where innovation is appreciated, to work for a company that cares about what it does and how it does it. Honestly, so far I feel like I haven't found this magical place. Sure, all the companies I have worked for wanted to be succesful and wanted to create and provide a great product, but none of them really cared about my field: front end. Front end for me is not just "writing HTML and changing colors with CSS" as someone not familiar with the field may think. Front end for me is delivering a better experience to the users, writing good code, caring about performances, thinking forward, caring about possible problems, bugs and changes.

@HalidCisse
HalidCisse / Contact.java
Created April 23, 2016 10:40 — forked from rogerhu/Contact.java
Endless scrolling with RecyclerVIew
package codepath.com.recyclerviewfun;
import java.util.ArrayList;
import java.util.List;
public class Contact {
private String mName;
private boolean mOnline;
public Contact(String name, boolean online) {
@HalidCisse
HalidCisse / KeychainItemWrapper.h
Created May 12, 2016 10:10 — forked from dhoerl/KeychainItemWrapper.h
KeychainItemWrapper ARCified. Added the ability to manage a dictionary in place of just a string - the #define PASSWORD_USES_DATA in the .m file switches the mode.
/*
File: KeychainItemWrapper.h
Abstract:
Objective-C wrapper for accessing a single keychain item.
Version: 1.2 - ARCified
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
@HalidCisse
HalidCisse / UIApplication+NetworkActivity.h
Created August 30, 2016 10:51 — forked from maciekish/UIApplication+NetworkActivity.h
UIApplication+NetworkActivity keeps track of how many network operations you currently have and manages the NetworkActivityIndicator for you.
//
// UIApplication+NetworkActivity.h
//
// Created by Maciej Swic on 2013-04-29.
// Released under the MIT license.
//
#import <UIKit/UIKit.h>
@interface UIApplication (NetworkActivity)
@HalidCisse
HalidCisse / app.js
Created May 5, 2017 20:22 — forked from lrvick/app.js
AngularJS credit card form with validation
// MIT: http://opensource.org/licenses/MIT
angular.module('app', []);
angular.module('app').controller
( 'MainCtrl'
, function($scope,$locale) {
$scope.currentYear = new Date().getFullYear()
$scope.currentMonth = new Date().getMonth() + 1
$scope.months = $locale.DATETIME_FORMATS.MONTH
@HalidCisse
HalidCisse / app.js
Created May 5, 2017 20:22 — forked from lrvick/app.js
AngularJS credit card form with validation
// MIT: http://opensource.org/licenses/MIT
angular.module('app', []);
angular.module('app').controller
( 'MainCtrl'
, function($scope,$locale) {
$scope.currentYear = new Date().getFullYear()
$scope.currentMonth = new Date().getMonth() + 1
$scope.months = $locale.DATETIME_FORMATS.MONTH