Skip to content

Instantly share code, notes, and snippets.

View AnwarKamel's full-sized avatar
🎯
Focusing

Anwar Kamel Ouail AnwarKamel

🎯
Focusing
View GitHub Profile
@AnwarKamel
AnwarKamel / activity_facebook.xml
Created October 19, 2021 15:58
Facebook Activity Login design XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/fb_color"
tools:context=".FacebookActivity">
<LinearLayout
@AnwarKamel
AnwarKamel / FacebookActivity.kt
Created October 19, 2021 15:57
Facebook Login kotlin code
package com.ouailanwarkamel.myapplication
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import kotlinx.android.synthetic.main.activity_facebook.*
class FacebookActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
@AnwarKamel
AnwarKamel / font-awesome-and-laravel.md
Created April 3, 2020 15:14 — forked from levlaz/font-awesome-and-laravel.md
How To Use Font Awesome With Laravel

For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.

Install Font Awesome with NPM

npm install font-awesome

Import font-awesome in your app.scss file