Skip to content

Instantly share code, notes, and snippets.

View Omnyyah's full-sized avatar
🎯
Focusing

Omniyyah Omnyyah

🎯
Focusing
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

المواقع الحكومية:

Other Libraries & Tools CSS Framework JavaScript Framework Server-Side Scripting CMS Host Server الموقع
JQuery N/A N/A J2EE Websphere Portal Server Dedicated Hosting WebSphere Application Server وزارة الداخلية
Modernizr & JQuery Bootstrap N/A ASP.NET Microsoft SharePoint Dedicated Hosting IIS وزارة التعليم
JQueryUI, JQuery & JQuery Mobile N/A N/A ASP.NET Microsoft SharePoint Akamai IIS وزارة التجارة والاستثمار
@shashankmehta
shashankmehta / setup.md
Last active January 7, 2024 11:57
Setup PHP and Composer on OSX via Brew

First install Brew on your MAC

  • Setup Brew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew update
  • brew tap homebrew/dupes
  • brew tap homebrew/php
  • Install PHP 7.0.+ brew install php70
  • Install mcrypt: brew install mcrypt php70-mcrypt
  • Finally, install composer: brew install composer
@omaarr90
omaarr90 / ElvesAndTheirCodes.swift
Created February 8, 2017 18:59
Elves and Their Codes
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
let alphabitDict = [0: "A", 1: "B", 2: "C", 3: "D", 4: "E", 5: "F", 6: "G", 7: "H", 8: "I", 9: "J", 10: "K", 11: "L", 12: "M", 13: "N", 14: "O", 15: "P", 16: "Q", 17: "R", 18: "S", 19: "T",20: "U", 21: "V", 22: "W", 23: "X", 24: "Y", 25: "Z", 26: " "]
var initalRowOrder = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
@alhazmy13
alhazmy13 / LocalUtility.java
Last active March 1, 2017 05:18
This class is used to change your application locale and save this change for the next time.
/**
* Created by Alhazmy13 on 11/6/16.
*/
public class LocalUtility {
private static final String SAVED_LANG = "LOCALE_SAVED_LANG";
public static void onCreate(Context context) {
String lang = getSavedData(context, Locale.getDefault().getLanguage());
setLocale(context, lang);
@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active January 31, 2024 14:45
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

To install Clearbit Connect for Google Inbox, follow the instructions below:

  1. Install the Chrome extension
  2. Navigate to https://inbox.google.com
  3. Paste the following into the URL bar. Note that Chrome may remove the javascript: prefix when pasting - make sure to add it back in.

javascript:(localStorage.CB_INBOXBETA = true) && location.reload()

It should look like this:

@alhazmy13
alhazmy13 / Checkstyle.md
Last active June 6, 2016 12:30
Improve quality and syntax of your Android code

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task.

Add below code to your project and then launch the task checkstyle from the gradle panel alt text

@cangoal
cangoal / GeneralizedAbbreviation.java
Last active August 28, 2018 00:35
LeetCode - Generalized Abbreviation
// Write a function to generate the generalized abbreviations of a word.
// Example:
// Given word = "word", return the following list (order does not matter):
// ["word", "1ord", "w1rd", "wo1d", "wor1", "2rd", "w2d", "wo2", "1o1d", "1or1", "w1r1", "1o2", "2r1", "3d", "w3", "4"]
// Show Company Tags
// Show Tags
// Show Similar Problems
// my solution